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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.0009643/0.0009644, allocations: 93.62 kB / 16.3 MB, free: 5.996 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.001006/0.001006, allocations: 179.9 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1687/0.1687, allocations: 38.03 MB / 309.7 MB, free: 6.137 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005223/0.0005224, allocations: 16 kB / 376.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2527, allocations: 56.32 MB / 432.8 MB, free: 18.88 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.003329/0.2561, allocations: 3.503 MB / 436.3 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.2581, allocations: 1.92 MB / 438.2 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.2583, allocations: 15.88 kB / 438.2 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.2586, allocations: 79.53 kB / 438.3 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.259, allocations: 211.3 kB / 438.5 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.2595, allocations: 207.1 kB / 438.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.2598, allocations: 283.5 kB / 439 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005307/0.2603, allocations: 356.9 kB / 439.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.2606, allocations: 171.3 kB / 439.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.2608, allocations: 139.5 kB / 439.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.2608, allocations: 16 kB / 439.7 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003325/0.2612, allocations: 203.6 kB / 439.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.214e-05/0.2613, allocations: 91.72 kB / 440 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.631e-05/0.2613, allocations: 85.52 kB / 440 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.2618, allocations: 482.8 kB / 440.5 MB, free: 11.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2618, allocations: 4 kB / 440.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2618, allocations: 0 / 440.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.2618, allocations: 0 / 440.5 MB, free: 11.11 MB / 318.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.001004/0.2628, allocations: 0.6886 MB / 441.2 MB, free: 10.37 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2628, allocations: 12.02 kB / 441.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008225/0.2637, allocations: 119.4 kB / 441.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.2642, allocations: 390.6 kB / 441.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.2642, allocations: 12.44 kB / 441.7 MB, free: 9.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/0.2642, allocations: 35.95 kB / 441.8 MB, free: 9.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006594/0.2649, allocations: 450.8 kB / 442.2 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2649, allocations: 7.938 kB / 442.2 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.265, allocations: 11.98 kB / 442.2 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/0.265, allocations: 24.38 kB / 442.2 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008147/0.2658, allocations: 0.5169 MB / 442.8 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.2674, allocations: 1.674 MB / 444.4 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/0.2683, allocations: 400.9 kB / 444.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.2683, allocations: 4 kB / 444.8 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004643/0.2688, allocations: 298.9 kB / 445.1 MB, free: 6.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.334e-06/0.2688, allocations: 7.984 kB / 445.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001157/0.27, allocations: 0.556 MB / 445.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.2701, allocations: 294.7 kB / 446 MB, free: 5.301 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.2704, allocations: 328.5 kB / 446.3 MB, free: 4.965 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.2704, allocations: 33.7 kB / 446.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.2705, allocations: 200.4 kB / 446.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/0.2706, allocations: 102.5 kB / 446.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/0.2706, allocations: 12 kB / 446.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.246e-05/0.2707, allocations: 338.8 kB / 447 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.2711, allocations: 155.9 kB / 447.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.2714, allocations: 288.9 kB / 447.4 MB, free: 3.773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.2718, allocations: 217.5 kB / 447.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2718, allocations: 0 / 447.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008848/0.2727, allocations: 0.5298 MB / 448.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.2728, allocations: 37.7 kB / 448.2 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.2728, allocations: 4 kB / 448.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.2728, allocations: 8 kB / 448.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.2731, allocations: 100.1 kB / 448.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.2731, allocations: 4 kB / 448.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.2734, allocations: 59.66 kB / 448.4 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.2734, allocations: 12 kB / 448.4 MB, free: 2.785 MB / 318.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 ($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 (43): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.2736, allocations: 209.3 kB / 448.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.2737, allocations: 35.53 kB / 448.6 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.605e-05/0.2738, allocations: 51.16 kB / 448.7 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2738, allocations: 8 kB / 448.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.2738, allocations: 0 / 448.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2738, allocations: 4 kB / 448.7 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006059/0.2744, allocations: 1.027 MB / 449.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2744, allocations: 4 kB / 449.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.2746, allocations: 63.89 kB / 449.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2747, allocations: 4.188 kB / 449.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.2747, allocations: 19.94 kB / 449.8 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.2747, allocations: 8 kB / 449.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2747, allocations: 7.922 kB / 449.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007713/0.2755, allocations: 0.5831 MB / 450.4 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.2756, allocations: 120.6 kB / 450.5 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.2756, allocations: 19.94 kB / 450.5 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.2758, allocations: 31.92 kB / 450.5 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.382e-05/0.2759, allocations: 35.95 kB / 450.6 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.2759, allocations: 19.98 kB / 450.6 MB, free: 356 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.2761, allocations: 231 kB / 450.8 MB, free: 128 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2761, allocations: 0 / 450.8 MB, free: 128 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003587/0.2765, allocations: 83.94 kB / 450.9 MB, free: 44 kB / 318.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 (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.001008/0.2775, allocations: 475.2 kB / 451.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008715/0.2784, allocations: 431.1 kB / 451.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2784, allocations: 0.9375 kB / 451.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004508/0.2789, allocations: 219.6 kB / 452 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.2792, allocations: 65.89 kB / 452.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.2804, allocations: 0.7856 MB / 452.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.2808, allocations: 0.8115 MB / 453.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000223/0.281, allocations: 91.19 kB / 453.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.2811, allocations: 43.42 kB / 453.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2811, allocations: 0 / 453.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of Templates: time 0.008654/0.2898, allocations: 4.181 MB / 458 MB, free: 8.93 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: