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.001568/0.001568, allocations: 114.5 kB / 17.07 MB, free: 6.016 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.001252/0.001252, allocations: 191 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1805/0.1805, allocations: 38.03 MB / 329.9 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 458.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4456, allocations: 58.06 MB / 0.5041 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.00391/0.4495, allocations: 2.447 MB / 0.5065 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006029/0.4501, allocations: 430.4 kB / 0.5069 GB, free: 6.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.111e-05/0.4502, allocations: 5.156 kB / 0.5069 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.4503, allocations: 11.89 kB / 0.5069 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.4505, allocations: 34.3 kB / 0.5069 GB, free: 6.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.4506, allocations: 20.58 kB / 0.507 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.4508, allocations: 108.2 kB / 0.5071 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.4509, allocations: 15.92 kB / 0.5071 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.4511, allocations: 39.89 kB / 0.5071 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.4512, allocations: 48.84 kB / 0.5072 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.4512, allocations: 12.12 kB / 0.5072 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.202e-05/0.4512, allocations: 11.62 kB / 0.5072 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.973e-05/0.4513, allocations: 22.33 kB / 0.5072 GB, free: 5.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.4513, allocations: 40.58 kB / 0.5072 GB, free: 5.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.4515, allocations: 95.78 kB / 0.5073 GB, free: 5.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4515, allocations: 0 / 0.5073 GB, free: 5.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4515, allocations: 0 / 0.5073 GB, free: 5.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.4515, allocations: 1.031 kB / 0.5073 GB, free: 5.902 MB / 382.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.0005883/0.4521, allocations: 420.7 kB / 0.5077 GB, free: 5.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4522, allocations: 12.86 kB / 0.5077 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.4522, allocations: 10.55 kB / 0.5078 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.4524, allocations: 198.1 kB / 0.5079 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.4524, allocations: 6.812 kB / 0.5079 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.4525, allocations: 11.2 kB / 0.508 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.4527, allocations: 94.67 kB / 0.5081 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4527, allocations: 4 kB / 0.5081 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.4528, allocations: 1.641 kB / 0.5081 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4528, allocations: 1.219 kB / 0.5081 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.453, allocations: 69 kB / 0.5081 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007345/0.4537, allocations: 466.5 kB / 0.5086 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.4541, allocations: 96.22 kB / 0.5087 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.4542, allocations: 38 kB / 0.5087 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.4542, allocations: 5 kB / 0.5087 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.4542, allocations: 32.45 kB / 0.5087 GB, free: 4.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.4542, allocations: 4 kB / 0.5087 GB, free: 4.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004397/0.4547, allocations: 132.9 kB / 0.5089 GB, free: 4.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.4547, allocations: 59.34 kB / 0.5089 GB, free: 4.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.4548, allocations: 143.6 kB / 0.5091 GB, free: 4.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.4549, allocations: 25.7 kB / 0.5091 GB, free: 4.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.4549, allocations: 107.1 kB / 0.5092 GB, free: 4.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.4549, allocations: 26.27 kB / 0.5092 GB, free: 4.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.455, allocations: 28.72 kB / 0.5092 GB, free: 4.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.4551, allocations: 320.7 kB / 0.5095 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.4552, allocations: 36.91 kB / 0.5096 GB, free: 3.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.4553, allocations: 56.11 kB / 0.5096 GB, free: 3.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.4556, allocations: 103 kB / 0.5097 GB, free: 3.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4556, allocations: 192 / 0.5097 GB, free: 3.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003069/0.4559, allocations: 126.7 kB / 0.5098 GB, free: 3.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4559, allocations: 14.5 kB / 0.5099 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.456, allocations: 1.125 kB / 0.5099 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.456, allocations: 1.188 kB / 0.5099 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.4561, allocations: 35.17 kB / 0.5099 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.4561, allocations: 2.578 kB / 0.5099 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.958e-05/0.4562, allocations: 15.8 kB / 0.5099 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.4563, allocations: 8.281 kB / 0.5099 GB, free: 3.742 MB / 382.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 8.686e-05/0.4564, allocations: 117.3 kB / 0.51 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.4564, allocations: 12.52 kB / 0.51 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.4567, allocations: 138.3 kB / 0.5102 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4568, allocations: 5.25 kB / 0.5102 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4568, allocations: 0 / 0.5102 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4568, allocations: 2.047 kB / 0.5102 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.457, allocations: 204.5 kB / 0.5104 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.457, allocations: 0 / 0.5104 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.4572, allocations: 27.86 kB / 0.5104 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.4572, allocations: 5.781 kB / 0.5104 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.4572, allocations: 0 / 0.5104 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4572, allocations: 9.609 kB / 0.5104 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.4572, allocations: 0 / 0.5104 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/0.4577, allocations: 254.7 kB / 0.5107 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.4577, allocations: 89.17 kB / 0.5108 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.4578, allocations: 1.781 kB / 0.5108 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.4579, allocations: 14.75 kB / 0.5108 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.4579, allocations: 4.391 kB / 0.5108 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.458, allocations: 2.766 kB / 0.5108 GB, free: 3.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.981e-05/0.458, allocations: 108.4 kB / 0.5109 GB, free: 2.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.458, allocations: 0 / 0.5109 GB, free: 2.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.4583, allocations: 20.91 kB / 0.5109 GB, free: 2.938 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 (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.825e-05/0.4584, allocations: 97.11 kB / 0.511 GB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.4587, allocations: 85.17 kB / 0.5111 GB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4587, allocations: 0 / 0.5111 GB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.4588, allocations: 42.66 kB / 0.5111 GB, free: 2.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.4591, allocations: 11.25 kB / 0.5111 GB, free: 2.809 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.4598, allocations: 334.6 kB / 0.5114 GB, free: 2.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/0.46, allocations: 0.6973 MB / 0.5121 GB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.094e-05/0.46, allocations: 9.766 kB / 0.5121 GB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.4601, allocations: 15.91 kB / 0.5121 GB, free: 1.859 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4601, allocations: 0 / 0.5121 GB, free: 1.859 MB / 382.1 MB Notification: Performance of Templates: time 0.004137/0.4642, allocations: 1.046 MB / 0.5132 GB, free: 1.758 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)