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 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.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.001193/0.001193, allocations: 108.3 kB / 17.74 MB, free: 5.359 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.001216/0.001216, allocations: 191 kB / 18.67 MB, free: 4.438 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.213/1.213, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1623/0.1623, allocations: 37.98 MB / 309.9 MB, free: 5.965 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.001317/0.001317, allocations: 67.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0831/0.08443, allocations: 55.24 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003698/0.08816, allocations: 2.448 MB / 490.2 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006676/0.08885, allocations: 487.7 kB / 490.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/0.08896, allocations: 4 kB / 490.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.08909, allocations: 11.86 kB / 490.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.08923, allocations: 23.78 kB / 490.7 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.08934, allocations: 23.97 kB / 490.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.08949, allocations: 103.6 kB / 490.9 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.08961, allocations: 19.92 kB / 490.9 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.08974, allocations: 51.8 kB / 490.9 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.428e-05/0.08983, allocations: 39.83 kB / 491 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.08986, allocations: 8 kB / 491 MB, free: 5.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.821e-05/0.08988, allocations: 8 kB / 491 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.08992, allocations: 23.91 kB / 491 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.231e-05/0.08997, allocations: 47.73 kB / 491.1 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.09012, allocations: 87.73 kB / 491.1 MB, free: 4.949 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.09013, allocations: 0 / 491.1 MB, free: 4.949 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09014, allocations: 0 / 491.1 MB, free: 4.949 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.09015, allocations: 0 / 491.1 MB, free: 4.949 MB / 366.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.000574/0.09072, allocations: 411.1 kB / 491.5 MB, free: 4.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.09077, allocations: 19.81 kB / 491.6 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.09081, allocations: 12.84 kB / 491.6 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.09103, allocations: 196.1 kB / 491.8 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-06/0.09104, allocations: 4.312 kB / 491.8 MB, free: 4.234 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.09108, allocations: 12.12 kB / 491.8 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.09131, allocations: 93.64 kB / 491.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.09133, allocations: 0 / 491.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.09135, allocations: 0 / 491.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.09135, allocations: 0 / 491.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.09158, allocations: 79.88 kB / 491.9 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007368/0.09233, allocations: 461.2 kB / 492.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.09263, allocations: 94.59 kB / 492.5 MB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.09275, allocations: 40.83 kB / 492.5 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.09277, allocations: 4 kB / 492.5 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.0928, allocations: 34.56 kB / 492.6 MB, free: 3.344 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.09281, allocations: 0 / 492.6 MB, free: 3.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.000402/0.09321, allocations: 133.5 kB / 492.7 MB, free: 3.207 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.09326, allocations: 55.34 kB / 492.8 MB, free: 3.141 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.09337, allocations: 145.7 kB / 492.9 MB, free: 2.988 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.09339, allocations: 25.7 kB / 492.9 MB, free: 2.957 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.09345, allocations: 116.1 kB / 493 MB, free: 2.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.09348, allocations: 27.78 kB / 493.1 MB, free: 2.812 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.09353, allocations: 17.72 kB / 493.1 MB, free: 2.789 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.058e-05/0.09363, allocations: 322.8 kB / 493.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.09374, allocations: 31.97 kB / 493.4 MB, free: 2.434 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.09387, allocations: 67.41 kB / 493.5 MB, free: 2.355 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.09411, allocations: 99.64 kB / 493.6 MB, free: 2.246 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.09412, allocations: 4 kB / 493.6 MB, free: 2.242 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002906/0.09442, allocations: 129.5 kB / 493.7 MB, free: 2.109 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.09444, allocations: 4 kB / 493.7 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.09445, allocations: 0 / 493.7 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.09447, allocations: 4 kB / 493.7 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.09462, allocations: 35.86 kB / 493.8 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.09463, allocations: 3.984 kB / 493.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.232e-05/0.09473, allocations: 15.84 kB / 493.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.09475, allocations: 4 kB / 493.8 MB, free: 2.043 MB / 366.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 7.712e-05/0.09483, allocations: 118.1 kB / 493.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.09487, allocations: 11.89 kB / 493.9 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.09517, allocations: 130.2 kB / 494 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.09519, allocations: 11.86 kB / 494 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.09519, allocations: 0 / 494 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.0952, allocations: 0 / 494 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.09543, allocations: 205.6 kB / 494.3 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.09545, allocations: 4 kB / 494.3 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.09559, allocations: 23.98 kB / 494.3 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.0956, allocations: 0 / 494.3 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.09561, allocations: 0 / 494.3 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.345e-06/0.09563, allocations: 7.938 kB / 494.3 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.09563, allocations: 0 / 494.3 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.09604, allocations: 255.3 kB / 494.5 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.09609, allocations: 88.98 kB / 494.6 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.09612, allocations: 7.984 kB / 494.6 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.09623, allocations: 7.938 kB / 494.6 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.09628, allocations: 7.984 kB / 494.6 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.09629, allocations: 4 kB / 494.6 MB, free: 1.078 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.773e-05/0.09637, allocations: 111.2 kB / 494.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09637, allocations: 0 / 494.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.09662, allocations: 23.97 kB / 494.8 MB, free: 0.9453 MB / 366.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 8.698e-05/0.09671, allocations: 95.23 kB / 494.9 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.09699, allocations: 83.89 kB / 495 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.097, allocations: 0 / 495 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.09712, allocations: 43.91 kB / 495 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.09738, allocations: 16.12 kB / 495 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005833/0.09797, allocations: 350.1 kB / 495.4 MB, free: 340 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.09823, allocations: 0.7012 MB / 496.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.09829, allocations: 15.44 kB / 496.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09829, allocations: 0 / 496.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of Templates: time 0.002634/0.1009, allocations: 1.293 MB / 497.4 MB, free: 14.3 MB / 382.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)