Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 184.6 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 94.58 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2707/0.2707, allocations: 37.97 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.913e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1054, allocations: 56.32 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4589/0.5643, allocations: 87.62 MB / 0.5476 GB, free: 136 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.5647, allocations: 83.95 kB / 0.5477 GB, free: 52 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008416/0.5731, allocations: 1.729 MB / 0.5494 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5731, allocations: 0 / 0.5494 GB, free: 14.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.5732, allocations: 4 kB / 0.5494 GB, free: 14.32 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007531/0.5739, allocations: 396.3 kB / 0.5498 GB, free: 13.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.574, allocations: 8.031 kB / 0.5498 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.5741, allocations: 16.69 kB / 0.5498 GB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.5744, allocations: 194.9 kB / 0.55 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.5744, allocations: 0 / 0.55 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.5744, allocations: 8 kB / 0.55 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.5747, allocations: 73.67 kB / 0.55 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.5747, allocations: 3.906 kB / 0.55 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.5748, allocations: 12 kB / 0.5501 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.5748, allocations: 0 / 0.5501 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.575, allocations: 53.78 kB / 0.5501 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.5762, allocations: 449.3 kB / 0.5505 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.5766, allocations: 82.69 kB / 0.5506 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.512e-05/0.5767, allocations: 28.8 kB / 0.5506 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.5767, allocations: 0 / 0.5506 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.5768, allocations: 38.52 kB / 0.5507 GB, free: 12.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/0.5768, allocations: 0 / 0.5507 GB, free: 12.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003252/0.5771, allocations: 81.73 kB / 0.5508 GB, free: 12.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.5772, allocations: 51.41 kB / 0.5508 GB, free: 12.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.5774, allocations: 132.9 kB / 0.5509 GB, free: 12.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.5774, allocations: 25.7 kB / 0.551 GB, free: 12.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.5775, allocations: 178.4 kB / 0.5511 GB, free: 12.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.5776, allocations: 27.59 kB / 0.5512 GB, free: 12.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.5776, allocations: 0 / 0.5512 GB, free: 12.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5778, allocations: 318.8 kB / 0.5515 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.741e-05/0.5779, allocations: 23.94 kB / 0.5515 GB, free: 11.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.578, allocations: 47.44 kB / 0.5515 GB, free: 11.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.5781, allocations: 35.92 kB / 0.5516 GB, free: 11.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.5781, allocations: 0 / 0.5516 GB, free: 11.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000299/0.5784, allocations: 101.6 kB / 0.5517 GB, free: 11.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.5785, allocations: 6.031 kB / 0.5517 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.5785, allocations: 4 kB / 0.5517 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.5785, allocations: 96 / 0.5517 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/0.5788, allocations: 39.91 kB / 0.5517 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.5789, allocations: 0.625 kB / 0.5517 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.5791, allocations: 15.89 kB / 0.5517 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.5791, allocations: 7.984 kB / 0.5517 GB, free: 11.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001102/0.5792, allocations: 109 kB / 0.5518 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.5793, allocations: 11.86 kB / 0.5518 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.5796, allocations: 102.2 kB / 0.5519 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.5796, allocations: 0 / 0.5519 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5796, allocations: 0 / 0.5519 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.5797, allocations: 3.984 kB / 0.5519 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/0.5801, allocations: 205.6 kB / 0.5521 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5801, allocations: 3.984 kB / 0.5521 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.5804, allocations: 27.98 kB / 0.5522 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.5804, allocations: 0 / 0.5522 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.5805, allocations: 3.953 kB / 0.5522 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.5805, allocations: 4.234 kB / 0.5522 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5805, allocations: 0 / 0.5522 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004372/0.5809, allocations: 227.3 kB / 0.5524 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.499e-05/0.581, allocations: 89.03 kB / 0.5525 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.5811, allocations: 0 / 0.5525 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.5813, allocations: 11.95 kB / 0.5525 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.5814, allocations: 16.05 kB / 0.5525 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.5814, allocations: 0 / 0.5525 GB, free: 10.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.5815, allocations: 107.5 kB / 0.5526 GB, free: 10.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5815, allocations: 0 / 0.5526 GB, free: 10.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003342/0.5819, allocations: 23.94 kB / 0.5526 GB, free: 10.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001752/0.582, allocations: 99.25 kB / 0.5527 GB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.5823, allocations: 59.92 kB / 0.5528 GB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5823, allocations: 192 / 0.5528 GB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.5825, allocations: 35.94 kB / 0.5528 GB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.5827, allocations: 13.69 kB / 0.5528 GB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007806/0.5835, allocations: 239 kB / 0.5531 GB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.5839, allocations: 0.7004 MB / 0.5537 GB, free: 9.461 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.196e-05/0.584, allocations: 11.44 kB / 0.5538 GB, free: 9.449 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/0.584, allocations: 0 / 0.5538 GB, free: 9.449 MB / 394.7 MB Notification: Performance of Templates: time 0.004039/0.588, allocations: 1.242 MB / 0.555 GB, free: 8.207 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)