Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01047/0.01047, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.665/1.665, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003585, allocations: 8.656 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3892, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.0242/0.4135, allocations: 21.06 MB / 1.095 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1861/0.5996, allocations: 154.5 MB / 1.246 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002882/0.6025, allocations: 59.69 kB / 1.246 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.6046, allocations: 0.6212 MB / 1.246 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006317/0.6109, allocations: 1.846 MB / 1.248 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005384/0.6163, allocations: 1.935 MB / 1.25 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7576/1.374, allocations: 6.837 MB / 1.257 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01103/1.385, allocations: 6.672 MB / 1.263 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003822/1.389, allocations: 1.55 MB / 1.265 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004196/1.393, allocations: 2.058 MB / 1.267 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001183/1.394, allocations: 175.2 kB / 1.267 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004687/1.399, allocations: 1.048 MB / 1.268 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003052/1.402, allocations: 1.361 MB / 1.269 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005152/1.407, allocations: 1.768 MB / 1.271 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0124/1.42, allocations: 6.847 MB / 1.278 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.42, allocations: 0 / 1.278 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.456e-06/1.42, allocations: 1.25 kB / 1.278 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003166/1.42, allocations: 0 / 1.278 GB, free: 11.18 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 836 * Number of variables: 836 Notification: Performance of Generate backend data structure: time 0.01141/1.431, allocations: 3.396 MB / 1.281 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.431, allocations: 13.12 kB / 1.281 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005799/1.437, allocations: 0.8104 MB / 1.282 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007038/1.444, allocations: 2.456 MB / 1.284 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003682/1.445, allocations: 238.3 kB / 1.284 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002034/1.447, allocations: 306.9 kB / 1.285 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/1.461, allocations: 4.828 MB / 1.289 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/1.461, allocations: 9.375 kB / 1.289 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004601/1.461, allocations: 137.7 kB / 1.29 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004353/1.462, allocations: 214.6 kB / 1.29 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/1.472, allocations: 4.378 MB / 1.294 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03305/1.506, allocations: 19.88 MB / 1.313 GB, free: 13.56 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003997/1.51, allocations: 2.11 MB / 1.315 GB, free: 13.47 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/1.511, allocations: 1.153 MB / 1.317 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003065/1.512, allocations: 132 kB / 1.317 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002273/1.514, allocations: 1.292 MB / 1.318 GB, free: 13.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=169): time 1.956e-05/1.514, allocations: 0 / 1.318 GB, free: 13.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=206): time 0.04031/1.554, allocations: 11.46 MB / 1.329 GB, free: 11.05 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/1.555, allocations: 315.2 kB / 1.329 GB, free: 10.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004671/1.559, allocations: 2.121 MB / 1.332 GB, free: 10.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000669/1.56, allocations: 62.27 kB / 1.332 GB, free: 10.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001712/1.562, allocations: 1.51 MB / 1.333 GB, free: 9.316 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00149/1.563, allocations: 0.6839 MB / 1.334 GB, free: 8.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007534/1.564, allocations: 167.9 kB / 1.334 GB, free: 8.777 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.564, allocations: 308 kB / 1.334 GB, free: 8.477 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/1.567, allocations: 1.214 MB / 1.335 GB, free: 8.297 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/1.569, allocations: 1.664 MB / 1.337 GB, free: 7.66 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004478/1.574, allocations: 2.96 MB / 1.34 GB, free: 6.176 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/1.574, allocations: 2.969 kB / 1.34 GB, free: 6.176 MB / 1.014 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.01488/1.589, allocations: 5.26 MB / 1.345 GB, free: 3.473 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002716/1.589, allocations: 371.7 kB / 1.345 GB, free: 3.008 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/1.589, allocations: 9.438 kB / 1.345 GB, free: 3.008 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/1.6, allocations: 2.443 MB / 1.348 GB, free: 1.824 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/1.603, allocations: 486.8 kB / 1.348 GB, free: 1.719 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02037/1.623, allocations: 14.24 MB / 1.362 GB, free: 5.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003433/1.626, allocations: 211.9 kB / 1.362 GB, free: 5.719 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000401/1.627, allocations: 87.38 kB / 1.362 GB, free: 5.695 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/1.627, allocations: 3.5 kB / 1.362 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01197/1.639, allocations: 4.29 MB / 1.367 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/1.639, allocations: 14.62 kB / 1.367 GB, free: 3.508 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00742/1.646, allocations: 1.619 MB / 1.368 GB, free: 2.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/1.649, allocations: 0.492 MB / 1.369 GB, free: 2.605 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01472/1.664, allocations: 8.661 MB / 1.377 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003725/1.667, allocations: 195.8 kB / 1.377 GB, free: 9.973 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003485/1.668, allocations: 91.95 kB / 1.377 GB, free: 9.883 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,2), (2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003484/1.671, allocations: 1.274 MB / 1.379 GB, free: 8.621 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007571/1.672, allocations: 245 kB / 1.379 GB, free: 8.379 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01473/1.687, allocations: 5.292 MB / 1.384 GB, free: 3.07 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.332e-05/1.687, allocations: 24 kB / 1.384 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/1.687, allocations: 4 kB / 1.384 GB, free: 3.043 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.35e-05/1.687, allocations: 11.95 kB / 1.384 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02407/1.711, allocations: 10.05 MB / 1.394 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-05/1.711, allocations: 4 kB / 1.394 GB, free: 8.914 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/1.713, allocations: 400.8 kB / 1.394 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01029/1.723, allocations: 2.27 MB / 1.397 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004777/1.724, allocations: 59.91 kB / 1.397 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01938/1.743, allocations: 13.84 MB / 1.41 GB, free: 7.605 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/1.743, allocations: 10.91 kB / 1.41 GB, free: 7.598 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/1.758, allocations: 5.172 MB / 1.415 GB, free: 2.328 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/1.76, allocations: 0.7047 MB / 1.416 GB, free: 1.602 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005754/1.761, allocations: 47.98 kB / 1.416 GB, free: 1.555 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002182/1.763, allocations: 243.6 kB / 1.416 GB, free: 1.316 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000588/1.764, allocations: 171.5 kB / 1.416 GB, free: 1.152 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/1.764, allocations: 71.97 kB / 1.416 GB, free: 1.082 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002698/1.767, allocations: 1.506 MB / 1.418 GB, free: 15.56 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.5e-07/1.767, allocations: 2.906 kB / 1.418 GB, free: 15.56 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.005115/1.772, allocations: 1.293 MB / 1.419 GB, free: 14.27 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,2), (2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002171/1.774, allocations: 0.7966 MB / 1.42 GB, free: 13.77 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01389/1.788, allocations: 6.277 MB / 1.426 GB, free: 7.477 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/1.788, allocations: 0 / 1.426 GB, free: 7.477 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004277/1.792, allocations: 2.392 MB / 1.428 GB, free: 5.066 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005781/1.798, allocations: 0.6608 MB / 1.429 GB, free: 4.414 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/1.813, allocations: 8.494 MB / 1.437 GB, free: 11.84 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002843/1.816, allocations: 2.502 MB / 1.44 GB, free: 9.305 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003732/1.82, allocations: 1.022 MB / 1.441 GB, free: 8.277 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007107/1.82, allocations: 219.4 kB / 1.441 GB, free: 8.062 MB / 1.107 GB Notification: Performance of SimCode: time 8.11e-07/1.82, allocations: 0 / 1.441 GB, free: 8.062 MB / 1.107 GB Notification: Performance of Templates: time 0.09525/1.916, allocations: 53.37 MB / 1.493 GB, free: 3.215 MB / 1.154 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)