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.0007461/0.0007462, allocations: 91.69 kB / 16.31 MB, free: 6.008 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.0007856/0.0007857, allocations: 185.8 kB / 17.21 MB, free: 5.902 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.323/1.323, allocations: 205.4 MB / 223.4 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3399/0.3399, allocations: 38.05 MB / 309.7 MB, free: 8.93 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.0004919/0.0004919, allocations: 19.98 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09672/0.09722, allocations: 56.34 MB / 432.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002715/0.1, allocations: 2.098 MB / 434.9 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005991/0.1006, allocations: 459.8 kB / 435.4 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.942e-05/0.1007, allocations: 4 kB / 435.4 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.876e-05/0.1008, allocations: 7.922 kB / 435.4 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.1009, allocations: 19.84 kB / 435.4 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.457e-05/0.101, allocations: 19.98 kB / 435.4 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.1012, allocations: 99.56 kB / 435.5 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.041e-05/0.1013, allocations: 8 kB / 435.5 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1014, allocations: 39.84 kB / 435.6 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.1015, allocations: 47.77 kB / 435.6 MB, free: 3.895 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1015, allocations: 4 kB / 435.6 MB, free: 3.891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.1015, allocations: 4 kB / 435.6 MB, free: 3.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.1016, allocations: 15.91 kB / 435.7 MB, free: 3.871 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.1016, allocations: 41.64 kB / 435.7 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.301e-05/0.1017, allocations: 64.09 kB / 435.8 MB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1017, allocations: 4 kB / 435.8 MB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1017, allocations: 0 / 435.8 MB, free: 3.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.1017, allocations: 4 kB / 435.8 MB, free: 3.754 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.0006275/0.1024, allocations: 403 kB / 436.2 MB, free: 3.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1024, allocations: 8.031 kB / 436.2 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.1024, allocations: 11.91 kB / 436.2 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1027, allocations: 186.8 kB / 436.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1027, allocations: 8 kB / 436.4 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.1027, allocations: 4 kB / 436.4 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.103, allocations: 101.6 kB / 436.5 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.103, allocations: 4 kB / 436.5 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.103, allocations: 3.953 kB / 436.5 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.103, allocations: 3.984 kB / 436.5 MB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.1033, allocations: 75.95 kB / 436.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007623/0.104, allocations: 473.2 kB / 437 MB, free: 2.344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.1043, allocations: 94.66 kB / 437.1 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.1045, allocations: 45 kB / 437.2 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.1045, allocations: 7.984 kB / 437.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.1045, allocations: 42.48 kB / 437.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1045, allocations: 0 / 437.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004087/0.1049, allocations: 149.5 kB / 437.4 MB, free: 1.984 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.105, allocations: 55.41 kB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1051, allocations: 145.7 kB / 437.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.1051, allocations: 25.7 kB / 437.6 MB, free: 1.734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.1052, allocations: 104 kB / 437.7 MB, free: 1.629 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.1052, allocations: 23.78 kB / 437.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/0.1052, allocations: 4 kB / 437.7 MB, free: 1.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.1053, allocations: 326.8 kB / 438 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.1054, allocations: 31.98 kB / 438.1 MB, free: 1.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.1056, allocations: 75.34 kB / 438.1 MB, free: 1.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1057, allocations: 40.16 kB / 438.2 MB, free: 1.117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1057, allocations: 0 / 438.2 MB, free: 1.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002965/0.106, allocations: 145.4 kB / 438.3 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.106, allocations: 4 kB / 438.3 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.106, allocations: 7.984 kB / 438.3 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1061, allocations: 0 / 438.3 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1062, allocations: 36.02 kB / 438.4 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1062, allocations: 0 / 438.4 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.937e-05/0.1063, allocations: 23.83 kB / 438.4 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.1063, allocations: 4 kB / 438.4 MB, free: 0.8945 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.183e-05/0.1064, allocations: 117.8 kB / 438.5 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.1065, allocations: 11.89 kB / 438.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.1068, allocations: 142.3 kB / 438.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1068, allocations: 0 / 438.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1068, allocations: 0 / 438.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1068, allocations: 0 / 438.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.107, allocations: 209.5 kB / 438.9 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1071, allocations: 0 / 438.9 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.1072, allocations: 35.98 kB / 438.9 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1072, allocations: 0 / 438.9 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1072, allocations: 3.938 kB / 438.9 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1072, allocations: 0 / 438.9 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1072, allocations: 0 / 438.9 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004198/0.1077, allocations: 279.2 kB / 439.2 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.1077, allocations: 85.05 kB / 439.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.1078, allocations: 4 kB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.1079, allocations: 11.98 kB / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.1079, allocations: 8.062 kB / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1079, allocations: 0 / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.366e-05/0.108, allocations: 107.2 kB / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.108, allocations: 0 / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.1083, allocations: 20 kB / 439.4 MB, free: 15.78 MB / 382.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 (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 8.724e-05/0.1083, allocations: 95.25 kB / 439.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.1086, allocations: 95.89 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1086, allocations: 0 / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1087, allocations: 47.91 kB / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.109, allocations: 23.98 kB / 439.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.1096, allocations: 392.8 kB / 440 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.1099, allocations: 0.7082 MB / 440.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.916e-05/0.11, allocations: 4.672 kB / 440.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.11, allocations: 11.44 kB / 440.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.11, allocations: 4 kB / 440.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of Templates: time 0.003017/0.113, allocations: 0.8945 MB / 441.7 MB, free: 13.45 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: