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.0009854/0.0009855, allocations: 182.2 kB / 13.64 MB, free: 1.676 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.732/1.732, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001658/0.001658, allocations: 128.6 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1825/0.1825, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.991e-05/3.993e-05, allocations: 7.984 kB / 397.5 MB, free: 1.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2937, allocations: 53.21 MB / 450.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1239/0.4176, allocations: 82.55 MB / 0.5208 GB, free: 10.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.4179, allocations: 79.95 kB / 0.5209 GB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004932/0.4229, allocations: 1.655 MB / 0.5225 GB, free: 9.094 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4229, allocations: 3.938 kB / 0.5225 GB, free: 9.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.4229, allocations: 0 / 0.5225 GB, free: 9.09 MB / 378.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.0005368/0.4235, allocations: 398.5 kB / 0.5229 GB, free: 8.656 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.4235, allocations: 8.031 kB / 0.5229 GB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.4236, allocations: 19.77 kB / 0.5229 GB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.4238, allocations: 186.9 kB / 0.5231 GB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.4238, allocations: 4 kB / 0.5231 GB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.4238, allocations: 8 kB / 0.5231 GB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.424, allocations: 77.67 kB / 0.5232 GB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.424, allocations: 0 / 0.5232 GB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.4241, allocations: 4 kB / 0.5232 GB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.4241, allocations: 3.953 kB / 0.5232 GB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.4242, allocations: 44 kB / 0.5232 GB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008017/0.425, allocations: 469.1 kB / 0.5237 GB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.4253, allocations: 78.69 kB / 0.5237 GB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.281e-05/0.4253, allocations: 28.86 kB / 0.5238 GB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.4254, allocations: 3.938 kB / 0.5238 GB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.4254, allocations: 34.56 kB / 0.5238 GB, free: 7.574 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.4254, allocations: 0 / 0.5238 GB, free: 7.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002248/0.4256, allocations: 77.59 kB / 0.5239 GB, free: 7.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.4257, allocations: 51.41 kB / 0.5239 GB, free: 7.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.4258, allocations: 129.4 kB / 0.524 GB, free: 7.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.4258, allocations: 29.7 kB / 0.5241 GB, free: 7.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.4259, allocations: 112 kB / 0.5242 GB, free: 7.148 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.4259, allocations: 23.84 kB / 0.5242 GB, free: 7.125 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.4259, allocations: 0 / 0.5242 GB, free: 7.125 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4261, allocations: 322.8 kB / 0.5245 GB, free: 6.801 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.341e-05/0.4262, allocations: 20 kB / 0.5245 GB, free: 6.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.236e-05/0.4263, allocations: 59.36 kB / 0.5246 GB, free: 6.711 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.937e-05/0.4263, allocations: 24 kB / 0.5246 GB, free: 6.688 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4263, allocations: 192 / 0.5246 GB, free: 6.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001771/0.4265, allocations: 105.6 kB / 0.5247 GB, free: 6.578 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4265, allocations: 11.94 kB / 0.5247 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4266, allocations: 0 / 0.5247 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.4266, allocations: 96 / 0.5247 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.4268, allocations: 35.92 kB / 0.5248 GB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.4268, allocations: 15.92 kB / 0.5248 GB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.4269, allocations: 15.94 kB / 0.5248 GB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.4269, allocations: 4 kB / 0.5248 GB, free: 6.496 MB / 378.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 7.55e-05/0.427, allocations: 108.7 kB / 0.5249 GB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.427, allocations: 11.81 kB / 0.5249 GB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.4273, allocations: 110.2 kB / 0.525 GB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.4273, allocations: 0 / 0.525 GB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4273, allocations: 0 / 0.525 GB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.4273, allocations: 4 kB / 0.525 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.4275, allocations: 209.5 kB / 0.5252 GB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4276, allocations: 0 / 0.5252 GB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.4277, allocations: 23.98 kB / 0.5252 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4277, allocations: 3.984 kB / 0.5252 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.4278, allocations: 4 kB / 0.5252 GB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4278, allocations: 8 kB / 0.5253 GB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4278, allocations: 0 / 0.5253 GB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.4281, allocations: 211.4 kB / 0.5255 GB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/0.4282, allocations: 92.94 kB / 0.5255 GB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.4282, allocations: 0 / 0.5255 GB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.4283, allocations: 15.98 kB / 0.5256 GB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.4284, allocations: 8.047 kB / 0.5256 GB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.4284, allocations: 4 kB / 0.5256 GB, free: 5.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.442e-05/0.4285, allocations: 103.4 kB / 0.5257 GB, free: 5.504 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4285, allocations: 0 / 0.5257 GB, free: 5.504 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000239/0.4287, allocations: 27.98 kB / 0.5257 GB, free: 5.477 MB / 378.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.0001729/0.4289, allocations: 95.25 kB / 0.5258 GB, free: 5.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.4291, allocations: 63.92 kB / 0.5259 GB, free: 5.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4291, allocations: 0 / 0.5259 GB, free: 5.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.4292, allocations: 36.12 kB / 0.5259 GB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.4294, allocations: 11.94 kB / 0.5259 GB, free: 5.262 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.4301, allocations: 229 kB / 0.5261 GB, free: 5.016 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.4304, allocations: 0.7043 MB / 0.5268 GB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.51e-05/0.4305, allocations: 8.672 kB / 0.5268 GB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.4305, allocations: 11.44 kB / 0.5268 GB, free: 4.262 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4306, allocations: 0 / 0.5268 GB, free: 4.262 MB / 378.7 MB Notification: Performance of Templates: time 0.003219/0.4338, allocations: 0.9003 MB / 0.5277 GB, free: 3.367 MB / 378.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)