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.001535/0.001535, allocations: 180.7 kB / 8.012 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.174/2.174, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 78.7 kB / 261.8 MB, free: 1.684 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.2595/0.2595, allocations: 38 MB / 347.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.935e-05/1.947e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1439, allocations: 56.32 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4838/0.6277, allocations: 86.95 MB / 0.5402 GB, free: 11.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.628, allocations: 82.17 kB / 0.5402 GB, free: 11.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007042/0.6351, allocations: 1.722 MB / 0.5419 GB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6351, allocations: 0 / 0.5419 GB, free: 10.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.6352, allocations: 3.844 kB / 0.5419 GB, free: 10.93 MB / 362.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.0006011/0.6358, allocations: 402.7 kB / 0.5423 GB, free: 10.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.6358, allocations: 7.531 kB / 0.5423 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.6359, allocations: 15.22 kB / 0.5423 GB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.6361, allocations: 183.3 kB / 0.5425 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.6361, allocations: 0 / 0.5425 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.6362, allocations: 3.906 kB / 0.5425 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001996/0.6364, allocations: 51.38 kB / 0.5426 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.6366, allocations: 68.31 kB / 0.5426 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.6366, allocations: 4.781 kB / 0.5426 GB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.6366, allocations: 3.906 kB / 0.5426 GB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.6366, allocations: 0 / 0.5426 GB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009372/0.6376, allocations: 433 kB / 0.5431 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.6379, allocations: 75.62 kB / 0.5431 GB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.618e-05/0.638, allocations: 23.86 kB / 0.5431 GB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.6381, allocations: 0 / 0.5431 GB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.6381, allocations: 33.09 kB / 0.5432 GB, free: 9.926 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/0.6381, allocations: 3.781 kB / 0.5432 GB, free: 9.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002766/0.6384, allocations: 85 kB / 0.5433 GB, free: 9.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.6384, allocations: 56.39 kB / 0.5433 GB, free: 9.812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.6385, allocations: 121 kB / 0.5434 GB, free: 9.719 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.6386, allocations: 25.7 kB / 0.5435 GB, free: 9.688 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.6386, allocations: 169.9 kB / 0.5436 GB, free: 9.527 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.6387, allocations: 25.31 kB / 0.5436 GB, free: 9.512 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-06/0.6387, allocations: 0 / 0.5436 GB, free: 9.512 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.752e-05/0.6387, allocations: 317 kB / 0.5439 GB, free: 9.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/0.6388, allocations: 18.62 kB / 0.544 GB, free: 9.199 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-05/0.6389, allocations: 51.84 kB / 0.544 GB, free: 9.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.137e-05/0.639, allocations: 32.34 kB / 0.544 GB, free: 9.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.639, allocations: 0 / 0.544 GB, free: 9.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000223/0.6392, allocations: 91.44 kB / 0.5441 GB, free: 9.121 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.6393, allocations: 3.969 kB / 0.5441 GB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.6393, allocations: 11.34 kB / 0.5441 GB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.6393, allocations: 3.938 kB / 0.5441 GB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.6396, allocations: 28.78 kB / 0.5442 GB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.6396, allocations: 7.672 kB / 0.5442 GB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.6398, allocations: 14.3 kB / 0.5442 GB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.6398, allocations: 3.969 kB / 0.5442 GB, free: 9.105 MB / 362.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 6.682e-05/0.6399, allocations: 107.4 kB / 0.5443 GB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.64, allocations: 7.781 kB / 0.5443 GB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.6402, allocations: 92.53 kB / 0.5444 GB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6403, allocations: 3.844 kB / 0.5444 GB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6403, allocations: 0 / 0.5444 GB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6403, allocations: 3.953 kB / 0.5444 GB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.6406, allocations: 185.8 kB / 0.5446 GB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6406, allocations: 0 / 0.5446 GB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.6409, allocations: 24.03 kB / 0.5446 GB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.6409, allocations: 7.969 kB / 0.5446 GB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.641, allocations: 2.812 kB / 0.5446 GB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.641, allocations: 0 / 0.5446 GB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.641, allocations: 0 / 0.5446 GB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.6413, allocations: 212.6 kB / 0.5448 GB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.6414, allocations: 91.59 kB / 0.5449 GB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.6414, allocations: 0 / 0.5449 GB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.6416, allocations: 14.47 kB / 0.5449 GB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.6417, allocations: 2.297 kB / 0.5449 GB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.6417, allocations: 7.438 kB / 0.5449 GB, free: 8.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.229e-05/0.6418, allocations: 96.73 kB / 0.545 GB, free: 8.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6418, allocations: 0 / 0.545 GB, free: 8.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003548/0.6421, allocations: 18.69 kB / 0.545 GB, free: 8.461 MB / 362.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.0001289/0.6423, allocations: 96.39 kB / 0.5451 GB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.6425, allocations: 61.39 kB / 0.5452 GB, free: 8.367 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6425, allocations: 0 / 0.5452 GB, free: 8.367 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.527e-05/0.6426, allocations: 34.81 kB / 0.5452 GB, free: 8.363 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.6429, allocations: 15.08 kB / 0.5452 GB, free: 8.352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006677/0.6436, allocations: 228 kB / 0.5455 GB, free: 8.188 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.6438, allocations: 0.7034 MB / 0.5461 GB, free: 7.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.404e-05/0.6438, allocations: 14.34 kB / 0.5462 GB, free: 7.48 MB / 362.7 MB Notification: Performance of SimCode: time 9.11e-07/0.6439, allocations: 0 / 0.5462 GB, free: 7.48 MB / 362.7 MB Notification: Performance of Templates: time 0.003479/0.6473, allocations: 1.231 MB / 0.5474 GB, free: 7.379 MB / 362.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)