Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.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.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001398/0.001398, allocations: 184 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.691/1.691, allocations: 194.5 MB / 211.6 MB, free: 7.523 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.001872/0.001872, allocations: 120.6 kB / 256.9 MB, free: 10.13 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.2278/0.2278, allocations: 38.01 MB / 340.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.000483, allocations: 15.38 kB / 403.8 MB, free: 55.15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06881/0.06931, allocations: 53.23 MB / 457 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.003734/0.07309, allocations: 3.458 MB / 460.5 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.07572, allocations: 1.916 MB / 462.4 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.07592, allocations: 15.88 kB / 462.4 MB, free: 4.934 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.07623, allocations: 67.53 kB / 462.5 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004839/0.07673, allocations: 215.3 kB / 462.7 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.07718, allocations: 187.4 kB / 462.9 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.07751, allocations: 291.4 kB / 463.2 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005839/0.07811, allocations: 350.9 kB / 463.5 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.07845, allocations: 170.6 kB / 463.7 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.07865, allocations: 155.3 kB / 463.8 MB, free: 3.512 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.07871, allocations: 20 kB / 463.8 MB, free: 3.492 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.0791, allocations: 211.6 kB / 464 MB, free: 3.285 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.796e-05/0.0792, allocations: 91.72 kB / 464.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.404e-05/0.07928, allocations: 85.52 kB / 464.2 MB, free: 3.105 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.07981, allocations: 482.9 kB / 464.7 MB, free: 2.633 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.712e-06/0.07982, allocations: 0 / 464.7 MB, free: 2.633 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.83e-06/0.07984, allocations: 0 / 464.7 MB, free: 2.633 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.122e-06/0.07985, allocations: 8 kB / 464.7 MB, free: 2.625 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001011/0.08087, allocations: 0.7388 MB / 465.4 MB, free: 1.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.08091, allocations: 12.03 kB / 465.4 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.08199, allocations: 123.4 kB / 465.6 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005616/0.08257, allocations: 390.6 kB / 465.9 MB, free: 1.266 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.08261, allocations: 24.42 kB / 466 MB, free: 1.238 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.154e-05/0.08268, allocations: 20 kB / 466 MB, free: 1.219 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009149/0.08361, allocations: 462.8 kB / 466.4 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.08365, allocations: 0 / 466.4 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/0.08372, allocations: 11.94 kB / 466.5 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/0.08376, allocations: 24.42 kB / 466.5 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.08501, allocations: 0.5324 MB / 467 MB, free: 180 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002776/0.0878, allocations: 1.721 MB / 468.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.08912, allocations: 405.1 kB / 469.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.08918, allocations: 4 kB / 469.1 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006993/0.08989, allocations: 298.9 kB / 469.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.922e-06/0.08991, allocations: 4 kB / 469.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.00177/0.09169, allocations: 0.5741 MB / 470 MB, free: 13.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001826/0.09189, allocations: 290.7 kB / 470.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.09239, allocations: 324.4 kB / 470.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.822e-05/0.09247, allocations: 41.7 kB / 470.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.09266, allocations: 188.4 kB / 470.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.0928, allocations: 98.64 kB / 470.9 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.09284, allocations: 12 kB / 470.9 MB, free: 12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.09306, allocations: 350.8 kB / 471.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005523/0.09362, allocations: 172.3 kB / 471.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006613/0.0943, allocations: 303.7 kB / 471.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006332/0.09495, allocations: 263.3 kB / 472 MB, free: 10.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.265e-06/0.09497, allocations: 0 / 472 MB, free: 10.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001608/0.09659, allocations: 0.6296 MB / 472.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.028e-05/0.09668, allocations: 71.33 kB / 472.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.0967, allocations: 4 kB / 472.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.09674, allocations: 8 kB / 472.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.09717, allocations: 99.81 kB / 472.8 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.09721, allocations: 12.25 kB / 472.8 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.09759, allocations: 55.66 kB / 472.9 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/0.09766, allocations: 23.98 kB / 472.9 MB, free: 9.922 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002822/0.09796, allocations: 197.4 kB / 473.1 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.519e-05/0.09807, allocations: 47.52 kB / 473.1 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.0982, allocations: 47.11 kB / 473.2 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.667e-06/0.09822, allocations: 8 kB / 473.2 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.539e-06/0.09824, allocations: 4 kB / 473.2 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.09825, allocations: 0 / 473.2 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.09952, allocations: 1.05 MB / 474.2 MB, free: 8.484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.65e-06/0.09954, allocations: 4 kB / 474.2 MB, free: 8.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.09988, allocations: 63.89 kB / 474.3 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/0.09991, allocations: 4 kB / 474.3 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/0.09995, allocations: 12 kB / 474.3 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.623e-06/0.09997, allocations: 0 / 474.3 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.9e-06/0.09999, allocations: 11.94 kB / 474.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.1013, allocations: 0.5832 MB / 474.9 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.1016, allocations: 160.5 kB / 475.1 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.022e-05/0.1017, allocations: 16 kB / 475.1 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.102, allocations: 31.97 kB / 475.1 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.1021, allocations: 39.89 kB / 475.2 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/0.1022, allocations: 15.98 kB / 475.2 MB, free: 7.438 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000328/0.1025, allocations: 231 kB / 475.4 MB, free: 7.215 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.1025, allocations: 0 / 475.4 MB, free: 7.215 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005419/0.1031, allocations: 91.94 kB / 475.5 MB, free: 7.125 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001602/0.1047, allocations: 490.9 kB / 476 MB, free: 6.695 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.106, allocations: 0.5348 MB / 476.5 MB, free: 6.137 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.493e-06/0.106, allocations: 0 / 476.5 MB, free: 6.137 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006663/0.1067, allocations: 216.7 kB / 476.7 MB, free: 5.926 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1071, allocations: 57.33 kB / 476.8 MB, free: 5.867 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.1087, allocations: 0.7895 MB / 477.6 MB, free: 5.027 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005576/0.1093, allocations: 0.8193 MB / 478.4 MB, free: 4.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003694/0.1097, allocations: 86.84 kB / 478.5 MB, free: 4.098 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.1098, allocations: 43.42 kB / 478.5 MB, free: 4.055 MB / 314.7 MB Notification: Performance of SimCode: time 3.476e-06/0.1099, allocations: 0 / 478.5 MB, free: 4.055 MB / 314.7 MB Notification: Performance of Templates: time 0.01199/0.1218, allocations: 4.46 MB / 483 MB, free: 15.59 MB / 330.7 MB