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.001238/0.001238, allocations: 107.3 kB / 15.99 MB, free: 5.906 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.001222/0.001222, allocations: 189.3 kB / 16.9 MB, free: 5.758 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.205/1.205, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6494/0.6494, allocations: 115.3 MB / 406.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 493.2 MB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3382, allocations: 76.17 MB / 0.556 GB, free: 36.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03259/0.3708, allocations: 36.89 MB / 0.5921 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01801/0.3889, allocations: 13.57 MB / 0.6053 GB, free: 1.605 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003599/0.3925, allocations: 97.47 kB / 0.6054 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004714/0.3972, allocations: 2.132 MB / 0.6075 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.4008, allocations: 1.324 MB / 0.6088 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007577/0.4084, allocations: 3.276 MB / 0.612 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00651/0.4149, allocations: 6.42 MB / 0.6183 GB, free: 4.801 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01513/0.4301, allocations: 11.97 MB / 0.6299 GB, free: 8.754 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003628/0.4337, allocations: 2.754 MB / 0.6326 GB, free: 5.992 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004478/0.4382, allocations: 3.377 MB / 0.6359 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.4396, allocations: 0.6172 MB / 0.6365 GB, free: 1.988 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002992/0.4426, allocations: 1.256 MB / 0.6378 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003483/0.4461, allocations: 2.48 MB / 0.6402 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004624/0.4507, allocations: 2.549 MB / 0.6427 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009734/0.4605, allocations: 9.166 MB / 0.6516 GB, free: 2.496 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4605, allocations: 0 / 0.6516 GB, free: 2.496 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4605, allocations: 0 / 0.6516 GB, free: 2.496 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002508/0.4608, allocations: 0 / 0.6516 GB, free: 2.496 MB / 494.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.009711/0.4705, allocations: 4.303 MB / 0.6558 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4706, allocations: 8.031 kB / 0.6558 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001373/0.4719, allocations: 0.6404 MB / 0.6565 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00452/0.4765, allocations: 1.03 MB / 0.6575 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003563/0.4801, allocations: 2.194 MB / 0.6596 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.4803, allocations: 325 kB / 0.6599 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007028/0.481, allocations: 440.2 kB / 0.6603 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01104/0.492, allocations: 7.401 MB / 0.6676 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.304e-05/0.4921, allocations: 11.88 kB / 0.6676 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004029/0.4926, allocations: 191.9 kB / 0.6678 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002648/0.4928, allocations: 290.9 kB / 0.668 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008323/0.5012, allocations: 6.026 MB / 0.6739 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02982/0.531, allocations: 32.71 MB / 0.7059 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002978/0.534, allocations: 2.138 MB / 0.7079 GB, free: 5.555 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.5354, allocations: 1.247 MB / 0.7092 GB, free: 4.293 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.5356, allocations: 114.1 kB / 0.7093 GB, free: 4.164 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.5356, allocations: 43.56 kB / 0.7093 GB, free: 4.113 MB / 0.545 GB Notification: Performance of pre-optimization done (n=98): time 2.624e-06/0.5356, allocations: 0 / 0.7093 GB, free: 4.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=101): time 0.006969/0.5426, allocations: 5.274 MB / 0.7145 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.5427, allocations: 137.5 kB / 0.7146 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.5444, allocations: 1.472 MB / 0.716 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.8e-05/0.5446, allocations: 53.64 kB / 0.7161 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.5456, allocations: 1.859 MB / 0.7179 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/0.5459, allocations: 382.8 kB / 0.7183 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006198/0.5465, allocations: 455.1 kB / 0.7187 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.245e-05/0.5466, allocations: 301.1 kB / 0.719 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.5482, allocations: 1.153 MB / 0.7201 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/0.5503, allocations: 2.211 MB / 0.7223 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003624/0.554, allocations: 3.442 MB / 0.7256 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.748e-05/0.554, allocations: 12 kB / 0.7256 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004615/0.5586, allocations: 3.359 MB / 0.7289 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.5587, allocations: 20 kB / 0.7289 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.406e-05/0.5587, allocations: 36 kB / 0.729 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.902e-05/0.5588, allocations: 55.92 kB / 0.729 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/0.561, allocations: 0.6321 MB / 0.7297 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.36e-05/0.561, allocations: 71.72 kB / 0.7297 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.5629, allocations: 326.7 kB / 0.73 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.5631, allocations: 120 kB / 0.7301 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003248/0.5663, allocations: 2.432 MB / 0.7325 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002202/0.5685, allocations: 2.035 MB / 0.7345 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003326/0.5719, allocations: 3.072 MB / 0.7375 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.794e-05/0.5719, allocations: 12 kB / 0.7375 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004304/0.5762, allocations: 2.976 MB / 0.7404 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.5762, allocations: 20 kB / 0.7404 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-05/0.5763, allocations: 36 kB / 0.7405 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.616e-05/0.5763, allocations: 48 kB / 0.7405 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.578, allocations: 0.5618 MB / 0.7411 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-05/0.5781, allocations: 75.72 kB / 0.7411 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.5798, allocations: 267 kB / 0.7414 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/0.5799, allocations: 112 kB / 0.7415 GB, free: 0.9414 MB / 0.5762 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.0004336/0.5804, allocations: 335.3 kB / 0.7418 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002843/0.5806, allocations: 154.1 kB / 0.742 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2389/0.8195, allocations: 2.247 MB / 0.7442 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.8196, allocations: 15.78 kB / 0.7442 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.8196, allocations: 1.125 kB / 0.7442 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/0.8196, allocations: 6.703 kB / 0.7442 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.8342, allocations: 10.99 MB / 0.7549 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.8343, allocations: 11.16 kB / 0.7549 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.8356, allocations: 390.4 kB / 0.7553 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.736e-05/0.8357, allocations: 16.31 kB / 0.7553 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-05/0.8357, allocations: 30.55 kB / 0.7553 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.726e-05/0.8358, allocations: 25.98 kB / 0.7554 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.8358, allocations: 17.75 kB / 0.7554 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/0.8386, allocations: 2.759 MB / 0.7581 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006776/0.8393, allocations: 453.5 kB / 0.7585 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/0.8395, allocations: 37.72 kB / 0.7586 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.8407, allocations: 177.1 kB / 0.7587 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.8409, allocations: 100.4 kB / 0.7588 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.896e-05/0.841, allocations: 43.97 kB / 0.7589 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001385/0.8423, allocations: 1.001 MB / 0.7598 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8424, allocations: 0.75 kB / 0.7598 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0034/0.8458, allocations: 1.132 MB / 0.7609 GB, free: 150.8 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.002898/0.8487, allocations: 3.353 MB / 0.7642 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005844/0.8545, allocations: 4.3 MB / 0.7684 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/0.8546, allocations: 2.375 kB / 0.7684 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.8557, allocations: 1.057 MB / 0.7695 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.8579, allocations: 440.9 kB / 0.7699 GB, free: 147 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02417/0.8821, allocations: 24.53 MB / 0.7938 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002318/0.8844, allocations: 2.868 MB / 0.7966 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002926/0.8874, allocations: 1.231 MB / 0.7978 GB, free: 125.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/0.8888, allocations: 1.276 MB / 0.7991 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.263e-06/0.8888, allocations: 0 / 0.7991 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3147/1.204, allocations: 46.56 MB / 0.8445 GB, free: 78.15 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/1.204, allocations: 217.6 kB / 0.8447 GB, free: 77.89 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/3.894, allocations: 0 / 0.8447 GB, free: 77.89 MB / 0.5762 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)