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.001308/0.001311, allocations: 185.5 kB / 16.38 MB, free: 5.598 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 1.734/1.734, allocations: 194.5 MB / 211.6 MB, free: 7.52 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001845/0.001845, allocations: 116.6 kB / 256.9 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2303/0.2303, allocations: 38.02 MB / 340.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.0004279, allocations: 15.62 kB / 403.8 MB, free: 55.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06741/0.06785, allocations: 53.23 MB / 457 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.00767/0.07557, allocations: 7.641 MB / 464.7 MB, free: 2.684 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008058/0.08365, allocations: 5.336 MB / 470 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005393/0.08421, allocations: 51.69 kB / 470.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004787/0.08901, allocations: 1.816 MB / 471.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.09029, allocations: 0.5335 MB / 472.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.09134, allocations: 339.4 kB / 472.7 MB, free: 10.6 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.09239, allocations: 0.78 MB / 473.5 MB, free: 9.816 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/0.09436, allocations: 1.154 MB / 474.7 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007419/0.09512, allocations: 442.4 kB / 475.1 MB, free: 8.188 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007654/0.09591, allocations: 486.3 kB / 475.6 MB, free: 7.711 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.09605, allocations: 52 kB / 475.6 MB, free: 7.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005876/0.09665, allocations: 263.6 kB / 475.9 MB, free: 7.402 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004967/0.09717, allocations: 403 kB / 476.3 MB, free: 7.008 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.09748, allocations: 229.1 kB / 476.5 MB, free: 6.777 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.09916, allocations: 1.344 MB / 477.8 MB, free: 5.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.416e-06/0.09918, allocations: 0 / 477.8 MB, free: 5.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.639e-06/0.09919, allocations: 0 / 477.8 MB, free: 5.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.09921, allocations: 0 / 477.8 MB, free: 5.43 MB / 314.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.002609/0.1018, allocations: 1.251 MB / 479.1 MB, free: 4.121 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.1019, allocations: 8.031 kB / 479.1 MB, free: 4.113 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008413/0.1027, allocations: 150.6 kB / 479.3 MB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.1048, allocations: 0.9173 MB / 480.2 MB, free: 3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.008e-05/0.1049, allocations: 58 kB / 480.2 MB, free: 2.945 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002316/0.1051, allocations: 99.88 kB / 480.3 MB, free: 2.848 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.1073, allocations: 1.043 MB / 481.4 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.312e-05/0.1073, allocations: 11.92 kB / 481.4 MB, free: 1.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.1074, allocations: 35.94 kB / 481.4 MB, free: 1.715 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002436/0.1077, allocations: 69.95 kB / 481.5 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.1095, allocations: 0.8236 MB / 482.3 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007288/0.1168, allocations: 4.028 MB / 486.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.1182, allocations: 0.6097 MB / 486.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-05/0.1182, allocations: 12.61 kB / 487 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.1183, allocations: 39.12 kB / 487 MB, free: 11.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=57): time 3.267e-06/0.1183, allocations: 4 kB / 487 MB, free: 11.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=66): time 0.007082/0.1254, allocations: 3.097 MB / 490.1 MB, free: 8.672 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.1255, allocations: 111.4 kB / 490.2 MB, free: 8.539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.1266, allocations: 0.6878 MB / 490.9 MB, free: 7.844 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.816e-05/0.1267, allocations: 37.7 kB / 490.9 MB, free: 7.801 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004554/0.1271, allocations: 475.2 kB / 491.4 MB, free: 7.328 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.1274, allocations: 232.6 kB / 491.6 MB, free: 7.098 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.1275, allocations: 16 kB / 491.6 MB, free: 7.082 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002514/0.1277, allocations: 402.7 kB / 492 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006614/0.1284, allocations: 305.8 kB / 492.3 MB, free: 6.379 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008521/0.1293, allocations: 0.5228 MB / 492.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003583/0.1329, allocations: 0.9903 MB / 493.8 MB, free: 4.742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.257e-06/0.1329, allocations: 4 kB / 493.8 MB, free: 4.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003006/0.1359, allocations: 1.3 MB / 495.1 MB, free: 3.418 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.136, allocations: 37.77 kB / 495.2 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.136, allocations: 8 kB / 495.2 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.1374, allocations: 397.4 kB / 495.6 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006445/0.138, allocations: 159.7 kB / 495.7 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00985/0.1479, allocations: 5.879 MB / 0.4899 GB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005067/0.1484, allocations: 27.98 kB / 0.4899 GB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.552e-05/0.1485, allocations: 36 kB / 0.4899 GB, free: 12.59 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.0006356/0.1492, allocations: 357.3 kB / 0.4903 GB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.1494, allocations: 83.06 kB / 0.4903 GB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/0.1515, allocations: 0.8955 MB / 0.4912 GB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.1515, allocations: 11.98 kB / 0.4912 GB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.341e-06/0.1515, allocations: 4 kB / 0.4912 GB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.1516, allocations: 3.984 kB / 0.4912 GB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004275/0.1558, allocations: 2.026 MB / 0.4932 GB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.386e-06/0.1559, allocations: 0 / 0.4932 GB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007531/0.1566, allocations: 128 kB / 0.4933 GB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007026/0.1573, allocations: 190.2 kB / 0.4935 GB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-05/0.1574, allocations: 27.94 kB / 0.4935 GB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00591/0.1634, allocations: 5.036 MB / 0.4985 GB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.365e-06/0.1634, allocations: 4 kB / 0.4985 GB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.166, allocations: 1.342 MB / 0.4998 GB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/0.1664, allocations: 212 kB / 0.5 GB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.1665, allocations: 27.98 kB / 0.5 GB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.167, allocations: 19.94 kB / 0.5 GB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.1671, allocations: 44.48 kB / 0.5001 GB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.85e-05/0.1672, allocations: 20 kB / 0.5001 GB, free: 1.527 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007888/0.168, allocations: 487 kB / 0.5005 GB, free: 1.055 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.93e-07/0.168, allocations: 0 / 0.5005 GB, free: 1.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001235/0.1692, allocations: 252 kB / 0.5008 GB, free: 0.8086 MB / 346.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.001165/0.1704, allocations: 350.4 kB / 0.5011 GB, free: 0.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002524/0.173, allocations: 1.196 MB / 0.5023 GB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.81e-06/0.173, allocations: 0 / 0.5023 GB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.1742, allocations: 0.7099 MB / 0.503 GB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008531/0.1751, allocations: 159.3 kB / 0.5031 GB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005139/0.1803, allocations: 3.005 MB / 0.5061 GB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.1814, allocations: 1.169 MB / 0.5072 GB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007604/0.1822, allocations: 162.6 kB / 0.5074 GB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.1824, allocations: 59.42 kB / 0.5074 GB, free: 9.887 MB / 362.7 MB Notification: Performance of SimCode: time 1.29e-06/0.1824, allocations: 0 / 0.5074 GB, free: 9.887 MB / 362.7 MB Notification: Performance of Templates: time 0.02772/0.2102, allocations: 11.42 MB / 0.5186 GB, free: 14.46 MB / 378.7 MB