Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001288/0.001288, allocations: 179.4 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.483/1.483, allocations: 194.5 MB / 212.6 MB, free: 2.961 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001635/0.001635, allocations: 115.5 kB / 257.9 MB, free: 4.281 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2043/0.2043, allocations: 38.02 MB / 341.1 MB, free: 1.215 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.000405, allocations: 16 kB / 405 MB, free: 68.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1145, allocations: 53.24 MB / 458.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3995/0.5141, allocations: 82.67 MB / 0.5283 GB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.5143, allocations: 86.25 kB / 0.5283 GB, free: 11.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004328/0.5187, allocations: 1.65 MB / 0.5299 GB, free: 9.824 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5187, allocations: 0 / 0.5299 GB, free: 9.824 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.5187, allocations: 0 / 0.5299 GB, free: 9.824 MB / 346.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.0004436/0.5192, allocations: 419 kB / 0.5303 GB, free: 9.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.5192, allocations: 8.031 kB / 0.5304 GB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.5193, allocations: 12.83 kB / 0.5304 GB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.5194, allocations: 187.9 kB / 0.5305 GB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.5195, allocations: 8.188 kB / 0.5306 GB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.5195, allocations: 4.375 kB / 0.5306 GB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.5197, allocations: 100.3 kB / 0.5307 GB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.5198, allocations: 4.188 kB / 0.5307 GB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.5198, allocations: 7.625 kB / 0.5307 GB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.5198, allocations: 0 / 0.5307 GB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.52, allocations: 81.81 kB / 0.5307 GB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.5208, allocations: 458.8 kB / 0.5312 GB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.5211, allocations: 100.3 kB / 0.5313 GB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.5212, allocations: 47.58 kB / 0.5313 GB, free: 8.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.5212, allocations: 0 / 0.5313 GB, free: 8.391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.5212, allocations: 30.56 kB / 0.5313 GB, free: 8.352 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.5212, allocations: 0 / 0.5313 GB, free: 8.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004049/0.5216, allocations: 152.7 kB / 0.5315 GB, free: 8.219 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.5217, allocations: 51.41 kB / 0.5315 GB, free: 8.156 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.841e-05/0.5218, allocations: 150.7 kB / 0.5317 GB, free: 8.012 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.5218, allocations: 28.08 kB / 0.5317 GB, free: 7.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.5219, allocations: 114.2 kB / 0.5318 GB, free: 7.879 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.5219, allocations: 23.53 kB / 0.5318 GB, free: 7.859 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.5219, allocations: 2.188 kB / 0.5318 GB, free: 7.859 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.522, allocations: 330 kB / 0.5322 GB, free: 7.531 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.975e-05/0.5221, allocations: 42.47 kB / 0.5322 GB, free: 7.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.5222, allocations: 65.97 kB / 0.5323 GB, free: 7.434 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.5224, allocations: 106.9 kB / 0.5324 GB, free: 7.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5224, allocations: 0 / 0.5324 GB, free: 7.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002456/0.5227, allocations: 145.8 kB / 0.5325 GB, free: 7.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.5227, allocations: 8 kB / 0.5325 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.5227, allocations: 0 / 0.5325 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.5227, allocations: 0 / 0.5325 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.5229, allocations: 39.89 kB / 0.5326 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.5229, allocations: 4 kB / 0.5326 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.523, allocations: 12.06 kB / 0.5326 GB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.523, allocations: 7.938 kB / 0.5326 GB, free: 7.145 MB / 346.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 () * Number of clocked 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.835e-05/0.5231, allocations: 124.8 kB / 0.5327 GB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.5231, allocations: 11.81 kB / 0.5327 GB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.5234, allocations: 141 kB / 0.5328 GB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5234, allocations: 0 / 0.5328 GB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5234, allocations: 0 / 0.5328 GB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5234, allocations: 0 / 0.5328 GB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.5236, allocations: 208.1 kB / 0.533 GB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.5236, allocations: 7.75 kB / 0.533 GB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.5238, allocations: 27.17 kB / 0.5331 GB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5238, allocations: 0 / 0.5331 GB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.5238, allocations: 4 kB / 0.5331 GB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5238, allocations: 0 / 0.5331 GB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5238, allocations: 0 / 0.5331 GB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.5242, allocations: 278.6 kB / 0.5333 GB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.5242, allocations: 88.25 kB / 0.5334 GB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.5243, allocations: 0 / 0.5334 GB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.5244, allocations: 8 kB / 0.5334 GB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.5244, allocations: 11.48 kB / 0.5334 GB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.5244, allocations: 0 / 0.5334 GB, free: 6.262 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.896e-05/0.5245, allocations: 114.9 kB / 0.5336 GB, free: 6.156 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5245, allocations: 4 kB / 0.5336 GB, free: 6.152 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.5247, allocations: 23.94 kB / 0.5336 GB, free: 6.133 MB / 346.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 () * Number of clocked 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 9.96e-05/0.5248, allocations: 103.2 kB / 0.5337 GB, free: 6.023 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.5251, allocations: 96.64 kB / 0.5338 GB, free: 5.945 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5251, allocations: 3.938 kB / 0.5338 GB, free: 5.941 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.5252, allocations: 49.22 kB / 0.5338 GB, free: 5.902 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.5255, allocations: 11.38 kB / 0.5338 GB, free: 5.895 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.5261, allocations: 388.7 kB / 0.5342 GB, free: 5.508 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.5262, allocations: 0.7004 MB / 0.5349 GB, free: 4.781 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.767e-05/0.5263, allocations: 8.672 kB / 0.5349 GB, free: 4.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.5263, allocations: 11.44 kB / 0.5349 GB, free: 4.758 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5263, allocations: 0 / 0.5349 GB, free: 4.758 MB / 346.7 MB Notification: Performance of Templates: time 0.002765/0.5291, allocations: 0.8975 MB / 0.5358 GB, free: 3.883 MB / 346.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.sim & ./PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)