Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002407/0.002412, allocations: 356.2 kB / 16.57 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.187/3.187, allocations: 388.9 MB / 406.2 MB, free: 7.016 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003339/0.003338, allocations: 224.2 kB / 451.6 MB, free: 0.6016 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6296/0.6296, allocations: 76.03 MB / 0.5594 GB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004883, allocations: 15.98 kB / 0.6216 GB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.266, allocations: 53.22 MB / 0.6736 GB, free: 62.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.007829/0.2739, allocations: 8.036 MB / 0.6815 GB, free: 54.57 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007328/0.2813, allocations: 5.36 MB / 0.6867 GB, free: 49.22 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006289/0.2819, allocations: 51.69 kB / 0.6867 GB, free: 49.17 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007906/0.2899, allocations: 4.512 MB / 0.6911 GB, free: 44.65 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.2914, allocations: 0.6374 MB / 0.6918 GB, free: 44.01 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009898/0.2924, allocations: 347.3 kB / 0.6921 GB, free: 43.67 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002357/0.2948, allocations: 2.463 MB / 0.6945 GB, free: 41.2 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001598/0.2964, allocations: 1.152 MB / 0.6956 GB, free: 40 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000575/0.297, allocations: 0.494 MB / 0.6961 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007978/0.2978, allocations: 0.6813 MB / 0.6968 GB, free: 38.82 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.2979, allocations: 52 kB / 0.6968 GB, free: 38.77 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005628/0.2985, allocations: 295.4 kB / 0.6971 GB, free: 38.48 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003654/0.2989, allocations: 426.9 kB / 0.6975 GB, free: 38.06 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.2991, allocations: 233.1 kB / 0.6977 GB, free: 37.83 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.3003, allocations: 1.34 MB / 0.699 GB, free: 36.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.854e-06/0.3003, allocations: 0 / 0.699 GB, free: 36.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.858e-06/0.3003, allocations: 0 / 0.699 GB, free: 36.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.3003, allocations: 0 / 0.699 GB, free: 36.48 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002315/0.3027, allocations: 1.255 MB / 0.7003 GB, free: 35.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.3027, allocations: 12.03 kB / 0.7003 GB, free: 35.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007806/0.3035, allocations: 154.6 kB / 0.7004 GB, free: 35.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.3053, allocations: 0.9134 MB / 0.7013 GB, free: 34.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.3054, allocations: 58 kB / 0.7014 GB, free: 34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.3056, allocations: 95.88 kB / 0.7015 GB, free: 33.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.3074, allocations: 1.063 MB / 0.7025 GB, free: 32.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/0.3074, allocations: 4 kB / 0.7025 GB, free: 32.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.496e-05/0.3075, allocations: 31.95 kB / 0.7025 GB, free: 32.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002436/0.3078, allocations: 77.94 kB / 0.7026 GB, free: 32.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/0.3094, allocations: 0.8236 MB / 0.7034 GB, free: 31.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005779/0.3152, allocations: 4.016 MB / 0.7073 GB, free: 27.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.3163, allocations: 0.6136 MB / 0.7079 GB, free: 27.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005253/0.3168, allocations: 309.2 kB / 0.7082 GB, free: 26.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.948e-05/0.3169, allocations: 16.55 kB / 0.7083 GB, free: 26.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.317, allocations: 47.06 kB / 0.7083 GB, free: 26.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 3.321e-06/0.317, allocations: 0 / 0.7083 GB, free: 26.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.005961/0.3229, allocations: 3.097 MB / 0.7113 GB, free: 23.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.323, allocations: 111.4 kB / 0.7114 GB, free: 23.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008967/0.3239, allocations: 0.6878 MB / 0.7121 GB, free: 22.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/0.324, allocations: 37.7 kB / 0.7121 GB, free: 22.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.3243, allocations: 467.2 kB / 0.7126 GB, free: 22.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.3245, allocations: 248.5 kB / 0.7128 GB, free: 21.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.3245, allocations: 12 kB / 0.7128 GB, free: 21.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3247, allocations: 402.7 kB / 0.7132 GB, free: 21.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006232/0.3253, allocations: 313.8 kB / 0.7135 GB, free: 21.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007269/0.3261, allocations: 0.5111 MB / 0.714 GB, free: 20.51 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003418/0.3295, allocations: 0.9901 MB / 0.715 GB, free: 19.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.151e-06/0.3295, allocations: 4 kB / 0.715 GB, free: 19.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002606/0.3321, allocations: 1.3 MB / 0.7163 GB, free: 18.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.3322, allocations: 41.39 kB / 0.7163 GB, free: 18.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.3322, allocations: 8 kB / 0.7163 GB, free: 18.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.3335, allocations: 403.8 kB / 0.7167 GB, free: 17.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/0.3342, allocations: 159.7 kB / 0.7168 GB, free: 17.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008016/0.3423, allocations: 5.711 MB / 0.7224 GB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/0.3429, allocations: 39.92 kB / 0.7225 GB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.648e-05/0.3429, allocations: 32 kB / 0.7225 GB, free: 11.51 MB / 346.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.windGen.WT.gear.w = $DER.windGen.WT.genRotor.w. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005548/0.3435, allocations: 357.5 kB / 0.7228 GB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.3437, allocations: 83.05 kB / 0.7229 GB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.3455, allocations: 0.8955 MB / 0.7238 GB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.568e-06/0.3455, allocations: 8 kB / 0.7238 GB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.958e-06/0.3455, allocations: 0 / 0.7238 GB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.853e-06/0.3455, allocations: 4 kB / 0.7238 GB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00357/0.3491, allocations: 2.029 MB / 0.7258 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.715e-06/0.3491, allocations: 7.938 kB / 0.7258 GB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008062/0.35, allocations: 124 kB / 0.7259 GB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006619/0.3506, allocations: 190.2 kB / 0.7261 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.748e-05/0.3507, allocations: 23.98 kB / 0.7261 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004096/0.3548, allocations: 5 MB / 0.731 GB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.332e-06/0.3549, allocations: 0 / 0.731 GB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.357, allocations: 1.278 MB / 0.7322 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.3573, allocations: 204 kB / 0.7324 GB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.3575, allocations: 31.94 kB / 0.7325 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.3579, allocations: 12 kB / 0.7325 GB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-05/0.3581, allocations: 56.52 kB / 0.7325 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/0.3581, allocations: 19.98 kB / 0.7325 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006192/0.3588, allocations: 495 kB / 0.733 GB, free: 116 kB / 346.7 MB Notification: Performance of sort global known variables: time 7.17e-07/0.3588, allocations: 0 / 0.733 GB, free: 116 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001247/0.36, allocations: 252 kB / 0.7333 GB, free: 15.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (windGen.generator.i[3],windGen.generator.phi_el,windGen.generator.w_el,windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001129/0.3612, allocations: 341.1 kB / 0.7336 GB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002576/0.3638, allocations: 1.184 MB / 0.7347 GB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.8e-06/0.3638, allocations: 0 / 0.7347 GB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.3651, allocations: 0.7231 MB / 0.7354 GB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.3662, allocations: 172.3 kB / 0.7356 GB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005194/0.3714, allocations: 3.001 MB / 0.7385 GB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.3726, allocations: 1.169 MB / 0.7397 GB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007501/0.3734, allocations: 163.6 kB / 0.7398 GB, free: 9.086 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.3736, allocations: 55.44 kB / 0.7399 GB, free: 9.031 MB / 362.7 MB Notification: Performance of SimCode: time 1.641e-06/0.3736, allocations: 0 / 0.7399 GB, free: 9.031 MB / 362.7 MB Notification: Performance of Templates: time 0.02877/0.4024, allocations: 11.46 MB / 0.7511 GB, free: 13.62 MB / 378.7 MB