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.001508/0.001508, allocations: 186.9 kB / 8.352 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.462/1.462, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001748/0.001748, allocations: 117.8 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1874/0.1874, allocations: 37.91 MB / 330.9 MB, free: 7.324 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.653e-05/1.657e-05, allocations: 1.188 kB / 390.4 MB, free: 78.25 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1167, allocations: 53.24 MB / 443.6 MB, free: 25.12 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4244/0.5412, allocations: 81.88 MB / 0.5132 GB, free: 11.48 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.5415, allocations: 78.77 kB / 0.5132 GB, free: 11.48 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.004696/0.5462, allocations: 1.635 MB / 0.5148 GB, free: 11.09 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5462, allocations: 0 / 0.5148 GB, free: 11.09 MB / 347.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.5463, allocations: 3.969 kB / 0.5148 GB, free: 11.09 MB / 347.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.0005968/0.5469, allocations: 397.4 kB / 0.5152 GB, free: 10.72 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.5469, allocations: 11.59 kB / 0.5152 GB, free: 10.72 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.547, allocations: 15.58 kB / 0.5152 GB, free: 10.71 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.5473, allocations: 187.8 kB / 0.5154 GB, free: 10.5 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.5473, allocations: 4.531 kB / 0.5154 GB, free: 10.5 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.5474, allocations: 3.688 kB / 0.5154 GB, free: 10.5 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000183/0.5476, allocations: 38.92 kB / 0.5155 GB, free: 10.5 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.5477, allocations: 74.45 kB / 0.5155 GB, free: 10.47 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.5478, allocations: 0 / 0.5155 GB, free: 10.47 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.5478, allocations: 3.953 kB / 0.5155 GB, free: 10.46 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.5478, allocations: 0 / 0.5155 GB, free: 10.46 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008807/0.5487, allocations: 429.5 kB / 0.5159 GB, free: 10.16 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.549, allocations: 76.83 kB / 0.516 GB, free: 10.12 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.056e-05/0.5491, allocations: 28.3 kB / 0.516 GB, free: 10.12 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.5491, allocations: 7.75 kB / 0.516 GB, free: 10.12 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.5491, allocations: 34.5 kB / 0.5161 GB, free: 10.07 MB / 347.1 MB Notification: Performance of pre-optimization done (n=7): time 2.585e-06/0.5491, allocations: 3.984 kB / 0.5161 GB, free: 10.07 MB / 347.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002311/0.5494, allocations: 73.31 kB / 0.5162 GB, free: 10.04 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.5494, allocations: 55.41 kB / 0.5162 GB, free: 9.969 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.323e-05/0.5495, allocations: 123.1 kB / 0.5163 GB, free: 9.875 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.5495, allocations: 25.7 kB / 0.5164 GB, free: 9.844 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.5496, allocations: 101.6 kB / 0.5164 GB, free: 9.754 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.5496, allocations: 26.12 kB / 0.5165 GB, free: 9.738 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.5496, allocations: 0.75 kB / 0.5165 GB, free: 9.738 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.5497, allocations: 322.4 kB / 0.5168 GB, free: 9.426 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.911e-05/0.5498, allocations: 18.44 kB / 0.5168 GB, free: 9.426 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.189e-05/0.5498, allocations: 53.59 kB / 0.5168 GB, free: 9.383 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.635e-05/0.5499, allocations: 27.75 kB / 0.5169 GB, free: 9.383 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5499, allocations: 0 / 0.5169 GB, free: 9.383 MB / 347.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001348/0.55, allocations: 96.72 kB / 0.517 GB, free: 9.344 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.55, allocations: 7.766 kB / 0.517 GB, free: 9.34 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5501, allocations: 3.875 kB / 0.517 GB, free: 9.34 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.5501, allocations: 4.094 kB / 0.517 GB, free: 9.336 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.5502, allocations: 28.69 kB / 0.517 GB, free: 9.336 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.5503, allocations: 5.875 kB / 0.517 GB, free: 9.336 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.722e-05/0.5504, allocations: 14.14 kB / 0.517 GB, free: 9.332 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.5504, allocations: 0 / 0.517 GB, free: 9.332 MB / 347.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 () * 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 5.588e-05/0.5504, allocations: 108.8 kB / 0.5171 GB, free: 9.223 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.5505, allocations: 11.75 kB / 0.5171 GB, free: 9.215 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.5507, allocations: 106.2 kB / 0.5172 GB, free: 9.172 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.5507, allocations: 3.781 kB / 0.5172 GB, free: 9.172 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5507, allocations: 0 / 0.5172 GB, free: 9.172 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5507, allocations: 0 / 0.5172 GB, free: 9.172 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.5509, allocations: 172.6 kB / 0.5174 GB, free: 9.016 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5509, allocations: 3.719 kB / 0.5174 GB, free: 9.016 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.551, allocations: 30.25 kB / 0.5174 GB, free: 9.012 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.5511, allocations: 0 / 0.5174 GB, free: 9.012 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.5511, allocations: 7.5 kB / 0.5175 GB, free: 9.008 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5511, allocations: 3.781 kB / 0.5175 GB, free: 9.008 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.5511, allocations: 3.953 kB / 0.5175 GB, free: 9.004 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.5513, allocations: 212.6 kB / 0.5177 GB, free: 8.867 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.5513, allocations: 82.52 kB / 0.5177 GB, free: 8.77 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.5514, allocations: 3.719 kB / 0.5177 GB, free: 8.77 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.5515, allocations: 10.62 kB / 0.5178 GB, free: 8.766 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.5516, allocations: 10.72 kB / 0.5178 GB, free: 8.762 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.5516, allocations: 3.688 kB / 0.5178 GB, free: 8.762 MB / 347.1 MB Notification: Performance of sorting global known variables: time 3.898e-05/0.5516, allocations: 97.7 kB / 0.5179 GB, free: 8.688 MB / 347.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5516, allocations: 0 / 0.5179 GB, free: 8.688 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.5519, allocations: 25.25 kB / 0.5179 GB, free: 8.684 MB / 347.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 () * 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.0001107/0.552, allocations: 98.92 kB / 0.518 GB, free: 8.59 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.5521, allocations: 52.03 kB / 0.518 GB, free: 8.59 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5521, allocations: 4.188 kB / 0.518 GB, free: 8.586 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 5.325e-05/0.5522, allocations: 32.75 kB / 0.5181 GB, free: 8.582 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.5524, allocations: 8.547 kB / 0.5181 GB, free: 8.582 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.5529, allocations: 210.8 kB / 0.5183 GB, free: 8.445 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.553, allocations: 0.701 MB / 0.519 GB, free: 7.75 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 5.939e-05/0.5531, allocations: 8.969 kB / 0.519 GB, free: 7.746 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.5531, allocations: 11.38 kB / 0.519 GB, free: 7.738 MB / 347.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5532, allocations: 0 / 0.519 GB, free: 7.738 MB / 347.1 MB Notification: Performance of Templates: time 0.002965/0.5561, allocations: 0.8171 MB / 0.5198 GB, free: 7.672 MB / 347.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)