Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 293 MB / 309 MB, free: 4.828 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000989/0.0009891, allocations: 176.6 kB / 378.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.4 MB / 0.6383 GB, free: 9.09 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007485/0.0007486, allocations: 92.69 kB / 0.7527 GB, free: 62.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003747, allocations: 12 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.286, allocations: 116.4 MB / 0.9905 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.226/5.512, allocations: 2.108 GB / 3.098 GB, free: 106.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/5.512, allocations: 111.9 kB / 3.098 GB, free: 106.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1767/5.689, allocations: 63.5 MB / 3.16 GB, free: 43.03 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.691e-06/5.689, allocations: 0 / 3.16 GB, free: 43.03 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002121/5.689, allocations: 39.88 kB / 3.16 GB, free: 42.99 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.004716/5.694, allocations: 1.532 MB / 3.162 GB, free: 41.39 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/5.694, allocations: 8.031 kB / 3.162 GB, free: 41.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002421/5.697, allocations: 298.8 kB / 3.162 GB, free: 41.09 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/5.698, allocations: 0.8811 MB / 3.163 GB, free: 40.17 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.615e-05/5.699, allocations: 82.48 kB / 3.163 GB, free: 40.09 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/5.699, allocations: 100.4 kB / 3.163 GB, free: 39.99 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/5.701, allocations: 1.304 MB / 3.165 GB, free: 38.59 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/5.701, allocations: 7.938 kB / 3.165 GB, free: 38.59 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.973e-05/5.701, allocations: 47.92 kB / 3.165 GB, free: 38.54 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.49e-05/5.701, allocations: 61.97 kB / 3.165 GB, free: 38.48 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/5.703, allocations: 1.463 MB / 3.166 GB, free: 37.01 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005686/5.709, allocations: 4.709 MB / 3.171 GB, free: 32.05 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/5.71, allocations: 1.018 MB / 3.172 GB, free: 31.02 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005565/5.711, allocations: 436.5 kB / 3.172 GB, free: 30.59 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/5.711, allocations: 122 kB / 3.172 GB, free: 30.45 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007574/5.712, allocations: 0.5883 MB / 3.173 GB, free: 29.84 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.707e-06/5.712, allocations: 0 / 3.173 GB, free: 29.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.004221/5.716, allocations: 2.123 MB / 3.175 GB, free: 27.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.331e-05/5.716, allocations: 299.7 kB / 3.175 GB, free: 27.32 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/5.717, allocations: 0.978 MB / 3.176 GB, free: 26.32 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-05/5.718, allocations: 45.64 kB / 3.176 GB, free: 26.27 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/5.718, allocations: 0.5389 MB / 3.177 GB, free: 25.72 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/5.718, allocations: 315.4 kB / 3.177 GB, free: 25.41 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/5.718, allocations: 20 kB / 3.177 GB, free: 25.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.006e-05/5.718, allocations: 337.9 kB / 3.177 GB, free: 25.05 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/5.719, allocations: 357.8 kB / 3.178 GB, free: 24.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006023/5.719, allocations: 0.5407 MB / 3.178 GB, free: 24.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/5.72, allocations: 0.8893 MB / 3.179 GB, free: 23.17 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/5.72, allocations: 4 kB / 3.179 GB, free: 23.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002115/5.723, allocations: 1.219 MB / 3.18 GB, free: 21.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.4e-05/5.723, allocations: 171.6 kB / 3.18 GB, free: 21.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/5.723, allocations: 7.984 kB / 3.18 GB, free: 21.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/5.724, allocations: 264.4 kB / 3.181 GB, free: 21.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007371/5.725, allocations: 199.8 kB / 3.181 GB, free: 21.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/5.727, allocations: 1.987 MB / 3.183 GB, free: 19.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008078/5.728, allocations: 111.4 kB / 3.183 GB, free: 19.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/5.728, allocations: 35.98 kB / 3.183 GB, free: 18.99 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/5.728, allocations: 0 / 3.183 GB, free: 18.99 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001244/5.729, allocations: 0.8862 MB / 3.184 GB, free: 18.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/5.729, allocations: 4 kB / 3.184 GB, free: 18.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/5.729, allocations: 8.094 kB / 3.184 GB, free: 18.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/5.73, allocations: 215.6 kB / 3.184 GB, free: 17.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/5.73, allocations: 9.891 kB / 3.184 GB, free: 17.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005996/5.73, allocations: 99.66 kB / 3.184 GB, free: 17.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/5.73, allocations: 39.98 kB / 3.184 GB, free: 17.74 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007312/5.731, allocations: 424.8 kB / 3.185 GB, free: 17.31 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/5.731, allocations: 110.7 kB / 3.185 GB, free: 17.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/5.734, allocations: 1.392 MB / 3.186 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/5.734, allocations: 15.94 kB / 3.186 GB, free: 15.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/5.734, allocations: 3.938 kB / 3.186 GB, free: 15.78 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/5.734, allocations: 3.984 kB / 3.186 GB, free: 15.78 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003505/5.737, allocations: 2.718 MB / 3.189 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/5.737, allocations: 4 kB / 3.189 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006575/5.738, allocations: 195.7 kB / 3.189 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007208/5.739, allocations: 212.8 kB / 3.189 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/5.739, allocations: 27.98 kB / 3.189 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/5.74, allocations: 1.827 MB / 3.191 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/5.74, allocations: 4 kB / 3.191 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/5.742, allocations: 1.404 MB / 3.192 GB, free: 9.137 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004561/5.743, allocations: 355.2 kB / 3.193 GB, free: 8.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/5.743, allocations: 24 kB / 3.193 GB, free: 8.746 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006904/5.744, allocations: 99.89 kB / 3.193 GB, free: 8.648 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/5.744, allocations: 76.84 kB / 3.193 GB, free: 8.574 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.159e-05/5.744, allocations: 39.97 kB / 3.193 GB, free: 8.535 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007972/5.745, allocations: 0.6992 MB / 3.194 GB, free: 7.824 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/5.745, allocations: 0 / 3.194 GB, free: 7.824 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00148/5.746, allocations: 0.4998 MB / 3.194 GB, free: 7.324 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/5.748, allocations: 0.6096 MB / 3.195 GB, free: 6.844 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00243/5.75, allocations: 1.538 MB / 3.196 GB, free: 5.305 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/5.75, allocations: 192 / 3.196 GB, free: 5.305 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008261/5.751, allocations: 0.6524 MB / 3.197 GB, free: 4.637 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/5.753, allocations: 319.5 kB / 3.197 GB, free: 4.328 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/5.756, allocations: 2.859 MB / 3.2 GB, free: 1.422 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/5.757, allocations: 1.185 MB / 3.201 GB, free: 208 kB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.4607/6.217, allocations: 453.9 kB / 3.201 GB, free: 244.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/6.218, allocations: 116.2 kB / 3.202 GB, free: 244.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.243e-06/6.218, allocations: 0 / 3.202 GB, free: 244.5 MB / 0.948 GB Notification: Performance of Templates: time 0.03255/6.25, allocations: 17.39 MB / 3.219 GB, free: 243.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)