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/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 111.8 kB / 17.29 MB, free: 6.219 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.002135/0.002135, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.044/3.044, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.5098/0.5098, allocations: 38.03 MB / 330.1 MB, free: 8.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003113/0.003113, allocations: 65.06 kB / 398.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2582, allocations: 58.06 MB / 457 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.006339/0.2646, allocations: 2.487 MB / 459.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.2657, allocations: 431 kB / 459.9 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.2659, allocations: 4 kB / 459.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.2661, allocations: 11.86 kB / 459.9 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.2664, allocations: 27.78 kB / 459.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.2665, allocations: 19.97 kB / 460 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.2668, allocations: 103.6 kB / 460.1 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.267, allocations: 19.98 kB / 460.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.2672, allocations: 51.77 kB / 460.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.2673, allocations: 39.84 kB / 460.2 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.2674, allocations: 8 kB / 460.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.669e-05/0.2674, allocations: 8 kB / 460.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.2675, allocations: 23.91 kB / 460.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.041e-05/0.2676, allocations: 43.73 kB / 460.3 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.2678, allocations: 68.09 kB / 460.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.2678, allocations: 4 kB / 460.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.2678, allocations: 0 / 460.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.2678, allocations: 0 / 460.3 MB, free: 5.082 MB / 334.1 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.0009514/0.2688, allocations: 411.1 kB / 460.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.068e-05/0.2689, allocations: 15.89 kB / 460.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.2689, allocations: 12.84 kB / 460.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.2692, allocations: 198.8 kB / 460.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.2693, allocations: 4.375 kB / 461 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.2693, allocations: 16.03 kB / 461 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.2697, allocations: 89.58 kB / 461.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.2697, allocations: 0 / 461.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.2698, allocations: 4 kB / 461.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.2698, allocations: 4 kB / 461.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.2701, allocations: 63.95 kB / 461.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.2713, allocations: 465.3 kB / 461.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004353/0.2717, allocations: 90.66 kB / 461.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.2719, allocations: 44.83 kB / 461.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.272, allocations: 0 / 461.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.272, allocations: 38.5 kB / 461.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.272, allocations: 0 / 461.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000613/0.2726, allocations: 137.7 kB / 461.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.2727, allocations: 59.34 kB / 461.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.2729, allocations: 133.8 kB / 462.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.2729, allocations: 29.7 kB / 462.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.257e-05/0.273, allocations: 103.9 kB / 462.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.2731, allocations: 27.59 kB / 462.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-05/0.2732, allocations: 25.7 kB / 462.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.2734, allocations: 318.8 kB / 462.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.2736, allocations: 35.98 kB / 462.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.2738, allocations: 67.28 kB / 462.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.2741, allocations: 103.3 kB / 462.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2741, allocations: 0 / 462.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004049/0.2745, allocations: 129.5 kB / 462.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.2746, allocations: 4 kB / 462.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.2746, allocations: 4 kB / 462.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2746, allocations: 0 / 462.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.2748, allocations: 27.92 kB / 462.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.2749, allocations: 12.03 kB / 462.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.275, allocations: 11.89 kB / 463 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.275, allocations: 4 kB / 463 MB, free: 2.188 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.2752, allocations: 122.7 kB / 463.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.2753, allocations: 7.906 kB / 463.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.2757, allocations: 122.3 kB / 463.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.2758, allocations: 11.88 kB / 463.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.2758, allocations: 4 kB / 463.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.2758, allocations: 0 / 463.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.2762, allocations: 205.6 kB / 463.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2762, allocations: 0 / 463.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.2764, allocations: 19.98 kB / 463.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2764, allocations: 4 kB / 463.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.2764, allocations: 0 / 463.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.2764, allocations: 11.92 kB / 463.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2764, allocations: 0 / 463.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006363/0.2771, allocations: 259.8 kB / 463.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.375e-05/0.2772, allocations: 88.86 kB / 463.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.2772, allocations: 8.016 kB / 463.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.2774, allocations: 11.92 kB / 463.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.2775, allocations: 64 / 463.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.2775, allocations: 12 kB / 463.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.2776, allocations: 110 kB / 463.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.836e-06/0.2776, allocations: 0 / 463.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000354/0.278, allocations: 19.94 kB / 464 MB, free: 1.09 MB / 334.1 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 (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.0001824/0.2782, allocations: 99.25 kB / 464.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004103/0.2786, allocations: 92.06 kB / 464.1 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2786, allocations: 4.062 kB / 464.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.2788, allocations: 44.11 kB / 464.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.2793, allocations: 19.3 kB / 464.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.2804, allocations: 369.8 kB / 464.6 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.2808, allocations: 0.7002 MB / 465.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.2809, allocations: 11.44 kB / 465.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2809, allocations: 0 / 465.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Templates: time 0.004136/0.285, allocations: 1.269 MB / 466.5 MB, free: 14.44 MB / 350.1 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)