Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007663/0.0007663, allocations: 93.11 kB / 16.02 MB, free: 84 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.0008461/0.0008461, allocations: 182 kB / 16.92 MB, free: 6.934 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.317/1.317, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6654/0.6654, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003042, allocations: 8 kB / 496 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.149, allocations: 77.53 MB / 0.5601 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.3084/0.4574, allocations: 35.99 MB / 0.5952 GB, free: 17.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02019/0.4776, allocations: 13.48 MB / 0.6084 GB, free: 9.902 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003977/0.4817, allocations: 96.66 kB / 0.6085 GB, free: 9.879 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.4835, allocations: 0.5963 MB / 0.609 GB, free: 9.523 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004728/0.4883, allocations: 1.338 MB / 0.6103 GB, free: 8.781 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005936/0.4942, allocations: 1.927 MB / 0.6122 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01219/0.5064, allocations: 9.577 MB / 0.6216 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01569/0.5221, allocations: 11.92 MB / 0.6332 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/0.5256, allocations: 1.833 MB / 0.635 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004229/0.5298, allocations: 2.702 MB / 0.6377 GB, free: 7.848 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005459/0.5304, allocations: 263.9 kB / 0.6379 GB, free: 7.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.5327, allocations: 1.053 MB / 0.6389 GB, free: 6.535 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001898/0.5346, allocations: 1.996 MB / 0.6409 GB, free: 4.535 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002421/0.537, allocations: 2.019 MB / 0.6429 GB, free: 2.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009234/0.5462, allocations: 8.674 MB / 0.6513 GB, free: 9.801 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.5463, allocations: 3.984 kB / 0.6513 GB, free: 9.797 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.588e-06/0.5463, allocations: 0 / 0.6513 GB, free: 9.797 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000354/0.5467, allocations: 0 / 0.6513 GB, free: 9.797 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.008877/0.5556, allocations: 3.401 MB / 0.6546 GB, free: 6.328 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.5556, allocations: 12.03 kB / 0.6547 GB, free: 6.316 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001768/0.5574, allocations: 0.6404 MB / 0.6553 GB, free: 5.664 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004217/0.5616, allocations: 0.9404 MB / 0.6562 GB, free: 4.719 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003712/0.5654, allocations: 2.187 MB / 0.6583 GB, free: 2.488 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.5656, allocations: 325 kB / 0.6586 GB, free: 2.168 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007649/0.5664, allocations: 432.3 kB / 0.6591 GB, free: 1.746 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.5776, allocations: 7.358 MB / 0.6662 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.794e-05/0.5778, allocations: 15.84 kB / 0.6663 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004161/0.5782, allocations: 184 kB / 0.6664 GB, free: 9.957 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002883/0.5785, allocations: 294.9 kB / 0.6667 GB, free: 9.668 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008573/0.5871, allocations: 5.956 MB / 0.6725 GB, free: 3.695 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03172/0.6188, allocations: 32.64 MB / 0.7044 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/0.6218, allocations: 2.115 MB / 0.7065 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.6233, allocations: 1.235 MB / 0.7077 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.6234, allocations: 102 kB / 0.7078 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.6235, allocations: 43.56 kB / 0.7078 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=98): time 2.325e-06/0.6235, allocations: 0 / 0.7078 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=101): time 0.006835/0.6303, allocations: 5.246 MB / 0.7129 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/0.6304, allocations: 150 kB / 0.7131 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.6321, allocations: 1.449 MB / 0.7145 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.843e-05/0.6322, allocations: 49.7 kB / 0.7145 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.6333, allocations: 1.863 MB / 0.7164 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/0.6336, allocations: 374.9 kB / 0.7167 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.6338, allocations: 169.8 kB / 0.7169 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.6339, allocations: 305.1 kB / 0.7172 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.6354, allocations: 1.113 MB / 0.7183 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/0.6375, allocations: 2.188 MB / 0.7204 GB, free: 15.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003648/0.6412, allocations: 3.403 MB / 0.7237 GB, free: 11.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/0.6412, allocations: 12 kB / 0.7237 GB, free: 11.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004485/0.6457, allocations: 3.312 MB / 0.727 GB, free: 7.883 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006638/0.6464, allocations: 1.096 MB / 0.728 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.092e-05/0.6464, allocations: 35.94 kB / 0.7281 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.946e-05/0.6465, allocations: 48 kB / 0.7281 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/0.6485, allocations: 0.62 MB / 0.7287 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-05/0.6486, allocations: 63.8 kB / 0.7288 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.6503, allocations: 314.7 kB / 0.7291 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.6504, allocations: 116 kB / 0.7292 GB, free: 5.125 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.6505, allocations: 4 kB / 0.7292 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003541/0.654, allocations: 2.754 MB / 0.7319 GB, free: 2.367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.414e-05/0.654, allocations: 36.19 kB / 0.7319 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.651e-05/0.6541, allocations: 52 kB / 0.732 GB, free: 2.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.6557, allocations: 0.5498 MB / 0.7325 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.541e-05/0.6558, allocations: 63.78 kB / 0.7326 GB, free: 1.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.6571, allocations: 235 kB / 0.7328 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.6572, allocations: 108 kB / 0.7329 GB, free: 1.332 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002446/0.6597, allocations: 1.714 MB / 0.7346 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002931/0.66, allocations: 154.1 kB / 0.7347 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003162/0.6631, allocations: 2.227 MB / 0.7369 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.6632, allocations: 12 kB / 0.7369 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.6632, allocations: 7.938 kB / 0.7369 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.6632, allocations: 3.984 kB / 0.7369 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/0.6768, allocations: 10.97 MB / 0.7476 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/0.6769, allocations: 15.94 kB / 0.7476 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/0.6784, allocations: 387.3 kB / 0.748 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/0.6784, allocations: 16 kB / 0.748 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.107e-05/0.6785, allocations: 32 kB / 0.7481 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.97e-05/0.6785, allocations: 23.92 kB / 0.7481 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/0.6785, allocations: 19.94 kB / 0.7481 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003436/0.682, allocations: 2.755 MB / 0.7508 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007575/0.6827, allocations: 474.7 kB / 0.7512 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.6829, allocations: 35.98 kB / 0.7513 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.684, allocations: 171.7 kB / 0.7514 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.6842, allocations: 96.16 kB / 0.7515 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.832e-05/0.6843, allocations: 48 kB / 0.7516 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001371/0.6857, allocations: 0.9703 MB / 0.7525 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6857, allocations: 0 / 0.7525 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003707/0.6894, allocations: 1.125 MB / 0.7536 GB, free: 11.64 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003403/0.6928, allocations: 3.352 MB / 0.7569 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005403/0.6982, allocations: 3.985 MB / 0.7608 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.6982, allocations: 0 / 0.7608 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.6996, allocations: 1.06 MB / 0.7618 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004294/0.7039, allocations: 419.4 kB / 0.7622 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03408/0.738, allocations: 24.35 MB / 0.786 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002939/0.7409, allocations: 2.864 MB / 0.7888 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002892/0.7439, allocations: 1.204 MB / 0.79 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/0.7454, allocations: 1.272 MB / 0.7912 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of SimCode: time 1.914e-06/0.7455, allocations: 0 / 0.7912 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.329/1.074, allocations: 44.34 MB / 0.8345 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/1.075, allocations: 212.8 kB / 0.8347 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.479/3.553, allocations: 2.25 kB / 0.8347 GB, free: 208.8 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)