Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0009744/0.0009744, 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.006928/0.006928, 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.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003512, allocations: 9.188 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3411, 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.02583/0.367, allocations: 21.06 MB / 1.095 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.2077/0.5747, allocations: 154.5 MB / 1.246 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003142/0.5779, allocations: 63.69 kB / 1.246 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.58, allocations: 0.6173 MB / 1.246 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006606/0.5866, allocations: 1.846 MB / 1.248 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005605/0.5923, allocations: 1.933 MB / 1.25 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.8324/1.425, allocations: 6.837 MB / 1.257 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01108/1.436, allocations: 6.671 MB / 1.263 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003862/1.44, allocations: 1.557 MB / 1.265 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004188/1.444, allocations: 2.058 MB / 1.267 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007217/1.445, allocations: 169.8 kB / 1.267 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/1.448, allocations: 1.049 MB / 1.268 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002183/1.45, allocations: 1.359 MB / 1.269 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003243/1.453, allocations: 1.769 MB / 1.271 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01144/1.465, allocations: 6.847 MB / 1.278 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.465, allocations: 0 / 1.278 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.435e-06/1.465, allocations: 0 / 1.278 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000238/1.465, allocations: 1.594 kB / 1.278 GB, free: 10.7 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.009942/1.475, allocations: 3.397 MB / 1.281 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/1.475, allocations: 10 kB / 1.281 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005016/1.48, allocations: 0.8122 MB / 1.282 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005638/1.486, allocations: 2.453 MB / 1.284 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/1.486, allocations: 243.7 kB / 1.284 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008851/1.487, allocations: 310.5 kB / 1.285 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/1.497, allocations: 4.825 MB / 1.289 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.521e-05/1.497, allocations: 9.031 kB / 1.289 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004073/1.497, allocations: 131.8 kB / 1.29 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003996/1.498, allocations: 217.2 kB / 1.29 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008565/1.506, allocations: 4.378 MB / 1.294 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02584/1.532, allocations: 19.89 MB / 1.313 GB, free: 13.08 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/1.535, allocations: 2.111 MB / 1.315 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/1.537, allocations: 1.147 MB / 1.317 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002411/1.537, allocations: 142.2 kB / 1.317 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001685/1.539, allocations: 1.283 MB / 1.318 GB, free: 12.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=169): time 3.537e-06/1.539, allocations: 3.188 kB / 1.318 GB, free: 12.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=206): time 0.03574/1.574, allocations: 11.46 MB / 1.329 GB, free: 10.53 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/1.575, allocations: 311 kB / 1.329 GB, free: 10.19 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003391/1.578, allocations: 2.129 MB / 1.332 GB, free: 9.637 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000554/1.579, allocations: 65.8 kB / 1.332 GB, free: 9.605 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001641/1.58, allocations: 1.505 MB / 1.333 GB, free: 8.797 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008339/1.581, allocations: 0.6844 MB / 1.334 GB, free: 8.301 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/1.581, allocations: 166.8 kB / 1.334 GB, free: 8.262 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/1.581, allocations: 307.1 kB / 1.334 GB, free: 7.961 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/1.583, allocations: 1.214 MB / 1.335 GB, free: 7.781 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/1.585, allocations: 1.668 MB / 1.337 GB, free: 7.145 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003982/1.589, allocations: 2.95 MB / 1.34 GB, free: 6.035 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.589, allocations: 3.094 kB / 1.34 GB, free: 6.035 MB / 1.014 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.01429/1.604, allocations: 5.268 MB / 1.345 GB, free: 3.328 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002992/1.604, allocations: 371.9 kB / 1.345 GB, free: 2.863 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/1.604, allocations: 8.062 kB / 1.345 GB, free: 2.863 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/1.615, allocations: 2.45 MB / 1.348 GB, free: 1.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/1.617, allocations: 481.6 kB / 1.348 GB, free: 1.574 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01895/1.636, allocations: 14.24 MB / 1.362 GB, free: 5.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/1.639, allocations: 209.1 kB / 1.362 GB, free: 5.578 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002848/1.64, allocations: 91.61 kB / 1.362 GB, free: 5.551 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/1.64, allocations: 7.156 kB / 1.362 GB, free: 5.551 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01141/1.651, allocations: 4.282 MB / 1.367 GB, free: 3.375 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/1.651, allocations: 14.89 kB / 1.367 GB, free: 3.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007022/1.658, allocations: 1.623 MB / 1.368 GB, free: 2.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002862/1.661, allocations: 0.4898 MB / 1.369 GB, free: 2.465 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/1.676, allocations: 8.663 MB / 1.377 GB, free: 9.977 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/1.679, allocations: 198.6 kB / 1.377 GB, free: 9.785 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002565/1.68, allocations: 87.97 kB / 1.377 GB, free: 9.699 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.003448/1.683, allocations: 1.278 MB / 1.379 GB, free: 8.434 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006787/1.684, allocations: 241 kB / 1.379 GB, free: 8.195 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01422/1.698, allocations: 5.3 MB / 1.384 GB, free: 2.879 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/1.698, allocations: 20 kB / 1.384 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/1.698, allocations: 4 kB / 1.384 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.743e-05/1.698, allocations: 11.97 kB / 1.384 GB, free: 2.844 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02338/1.722, allocations: 10.05 MB / 1.394 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.722, allocations: 8 kB / 1.394 GB, free: 8.723 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/1.723, allocations: 396.8 kB / 1.394 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009674/1.733, allocations: 2.266 MB / 1.397 GB, free: 6.074 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002581/1.733, allocations: 55.92 kB / 1.397 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/1.751, allocations: 13.85 MB / 1.41 GB, free: 7.418 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.751, allocations: 14.97 kB / 1.41 GB, free: 7.406 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01978/1.771, allocations: 5.172 MB / 1.415 GB, free: 2.137 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003378/1.774, allocations: 0.6969 MB / 1.416 GB, free: 1.418 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008381/1.775, allocations: 51.98 kB / 1.416 GB, free: 1.367 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003103/1.778, allocations: 235.6 kB / 1.416 GB, free: 1.137 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007579/1.779, allocations: 179.5 kB / 1.416 GB, free: 0.9648 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002641/1.779, allocations: 75.97 kB / 1.416 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003801/1.783, allocations: 1.493 MB / 1.418 GB, free: 15.38 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.71e-07/1.783, allocations: 0 / 1.418 GB, free: 15.38 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00762/1.79, allocations: 1.304 MB / 1.419 GB, free: 14.08 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.003579/1.794, allocations: 0.7992 MB / 1.42 GB, free: 13.58 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02246/1.817, allocations: 6.27 MB / 1.426 GB, free: 7.293 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.937e-05/1.817, allocations: 4 kB / 1.426 GB, free: 7.289 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.007403/1.824, allocations: 2.395 MB / 1.428 GB, free: 4.879 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01053/1.835, allocations: 0.6569 MB / 1.429 GB, free: 4.23 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02924/1.864, allocations: 8.488 MB / 1.437 GB, free: 11.68 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005707/1.87, allocations: 2.509 MB / 1.44 GB, free: 9.129 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.008099/1.878, allocations: 1.018 MB / 1.441 GB, free: 8.105 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/1.879, allocations: 219.4 kB / 1.441 GB, free: 7.891 MB / 1.107 GB Notification: Performance of SimCode: time 1.563e-06/1.879, allocations: 0 / 1.441 GB, free: 7.891 MB / 1.107 GB Notification: Performance of Templates: time 0.1776/2.057, allocations: 53.38 MB / 1.493 GB, free: 3.039 MB / 1.154 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)