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.0007405/0.0007405, allocations: 88.8 kB / 16.65 MB, free: 6.535 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.0009059/0.000906, allocations: 173 kB / 17.56 MB, free: 6.184 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.426/1.426, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1764/0.1764, allocations: 38.05 MB / 310.1 MB, free: 5.918 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.0005497/0.0005498, allocations: 15.44 kB / 377.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2428, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.003662/0.2465, allocations: 3.752 MB / 437.2 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.2495, allocations: 2.067 MB / 439.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004586/0.25, allocations: 19.88 kB / 439.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004566/0.2505, allocations: 59.61 kB / 439.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007683/0.2513, allocations: 259.1 kB / 439.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007114/0.252, allocations: 234 kB / 439.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000631/0.2527, allocations: 0.6235 MB / 440.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006872/0.2534, allocations: 388.2 kB / 440.9 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000439/0.2538, allocations: 179.2 kB / 441 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.2541, allocations: 195.2 kB / 441.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.173e-05/0.2542, allocations: 16 kB / 441.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006637/0.2548, allocations: 459 kB / 441.7 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.255, allocations: 103.7 kB / 441.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.2551, allocations: 180.8 kB / 442 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007242/0.2559, allocations: 0.6308 MB / 442.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2559, allocations: 0 / 442.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2559, allocations: 0 / 442.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.2559, allocations: 0 / 442.6 MB, free: 9.508 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.001092/0.257, allocations: 0.6888 MB / 443.3 MB, free: 8.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.257, allocations: 8.031 kB / 443.3 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008897/0.2579, allocations: 112.4 kB / 443.4 MB, free: 8.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.2585, allocations: 403.6 kB / 443.8 MB, free: 8.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.2585, allocations: 20.81 kB / 443.8 MB, free: 8.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.2586, allocations: 20.12 kB / 443.8 MB, free: 8.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007974/0.2594, allocations: 466.7 kB / 444.3 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2594, allocations: 3.938 kB / 444.3 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.2594, allocations: 12 kB / 444.3 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.2595, allocations: 12.44 kB / 444.3 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000948/0.2604, allocations: 0.5247 MB / 444.9 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.2624, allocations: 1.678 MB / 446.5 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009506/0.2634, allocations: 397.1 kB / 446.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.2638, allocations: 149.6 kB / 447.1 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.362e-05/0.2638, allocations: 11.98 kB / 447.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005656/0.2644, allocations: 298.9 kB / 447.4 MB, free: 4.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 4.188e-06/0.2644, allocations: 7.938 kB / 447.4 MB, free: 4.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001401/0.2658, allocations: 0.5561 MB / 447.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.079e-05/0.2659, allocations: 298.7 kB / 448.2 MB, free: 3.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.2663, allocations: 328.5 kB / 448.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.2663, allocations: 37.7 kB / 448.6 MB, free: 3.156 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2664, allocations: 200.4 kB / 448.8 MB, free: 2.953 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/0.2665, allocations: 106.6 kB / 448.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.2666, allocations: 37.7 kB / 448.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.717e-05/0.2666, allocations: 346.8 kB / 449.3 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.267, allocations: 147.9 kB / 449.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/0.2674, allocations: 296.9 kB / 449.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007657/0.2682, allocations: 489.6 kB / 450.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.2682, allocations: 0 / 450.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009954/0.2692, allocations: 0.5455 MB / 450.7 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.2692, allocations: 37.7 kB / 450.8 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.2693, allocations: 7.984 kB / 450.8 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.2693, allocations: 8 kB / 450.8 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.2696, allocations: 91.81 kB / 450.9 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.2696, allocations: 8 kB / 450.9 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.2699, allocations: 55.75 kB / 450.9 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.2699, allocations: 20 kB / 450.9 MB, free: 0.6289 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 ($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.0001536/0.2701, allocations: 193.6 kB / 451.1 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.2702, allocations: 35.56 kB / 451.2 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.981e-05/0.2703, allocations: 51.16 kB / 451.2 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2703, allocations: 4 kB / 451.2 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.2703, allocations: 4 kB / 451.2 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.2703, allocations: 8 kB / 451.2 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007978/0.2711, allocations: 1.027 MB / 452.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.2711, allocations: 7.938 kB / 452.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.2714, allocations: 72.08 kB / 452.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.2714, allocations: 4 kB / 452.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.2714, allocations: 8 kB / 452.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2714, allocations: 3.984 kB / 452.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2714, allocations: 4 kB / 452.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000912/0.2724, allocations: 499.2 kB / 452.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.405e-05/0.2725, allocations: 120.7 kB / 453 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.2725, allocations: 12 kB / 453 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.2728, allocations: 31.97 kB / 453 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.346e-05/0.2729, allocations: 39.89 kB / 453 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.2729, allocations: 15.98 kB / 453.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002325/0.2731, allocations: 239 kB / 453.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2731, allocations: 0 / 453.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004056/0.2736, allocations: 87.83 kB / 453.4 MB, free: 14.04 MB / 334.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.0009705/0.2745, allocations: 468.4 kB / 453.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009655/0.2755, allocations: 439.6 kB / 454.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2755, allocations: 0 / 454.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004706/0.276, allocations: 212.6 kB / 454.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.2766, allocations: 69.52 kB / 454.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.2779, allocations: 0.8361 MB / 455.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.2783, allocations: 0.8076 MB / 456.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002561/0.2786, allocations: 99.17 kB / 456.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.2787, allocations: 39.42 kB / 456.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2787, allocations: 8 kB / 456.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of Templates: time 0.009773/0.2885, allocations: 4.276 MB / 460.6 MB, free: 6.777 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: