Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001255/0.001255, allocations: 95.8 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 174.3 kB / 16.57 MB, free: 6.855 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.457/1.457, allocations: 223.2 MB / 240.5 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6923/0.6923, allocations: 113.8 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004016, allocations: 8 kB / 493.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1667, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02066/0.1874, allocations: 18.84 MB / 0.5752 GB, free: 8.719 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4991/0.6866, allocations: 134.7 MB / 0.7068 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002971/0.6896, allocations: 59.69 kB / 0.7069 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.6915, allocations: 0.5477 MB / 0.7074 GB, free: 200 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005829/0.6974, allocations: 1.633 MB / 0.709 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005038/0.7024, allocations: 1.602 MB / 0.7106 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005544/0.708, allocations: 2.734 MB / 0.7132 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008973/0.717, allocations: 5.784 MB / 0.7189 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/0.7201, allocations: 1.37 MB / 0.7202 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.7222, allocations: 1.471 MB / 0.7217 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004191/0.7226, allocations: 172 kB / 0.7218 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.7245, allocations: 0.6359 MB / 0.7224 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001212/0.7257, allocations: 1.266 MB / 0.7237 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008307/0.7265, allocations: 0.7185 MB / 0.7244 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005549/0.7321, allocations: 5.811 MB / 0.7301 GB, free: 8.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.7321, allocations: 0 / 0.7301 GB, free: 8.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.953e-06/0.7321, allocations: 0 / 0.7301 GB, free: 8.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000174/0.7323, allocations: 0 / 0.7301 GB, free: 8.93 MB / 0.545 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.009229/0.7415, allocations: 3.426 MB / 0.7334 GB, free: 5.441 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.7416, allocations: 12.03 kB / 0.7334 GB, free: 5.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004223/0.7458, allocations: 0.8498 MB / 0.7342 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005195/0.751, allocations: 2.388 MB / 0.7366 GB, free: 2.137 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.7512, allocations: 238.2 kB / 0.7368 GB, free: 1.902 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005511/0.7518, allocations: 312 kB / 0.7371 GB, free: 1.598 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00846/0.7603, allocations: 4.772 MB / 0.7418 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.664e-05/0.7604, allocations: 7.938 kB / 0.7418 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003183/0.7607, allocations: 136 kB / 0.7419 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003333/0.761, allocations: 214.1 kB / 0.7421 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006843/0.7679, allocations: 4.353 MB / 0.7463 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02356/0.7914, allocations: 19.72 MB / 0.7656 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/0.7948, allocations: 2.091 MB / 0.7677 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/0.795, allocations: 134.3 kB / 0.7678 GB, free: 472 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001754/0.7968, allocations: 1.286 MB / 0.769 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=169): time 3.126e-06/0.7968, allocations: 0 / 0.769 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=206): time 0.03503/0.8318, allocations: 11.44 MB / 0.7802 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/0.8321, allocations: 308.7 kB / 0.7805 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0035/0.8356, allocations: 2.114 MB / 0.7826 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004624/0.836, allocations: 65.7 kB / 0.7826 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001364/0.8374, allocations: 1.513 MB / 0.7841 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006626/0.8381, allocations: 0.6816 MB / 0.7848 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.8382, allocations: 40 kB / 0.7848 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.8384, allocations: 385.9 kB / 0.7852 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.8403, allocations: 1.183 MB / 0.7863 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/0.8424, allocations: 1.649 MB / 0.7879 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.8446, allocations: 1.419 MB / 0.7893 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.8446, allocations: 4 kB / 0.7893 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01308/0.8577, allocations: 5.187 MB / 0.7944 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.001297/0.859, allocations: 3.758 MB / 0.7981 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.859, allocations: 12 kB / 0.7981 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/0.8693, allocations: 2.455 MB / 0.8005 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.8714, allocations: 471.2 kB / 0.8009 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01903/0.8905, allocations: 14.66 MB / 0.8153 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/0.8931, allocations: 204.6 kB / 0.8154 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/0.8933, allocations: 83.97 kB / 0.8155 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.8933, allocations: 7.938 kB / 0.8155 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0101/0.9035, allocations: 4.214 MB / 0.8196 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.9035, allocations: 12 kB / 0.8197 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006615/0.9101, allocations: 1.621 MB / 0.8212 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/0.9123, allocations: 495.2 kB / 0.8217 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4057/1.318, allocations: 8.612 MB / 0.8301 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/1.322, allocations: 188 kB / 0.8303 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000538/1.322, allocations: 86.27 kB / 0.8304 GB, free: 218.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 233 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.003493/1.326, allocations: 1.266 MB / 0.8316 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008661/1.327, allocations: 239.4 kB / 0.8319 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01628/1.343, allocations: 5.3 MB / 0.837 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.712e-05/1.343, allocations: 21.52 kB / 0.837 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.516e-05/1.343, allocations: 10.53 kB / 0.8371 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.183e-05/1.343, allocations: 10.59 kB / 0.8371 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03189/1.375, allocations: 10.04 MB / 0.8469 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.697e-05/1.375, allocations: 12.05 kB / 0.8469 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/1.377, allocations: 394.7 kB / 0.8473 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009836/1.387, allocations: 2.264 MB / 0.8495 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007029/1.388, allocations: 56.98 kB / 0.8495 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01839/1.406, allocations: 14.26 MB / 0.8635 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-05/1.406, allocations: 10.88 kB / 0.8635 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/1.421, allocations: 5.609 MB / 0.8689 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002291/1.423, allocations: 0.6971 MB / 0.8696 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009852/1.424, allocations: 55.7 kB / 0.8697 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002593/1.427, allocations: 240.6 kB / 0.8699 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006966/1.428, allocations: 171.8 kB / 0.8701 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003123/1.428, allocations: 74.69 kB / 0.8701 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00305/1.431, allocations: 1.49 MB / 0.8716 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.31e-07/1.431, allocations: 0 / 0.8716 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006217/1.437, allocations: 1.254 MB / 0.8728 GB, free: 199.3 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002244/1.439, allocations: 0.8032 MB / 0.8736 GB, free: 199 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01043/1.45, allocations: 6.023 MB / 0.8795 GB, free: 195.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/1.45, allocations: 3.938 kB / 0.8795 GB, free: 195.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003648/1.454, allocations: 2.385 MB / 0.8818 GB, free: 193.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004045/1.458, allocations: 0.5869 MB / 0.8824 GB, free: 193.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/1.473, allocations: 8.137 MB / 0.8903 GB, free: 185.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003622/1.476, allocations: 2.577 MB / 0.8929 GB, free: 183.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003819/1.48, allocations: 1.018 MB / 0.8938 GB, free: 182.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009124/1.481, allocations: 215.4 kB / 0.8941 GB, free: 182 MB / 0.6387 GB Notification: Performance of SimCode: time 1.332e-06/1.481, allocations: 0 / 0.8941 GB, free: 182 MB / 0.6387 GB Notification: Performance of Templates: time 0.07753/1.559, allocations: 51.83 MB / 0.9447 GB, free: 130.6 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)