Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009028/0.0009029, allocations: 90.7 kB / 16.67 MB, free: 6.594 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.0008504/0.0008505, allocations: 184 kB / 17.58 MB, free: 6.188 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.359/1.359, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7511/0.7511, allocations: 115.5 MB / 408.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003435, allocations: 8 kB / 496.5 MB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4233, allocations: 77.51 MB / 0.5606 GB, free: 36.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.00819/0.4316, allocations: 7.271 MB / 0.5677 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.173/0.6046, allocations: 148.4 MB / 0.7126 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.6062, allocations: 23.88 kB / 0.7126 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.6073, allocations: 282.2 kB / 0.7129 GB, free: 6.887 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002823/0.6101, allocations: 0.7731 MB / 0.7137 GB, free: 6.113 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.613, allocations: 0.9758 MB / 0.7146 GB, free: 5.148 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00284/0.6158, allocations: 2.033 MB / 0.7166 GB, free: 3.105 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003128/0.619, allocations: 1.553 MB / 0.7181 GB, free: 1.484 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.62, allocations: 0.5054 MB / 0.7186 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.6213, allocations: 0.6376 MB / 0.7192 GB, free: 344 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002938/0.6216, allocations: 44 kB / 0.7193 GB, free: 300 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.6233, allocations: 0.6592 MB / 0.7199 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005048/0.6239, allocations: 338.6 kB / 0.7202 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007809/0.6246, allocations: 0.6539 MB / 0.7209 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.6268, allocations: 1.703 MB / 0.7225 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6268, allocations: 0 / 0.7225 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.617e-06/0.6268, allocations: 0 / 0.7225 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.195e-05/0.6269, allocations: 7.938 kB / 0.7226 GB, free: 12.92 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.002958/0.6298, allocations: 1.573 MB / 0.7241 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.6299, allocations: 15.97 kB / 0.7241 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.6313, allocations: 298.8 kB / 0.7244 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.6328, allocations: 0.9916 MB / 0.7254 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.809e-05/0.6329, allocations: 94.17 kB / 0.7254 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.6331, allocations: 112 kB / 0.7256 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.6354, allocations: 1.394 MB / 0.7269 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.6354, allocations: 0 / 0.7269 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.6355, allocations: 56 kB / 0.727 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.913e-05/0.6356, allocations: 62.06 kB / 0.727 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/0.6381, allocations: 1.522 MB / 0.7285 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007592/0.6457, allocations: 5.048 MB / 0.7334 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.6477, allocations: 1.103 MB / 0.7345 GB, free: 164 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007896/0.6485, allocations: 470.8 kB / 0.735 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/0.6487, allocations: 125.9 kB / 0.7351 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/0.6499, allocations: 0.6508 MB / 0.7357 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=103): time 3.547e-06/0.6499, allocations: 0 / 0.7357 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.005632/0.6555, allocations: 2.274 MB / 0.7379 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.6557, allocations: 244.3 kB / 0.7382 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.6571, allocations: 0.965 MB / 0.7391 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.6573, allocations: 45.7 kB / 0.7392 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004989/0.6578, allocations: 0.5585 MB / 0.7397 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000327/0.6581, allocations: 343.1 kB / 0.74 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.6582, allocations: 89.66 kB / 0.7401 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.6584, allocations: 341.9 kB / 0.7404 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007709/0.6592, allocations: 414.4 kB / 0.7408 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000899/0.6601, allocations: 0.5901 MB / 0.7414 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.6618, allocations: 0.98 MB / 0.7424 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.6618, allocations: 0 / 0.7424 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003218/0.665, allocations: 1.36 MB / 0.7437 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.6652, allocations: 180.6 kB / 0.7439 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.6652, allocations: 11.94 kB / 0.7439 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.6667, allocations: 264.4 kB / 0.7441 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.6677, allocations: 239.7 kB / 0.7444 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003132/0.6709, allocations: 1.987 MB / 0.7463 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.6721, allocations: 121.4 kB / 0.7464 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.6723, allocations: 47.97 kB / 0.7465 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.6724, allocations: 4 kB / 0.7465 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002082/0.6745, allocations: 1.031 MB / 0.7475 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.6745, allocations: 4 kB / 0.7475 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.6745, allocations: 8 kB / 0.7475 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009486/0.6755, allocations: 239.6 kB / 0.7477 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/0.6755, allocations: 8 kB / 0.7477 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.6766, allocations: 123.4 kB / 0.7478 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.6767, allocations: 47.97 kB / 0.7479 GB, free: 1.984 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (128): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008691/0.6776, allocations: 446.6 kB / 0.7483 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004485/0.678, allocations: 130.5 kB / 0.7484 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2813/0.9594, allocations: 1.475 MB / 0.7499 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/0.9594, allocations: 11.62 kB / 0.7499 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.9595, allocations: 1.297 kB / 0.7499 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-05/0.9595, allocations: 6.266 kB / 0.7499 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006854/0.9664, allocations: 2.84 MB / 0.7527 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.9664, allocations: 2.219 kB / 0.7527 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008752/0.9673, allocations: 197 kB / 0.7529 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008993/0.9682, allocations: 213 kB / 0.7531 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.9683, allocations: 32.59 kB / 0.7531 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.9703, allocations: 1.834 MB / 0.7549 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.9704, allocations: 4.969 kB / 0.7549 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003302/0.9737, allocations: 1.505 MB / 0.7564 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007364/0.9744, allocations: 363.8 kB / 0.7567 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/0.9747, allocations: 24.91 kB / 0.7567 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.9758, allocations: 112.2 kB / 0.7568 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/0.9761, allocations: 85.17 kB / 0.7569 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.9762, allocations: 48.69 kB / 0.757 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001249/0.9774, allocations: 0.6744 MB / 0.7576 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9774, allocations: 0 / 0.7576 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002079/0.9795, allocations: 0.5382 MB / 0.7582 GB, free: 168.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001724/0.9813, allocations: 0.6645 MB / 0.7588 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003579/0.9848, allocations: 1.748 MB / 0.7605 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.9849, allocations: 1.75 kB / 0.7605 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.9862, allocations: 0.6941 MB / 0.7612 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/0.9885, allocations: 341.4 kB / 0.7615 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005092/0.9936, allocations: 3.145 MB / 0.7646 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.9946, allocations: 1.221 MB / 0.7658 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000552/0.9952, allocations: 141 kB / 0.7659 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of SimCode: time 5.72e-07/0.9952, allocations: 1.594 kB / 0.7659 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.03794/1.033, allocations: 24.97 MB / 0.7903 GB, free: 152.4 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)