Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.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.PowerWorld.Test.WindFarmLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001295/0.001295, allocations: 185.6 kB / 16.38 MB, free: 5.594 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.706/1.706, allocations: 194.5 MB / 211.6 MB, free: 7.602 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.001838/0.001837, allocations: 120.5 kB / 256.9 MB, free: 10.22 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.2341/0.2341, allocations: 38.01 MB / 340.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.0004324, allocations: 11.19 kB / 403.8 MB, free: 55.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06797/0.06842, allocations: 53.24 MB / 457 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest): time 0.003837/0.07231, allocations: 3.736 MB / 460.8 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.07497, allocations: 2.071 MB / 462.8 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.07516, allocations: 11.94 kB / 462.8 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.07545, allocations: 71.59 kB / 462.9 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005727/0.07604, allocations: 251.2 kB / 463.2 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.07648, allocations: 175.5 kB / 463.3 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.07689, allocations: 339.3 kB / 463.7 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007428/0.07764, allocations: 443.3 kB / 464.1 MB, free: 3.246 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003546/0.07802, allocations: 207.2 kB / 464.3 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.07825, allocations: 179.3 kB / 464.5 MB, free: 2.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.07832, allocations: 20 kB / 464.5 MB, free: 2.848 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004397/0.07877, allocations: 267.5 kB / 464.7 MB, free: 2.586 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.07891, allocations: 139.7 kB / 464.9 MB, free: 2.449 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.617e-05/0.07901, allocations: 97.45 kB / 465 MB, free: 2.348 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000591/0.07961, allocations: 0.569 MB / 465.5 MB, free: 1.777 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.369e-06/0.07963, allocations: 0 / 465.5 MB, free: 1.777 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.07964, allocations: 0 / 465.5 MB, free: 1.777 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.687e-06/0.07966, allocations: 0 / 465.5 MB, free: 1.777 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001163/0.08083, allocations: 0.806 MB / 466.4 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.08087, allocations: 8.031 kB / 466.4 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.08218, allocations: 151.3 kB / 466.5 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/0.08278, allocations: 418.6 kB / 466.9 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.08283, allocations: 32.66 kB / 467 MB, free: 268 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.511e-05/0.08291, allocations: 28 kB / 467 MB, free: 240 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.08415, allocations: 0.5556 MB / 467.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.08419, allocations: 3.938 kB / 467.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.08426, allocations: 15.98 kB / 467.6 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/0.08432, allocations: 20.64 kB / 467.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.08597, allocations: 0.6427 MB / 468.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003547/0.08954, allocations: 1.96 MB / 470.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.09146, allocations: 1.022 MB / 471.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/0.09153, allocations: 16.25 kB / 471.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007294/0.09228, allocations: 297 kB / 471.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 2.874e-06/0.0923, allocations: 4 kB / 471.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=37): time 0.003001/0.09531, allocations: 1.053 MB / 472.6 MB, free: 10.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/0.09541, allocations: 114.7 kB / 472.7 MB, free: 10.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.09592, allocations: 349.6 kB / 473 MB, free: 9.867 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.763e-05/0.09599, allocations: 45.58 kB / 473.1 MB, free: 9.816 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.09621, allocations: 228.2 kB / 473.3 MB, free: 9.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.09638, allocations: 126.3 kB / 473.4 MB, free: 9.465 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.09643, allocations: 12 kB / 473.4 MB, free: 9.453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.09665, allocations: 350.8 kB / 473.8 MB, free: 9.102 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000631/0.09729, allocations: 205 kB / 474 MB, free: 8.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007045/0.09801, allocations: 333.8 kB / 474.3 MB, free: 8.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006908/0.09872, allocations: 311 kB / 474.6 MB, free: 8.203 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.09874, allocations: 4 kB / 474.6 MB, free: 8.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001747/0.1005, allocations: 0.7153 MB / 475.3 MB, free: 7.461 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.84e-05/0.1006, allocations: 71.39 kB / 475.4 MB, free: 7.379 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.1006, allocations: 4 kB / 475.4 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/0.1008, allocations: 28.78 kB / 475.4 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.1013, allocations: 108.3 kB / 475.5 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.1028, allocations: 1.358 MB / 476.9 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.1032, allocations: 39.97 kB / 476.9 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.1033, allocations: 20 kB / 476.9 MB, free: 5.688 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.windFarm.wind.nextTimeEvent,$whenCondition1,windFarm.wind.nextTimeEvent,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.disturbance.T_start,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.count,windFarm.disturbance.count,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003086/0.1036, allocations: 217.5 kB / 477.1 MB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.1037, allocations: 39.53 kB / 477.2 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.1052, allocations: 0.5257 MB / 477.7 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.186e-06/0.1052, allocations: 7.953 kB / 477.7 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.647e-06/0.1053, allocations: 0 / 477.7 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.521e-06/0.1053, allocations: 0 / 477.7 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.1078, allocations: 1.127 MB / 478.8 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.12e-06/0.1078, allocations: 0 / 478.8 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.1082, allocations: 79.95 kB / 478.9 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.56e-05/0.1083, allocations: 16.86 kB / 478.9 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.1084, allocations: 15.98 kB / 479 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.1097, allocations: 1.331 MB / 480.3 MB, free: 2.109 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.23e-06/0.1097, allocations: 0 / 480.3 MB, free: 2.109 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.1112, allocations: 0.6514 MB / 480.9 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.1115, allocations: 160.5 kB / 481.1 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.472e-05/0.1116, allocations: 19.98 kB / 481.1 MB, free: 1.215 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.112, allocations: 27.97 kB / 481.1 MB, free: 1.188 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.1121, allocations: 43.95 kB / 481.2 MB, free: 1.145 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.1122, allocations: 11.98 kB / 481.2 MB, free: 1.133 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003432/0.1125, allocations: 247.1 kB / 481.4 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.79e-07/0.1125, allocations: 3.938 kB / 481.4 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006578/0.1132, allocations: 119.9 kB / 481.6 MB, free: 0.7773 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,$whenCondition2,$whenCondition1,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled,windFarm.disturbance.T_start,windFarm.disturbance.count) * Number of discrete states: 3 (windFarm.wind.nextTimeEvent,windFarm.disturbance.count,windFarm.wind.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001553/0.1148, allocations: 479.6 kB / 482 MB, free: 368 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.1164, allocations: 0.7087 MB / 482.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.392e-06/0.1164, allocations: 8.125 kB / 482.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008293/0.1172, allocations: 346.3 kB / 483.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.1177, allocations: 65.53 kB / 483.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.1195, allocations: 0.9328 MB / 484.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000602/0.1201, allocations: 0.8556 MB / 484.9 MB, free: 13.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003654/0.1205, allocations: 103 kB / 485 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.1207, allocations: 47.42 kB / 485.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of SimCode: time 1.319e-06/0.1207, allocations: 0 / 485.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of Templates: time 0.01368/0.1344, allocations: 5.36 MB / 490.4 MB, free: 7.824 MB / 330.7 MB