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.001124/0.001125, allocations: 110.1 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.001134/0.001134, 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.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.727/0.727, allocations: 115.3 MB / 407.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.91 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1678, allocations: 76.18 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.01079/0.1786, allocations: 7.773 MB / 0.6403 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.634/0.8127, allocations: 152.3 MB / 0.7891 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.8141, allocations: 27 kB / 0.7891 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.8161, allocations: 0.7389 MB / 0.7898 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.819, allocations: 0.8741 MB / 0.7907 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0027/0.8217, allocations: 1.112 MB / 0.7917 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002677/0.8244, allocations: 1.918 MB / 0.7936 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/0.8262, allocations: 1.358 MB / 0.7949 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009365/0.8271, allocations: 0.6889 MB / 0.7956 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009628/0.8281, allocations: 0.7816 MB / 0.7964 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002184/0.8283, allocations: 154.4 kB / 0.7965 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.8297, allocations: 0.7311 MB / 0.7972 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003709/0.8301, allocations: 470 kB / 0.7977 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000624/0.8307, allocations: 0.7697 MB / 0.7984 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002474/0.8332, allocations: 2.315 MB / 0.8007 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.8332, allocations: 3.625 kB / 0.8007 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8332, allocations: 0 / 0.8007 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.579e-05/0.8333, allocations: 3.062 kB / 0.8007 GB, free: 12.54 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.003316/0.8366, allocations: 1.869 MB / 0.8025 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.8367, allocations: 9.938 kB / 0.8025 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.8382, allocations: 293.4 kB / 0.8028 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.8397, allocations: 1.019 MB / 0.8038 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/0.8398, allocations: 83.38 kB / 0.8039 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.8399, allocations: 116.1 kB / 0.804 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.8421, allocations: 1.39 MB / 0.8054 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.8421, allocations: 3.031 kB / 0.8054 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.8422, allocations: 46.31 kB / 0.8054 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-05/0.8423, allocations: 66.16 kB / 0.8055 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/0.8445, allocations: 1.521 MB / 0.807 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006175/0.8507, allocations: 4.976 MB / 0.8118 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.8526, allocations: 1.089 MB / 0.8129 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007294/0.8533, allocations: 474.2 kB / 0.8133 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/0.8535, allocations: 118.8 kB / 0.8135 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/0.8546, allocations: 0.6563 MB / 0.8141 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=103): time 4.468e-06/0.8546, allocations: 0 / 0.8141 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of matching and sorting (n=104): time 0.005026/0.8596, allocations: 2.254 MB / 0.8163 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.8598, allocations: 246.5 kB / 0.8165 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.861, allocations: 0.961 MB / 0.8175 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-05/0.8611, allocations: 46.61 kB / 0.8175 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000462/0.8616, allocations: 0.5613 MB / 0.8181 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.8618, allocations: 341.6 kB / 0.8184 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003219/0.8622, allocations: 211.7 kB / 0.8186 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.8624, allocations: 348.3 kB / 0.8189 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000683/0.8631, allocations: 414.9 kB / 0.8193 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008585/0.8639, allocations: 0.5835 MB / 0.8199 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.8654, allocations: 0.9807 MB / 0.8208 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.8654, allocations: 3.375 kB / 0.8208 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002699/0.8682, allocations: 1.347 MB / 0.8222 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.8682, allocations: 8.875 kB / 0.8222 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.8682, allocations: 3.188 kB / 0.8222 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.8694, allocations: 266.5 kB / 0.8224 GB, free: 388 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008626/0.8703, allocations: 238.9 kB / 0.8227 GB, free: 320 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003046/0.8734, allocations: 2.128 MB / 0.8247 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009434/0.8743, allocations: 114.4 kB / 0.8248 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.623e-05/0.8744, allocations: 48.61 kB / 0.8249 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001207/0.8756, allocations: 0.6672 MB / 0.8255 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008471/0.8765, allocations: 0.5662 MB / 0.8261 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001493/0.878, allocations: 0.9404 MB / 0.827 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.228e-06/0.878, allocations: 2.406 kB / 0.827 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.001939/0.88, allocations: 1.138 MB / 0.8281 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.88, allocations: 7.688 kB / 0.8281 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.88, allocations: 2.062 kB / 0.8281 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.88, allocations: 12.64 kB / 0.8281 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008545/0.8809, allocations: 236 kB / 0.8284 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.8809, allocations: 15.31 kB / 0.8284 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008714/0.8818, allocations: 114.6 kB / 0.8285 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.94e-05/0.8819, allocations: 52.62 kB / 0.8285 GB, free: 12.3 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.0003222/0.8822, allocations: 253.6 kB / 0.8288 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.8824, allocations: 116.1 kB / 0.8289 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002934/0.8853, allocations: 1.47 MB / 0.8303 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.8854, allocations: 7.969 kB / 0.8303 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.8854, allocations: 2.75 kB / 0.8303 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/0.8858, allocations: 333.5 kB / 0.8307 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.886, allocations: 23.66 kB / 0.8307 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007805/0.8868, allocations: 101 kB / 0.8308 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.887, allocations: 81.84 kB / 0.8309 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002433/0.8894, allocations: 1.393 MB / 0.8322 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002763/0.8922, allocations: 1.911 MB / 0.8341 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007312/0.8929, allocations: 499.7 kB / 0.8346 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009642/0.8939, allocations: 0.6772 MB / 0.8352 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of Backend: time 6.51e-07/0.8939, allocations: 0 / 0.8352 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005411/0.8993, allocations: 2.288 MB / 0.8375 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of SimCode: time 0.004175/0.9035, allocations: 2.75 MB / 0.8401 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of Templates: time 0.04862/0.9522, allocations: 27.36 MB / 0.8669 GB, free: 6.457 MB / 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)