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.001252/0.001252, allocations: 113.2 kB / 17.09 MB, free: 5.984 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.001427/0.001427, allocations: 193.6 kB / 18.02 MB, free: 5.07 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.396/1.396, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7629/0.7629, allocations: 122.8 MB / 414.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 66.03 kB / 0.5691 GB, free: 28.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1743, allocations: 77.93 MB / 0.6452 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.00996/0.1844, allocations: 7.772 MB / 0.6528 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6211/0.8055, allocations: 152.3 MB / 0.8015 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.8069, allocations: 27.84 kB / 0.8016 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.8088, allocations: 0.7383 MB / 0.8023 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.8114, allocations: 0.8882 MB / 0.8031 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.814, allocations: 1.111 MB / 0.8042 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002763/0.8167, allocations: 1.926 MB / 0.8061 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00243/0.8192, allocations: 1.355 MB / 0.8074 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.8203, allocations: 0.6868 MB / 0.8081 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.8219, allocations: 0.7857 MB / 0.8089 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005504/0.8225, allocations: 152 kB / 0.809 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.8242, allocations: 0.728 MB / 0.8097 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006993/0.8249, allocations: 477.2 kB / 0.8102 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.8262, allocations: 0.7576 MB / 0.8109 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002955/0.8292, allocations: 2.325 MB / 0.8132 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.8292, allocations: 0 / 0.8132 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.92e-07/0.8292, allocations: 2.062 kB / 0.8132 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.188e-05/0.8292, allocations: 0 / 0.8132 GB, free: 10.59 MB / 0.5919 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.003129/0.8324, allocations: 1.875 MB / 0.815 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.8324, allocations: 7.469 kB / 0.815 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.8338, allocations: 290.9 kB / 0.8153 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.8354, allocations: 1.024 MB / 0.8163 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/0.8354, allocations: 83.78 kB / 0.8164 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.8356, allocations: 109.1 kB / 0.8165 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.8376, allocations: 1.392 MB / 0.8179 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.8377, allocations: 7.938 kB / 0.8179 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.8378, allocations: 51.67 kB / 0.8179 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.27e-05/0.8379, allocations: 66.7 kB / 0.818 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.8401, allocations: 1.515 MB / 0.8195 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006195/0.8463, allocations: 4.965 MB / 0.8243 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.8482, allocations: 1.101 MB / 0.8254 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007204/0.849, allocations: 463.9 kB / 0.8258 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/0.8492, allocations: 123.4 kB / 0.8259 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.8502, allocations: 0.6466 MB / 0.8266 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=103): time 2.585e-06/0.8503, allocations: 0 / 0.8266 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of matching and sorting (n=104): time 0.00497/0.8552, allocations: 2.261 MB / 0.8288 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.8554, allocations: 244.7 kB / 0.829 GB, free: 224 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.8566, allocations: 0.9595 MB / 0.83 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.08e-05/0.8567, allocations: 46.52 kB / 0.83 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/0.8572, allocations: 0.56 MB / 0.8305 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.8575, allocations: 344.6 kB / 0.8309 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/0.8578, allocations: 220.1 kB / 0.8311 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.8579, allocations: 346.1 kB / 0.8314 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007283/0.8587, allocations: 414.5 kB / 0.8318 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008819/0.8596, allocations: 0.585 MB / 0.8324 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.8611, allocations: 0.9802 MB / 0.8333 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8611, allocations: 0 / 0.8333 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002707/0.8639, allocations: 1.351 MB / 0.8347 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.8639, allocations: 5.219 kB / 0.8347 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.8639, allocations: 4.312 kB / 0.8347 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.8651, allocations: 267.2 kB / 0.8349 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009291/0.8661, allocations: 234.2 kB / 0.8351 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/0.8691, allocations: 2.122 MB / 0.8372 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.8702, allocations: 114 kB / 0.8373 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/0.8703, allocations: 52.44 kB / 0.8374 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001158/0.8714, allocations: 0.6588 MB / 0.838 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008377/0.8723, allocations: 0.5679 MB / 0.8386 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001488/0.8738, allocations: 0.9498 MB / 0.8395 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/0.8738, allocations: 0 / 0.8395 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.002/0.8758, allocations: 1.14 MB / 0.8406 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.8758, allocations: 8 kB / 0.8406 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.8758, allocations: 4 kB / 0.8406 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.8758, allocations: 8 kB / 0.8406 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009307/0.8768, allocations: 239.5 kB / 0.8409 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.8768, allocations: 8.406 kB / 0.8409 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009128/0.8777, allocations: 111.4 kB / 0.841 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.251e-05/0.8778, allocations: 52.11 kB / 0.841 GB, free: 7.207 MB / 0.6075 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.0003533/0.8782, allocations: 249.8 kB / 0.8413 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.8784, allocations: 122.6 kB / 0.8414 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/0.8814, allocations: 1.47 MB / 0.8428 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.8814, allocations: 7.984 kB / 0.8428 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8814, allocations: 0 / 0.8428 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/0.882, allocations: 335.2 kB / 0.8431 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.8822, allocations: 27.98 kB / 0.8432 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008163/0.883, allocations: 100.9 kB / 0.8433 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/0.8832, allocations: 84.83 kB / 0.8433 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002581/0.8858, allocations: 1.388 MB / 0.8447 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002836/0.8887, allocations: 1.907 MB / 0.8466 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008374/0.8895, allocations: 495.7 kB / 0.847 GB, free: 1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001243/0.8908, allocations: 0.6811 MB / 0.8477 GB, free: 316 kB / 0.6075 GB Notification: Performance of Backend: time 2.124e-06/0.8908, allocations: 0 / 0.8477 GB, free: 316 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006227/0.897, allocations: 2.295 MB / 0.8499 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of SimCode: time 0.005135/0.9022, allocations: 2.765 MB / 0.8526 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of Templates: time 0.0432/0.9454, allocations: 27.37 MB / 0.8794 GB, free: 384 kB / 0.6387 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)