Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00242/0.00242, allocations: 111.4 kB / 17.29 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00281/0.002809, allocations: 197.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.886/2.886, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4439/0.4439, allocations: 38.03 MB / 330.1 MB, free: 8.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003037/0.003037, allocations: 65.59 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2329, allocations: 58.06 MB / 457 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.009162/0.2421, allocations: 4.122 MB / 461.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004775/0.247, allocations: 2.163 MB / 463.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.2474, allocations: 19.88 kB / 463.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.2486, allocations: 215.2 kB / 463.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.2496, allocations: 263 kB / 463.8 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.2507, allocations: 258.5 kB / 464 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008595/0.2516, allocations: 0.5338 MB / 464.6 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005772/0.2522, allocations: 231.5 kB / 464.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006114/0.2528, allocations: 227.2 kB / 465 MB, free: 368 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.2532, allocations: 227.1 kB / 465.2 MB, free: 140 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.963e-05/0.2533, allocations: 36 kB / 465.3 MB, free: 104 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.2544, allocations: 395.2 kB / 465.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.2546, allocations: 123.6 kB / 465.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002964/0.255, allocations: 191 kB / 466 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009269/0.2559, allocations: 0.4912 MB / 466.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.2559, allocations: 0 / 466.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.2559, allocations: 4 kB / 466.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.256, allocations: 0 / 466.4 MB, free: 14.91 MB / 350.1 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.001892/0.2579, allocations: 0.7393 MB / 467.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/0.2579, allocations: 15.89 kB / 467.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/0.2595, allocations: 104.4 kB / 467.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009006/0.2604, allocations: 403.6 kB / 467.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/0.2605, allocations: 28.8 kB / 467.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.141e-05/0.2605, allocations: 24.06 kB / 467.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.2618, allocations: 454.7 kB / 468.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.2619, allocations: 4 kB / 468.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/0.2619, allocations: 4 kB / 468.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-05/0.262, allocations: 20.42 kB / 468.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.2635, allocations: 0.4973 MB / 468.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003448/0.267, allocations: 1.674 MB / 470.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.2683, allocations: 374.7 kB / 470.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000493/0.2688, allocations: 137.6 kB / 470.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.293e-05/0.2689, allocations: 19.97 kB / 470.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008511/0.2698, allocations: 290.9 kB / 471.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 3.787e-06/0.2698, allocations: 0 / 471.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001904/0.2717, allocations: 0.5199 MB / 471.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002547/0.272, allocations: 294.7 kB / 472 MB, free: 8.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005827/0.2726, allocations: 336.4 kB / 472.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.695e-05/0.2726, allocations: 33.7 kB / 472.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.2729, allocations: 200.4 kB / 472.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.273, allocations: 98.64 kB / 472.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.2732, allocations: 77.62 kB / 472.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.2735, allocations: 342.8 kB / 473.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000544/0.274, allocations: 143.9 kB / 473.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/0.2747, allocations: 277 kB / 473.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.276, allocations: 466.3 kB / 473.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.276, allocations: 0 / 473.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001708/0.2777, allocations: 0.51 MB / 474.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.156e-05/0.2778, allocations: 37.69 kB / 474.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.2778, allocations: 4.562 kB / 474.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/0.2779, allocations: 12 kB / 474.5 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.2784, allocations: 83.89 kB / 474.6 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.382e-05/0.2785, allocations: 11.92 kB / 474.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/0.279, allocations: 43.67 kB / 474.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/0.279, allocations: 23.98 kB / 474.7 MB, free: 6.156 MB / 350.1 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 ($PRE.windFarm.wind.nextTimeEvent,$whenCondition2,windFarm.disturbance.count,$PRE.windFarm.disturbance.count,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.T_start,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEvent,$whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003807/0.2794, allocations: 193.6 kB / 474.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.2796, allocations: 39.47 kB / 474.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.2798, allocations: 59.14 kB / 474.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.2798, allocations: 4 kB / 474.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.2798, allocations: 4 kB / 474.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.2798, allocations: 7.938 kB / 475 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.2814, allocations: 1.034 MB / 476 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.2814, allocations: 8 kB / 476 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.2818, allocations: 63.89 kB / 476.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/0.2819, allocations: 4 kB / 476.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-05/0.2819, allocations: 8 kB / 476.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.2819, allocations: 4 kB / 476.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/0.282, allocations: 7.938 kB / 476.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.2835, allocations: 471.5 kB / 476.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.2836, allocations: 104.7 kB / 476.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.2838, allocations: 19.98 kB / 476.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.2842, allocations: 23.97 kB / 476.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.2844, allocations: 43.84 kB / 476.7 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-05/0.2844, allocations: 15.98 kB / 476.7 MB, free: 3.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004762/0.2849, allocations: 239 kB / 477 MB, free: 3.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2849, allocations: 0 / 477 MB, free: 3.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009367/0.2859, allocations: 79.91 kB / 477.1 MB, free: 3.602 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001737/0.2876, allocations: 471.4 kB / 477.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.2891, allocations: 447.4 kB / 478 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.2892, allocations: 0 / 478 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007358/0.2899, allocations: 179.8 kB / 478.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008652/0.2908, allocations: 87.73 kB / 478.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.2935, allocations: 0.8563 MB / 479.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/0.2943, allocations: 0.8034 MB / 479.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.2945, allocations: 51.42 kB / 479.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of SimCode: time 1.112e-06/0.2945, allocations: 0 / 479.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of Templates: time 0.02488/0.3194, allocations: 5.366 MB / 485.3 MB, free: 11.47 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1)