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.001144/0.001144, allocations: 103.5 kB / 16.27 MB, free: 5.98 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.001023/0.001023, allocations: 188.6 kB / 17.19 MB, free: 5.609 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.315/1.315, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7585/0.7585, allocations: 122.8 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 63.91 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3569, allocations: 77.92 MB / 0.5673 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03421/0.3912, allocations: 37.25 MB / 0.6037 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02246/0.4137, allocations: 13.7 MB / 0.6171 GB, free: 7.691 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00409/0.4178, allocations: 115.6 kB / 0.6172 GB, free: 7.578 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005988/0.4239, allocations: 2.282 MB / 0.6194 GB, free: 5.301 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004519/0.4284, allocations: 1.432 MB / 0.6208 GB, free: 3.871 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008398/0.4368, allocations: 3.515 MB / 0.6242 GB, free: 380 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00678/0.4436, allocations: 6.381 MB / 0.6305 GB, free: 9.977 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01157/0.4552, allocations: 10.03 MB / 0.6403 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003645/0.4589, allocations: 2.72 MB / 0.6429 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004585/0.4635, allocations: 3.202 MB / 0.646 GB, free: 9.914 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001815/0.4653, allocations: 0.6172 MB / 0.6466 GB, free: 9.297 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003268/0.4686, allocations: 1.264 MB / 0.6479 GB, free: 8.031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003323/0.4719, allocations: 2.476 MB / 0.6503 GB, free: 5.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00438/0.4763, allocations: 2.553 MB / 0.6528 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009102/0.4854, allocations: 9.096 MB / 0.6617 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4855, allocations: 8 kB / 0.6617 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4855, allocations: 0 / 0.6617 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002685/0.4857, allocations: 0 / 0.6617 GB, free: 9.855 MB / 0.4981 GB 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.009849/0.4956, allocations: 4.302 MB / 0.6659 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.4957, allocations: 16.62 kB / 0.6659 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001496/0.4972, allocations: 0.6365 MB / 0.6665 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004709/0.5019, allocations: 1.03 MB / 0.6675 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003991/0.5059, allocations: 2.191 MB / 0.6697 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/0.5061, allocations: 329 kB / 0.67 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008134/0.507, allocations: 420.3 kB / 0.6704 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01336/0.5203, allocations: 7.42 MB / 0.6776 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/0.5205, allocations: 11.94 kB / 0.6776 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00067/0.5212, allocations: 180 kB / 0.6778 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000299/0.5215, allocations: 290.9 kB / 0.6781 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.532, allocations: 6.018 MB / 0.684 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03687/0.5688, allocations: 32.72 MB / 0.7159 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/0.5723, allocations: 2.138 MB / 0.718 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/0.5742, allocations: 1.247 MB / 0.7192 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/0.5744, allocations: 102.1 kB / 0.7193 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.5745, allocations: 51.48 kB / 0.7194 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=98): time 3.757e-06/0.5745, allocations: 0 / 0.7194 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=101): time 0.009123/0.5836, allocations: 5.273 MB / 0.7245 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.5837, allocations: 146.1 kB / 0.7247 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.5858, allocations: 1.472 MB / 0.7261 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.586, allocations: 41.7 kB / 0.7261 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.5871, allocations: 1.863 MB / 0.7279 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004375/0.5876, allocations: 367 kB / 0.7283 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000769/0.5884, allocations: 467.1 kB / 0.7287 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.5885, allocations: 301.1 kB / 0.729 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.5902, allocations: 1.145 MB / 0.7301 GB, free: 288 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002535/0.5927, allocations: 2.207 MB / 0.7323 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004543/0.5973, allocations: 3.438 MB / 0.7357 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-05/0.5973, allocations: 11.94 kB / 0.7357 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005256/0.6026, allocations: 3.378 MB / 0.739 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.6027, allocations: 20 kB / 0.739 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-05/0.6027, allocations: 32 kB / 0.739 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.846e-05/0.6028, allocations: 55.97 kB / 0.7391 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/0.6049, allocations: 0.6278 MB / 0.7397 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.37e-05/0.605, allocations: 63.78 kB / 0.7397 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.6071, allocations: 326.7 kB / 0.7401 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.6073, allocations: 120 kB / 0.7402 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003512/0.6108, allocations: 2.432 MB / 0.7425 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.2796/0.8904, allocations: 2.042 MB / 0.7445 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005037/0.8955, allocations: 3.061 MB / 0.7475 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.17e-05/0.8956, allocations: 10.31 kB / 0.7475 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.006035/0.9016, allocations: 2.982 MB / 0.7505 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.9017, allocations: 19.97 kB / 0.7505 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.129e-05/0.9018, allocations: 36.2 kB / 0.7505 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-05/0.9019, allocations: 47.78 kB / 0.7506 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/0.9039, allocations: 0.5695 MB / 0.7511 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.171e-05/0.904, allocations: 73.23 kB / 0.7512 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/0.906, allocations: 262.8 kB / 0.7514 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.9061, allocations: 113.1 kB / 0.7515 GB, free: 149.6 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.0004606/0.9066, allocations: 340.2 kB / 0.7519 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.9069, allocations: 153.7 kB / 0.752 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003386/0.9103, allocations: 2.249 MB / 0.7542 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.9103, allocations: 15.38 kB / 0.7542 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.9103, allocations: 2.328 kB / 0.7542 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.9104, allocations: 5.953 kB / 0.7542 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/0.9249, allocations: 10.99 MB / 0.765 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.124e-05/0.925, allocations: 15.84 kB / 0.765 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.9265, allocations: 391.2 kB / 0.7653 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.465e-05/0.9265, allocations: 16.69 kB / 0.7654 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.9266, allocations: 32.72 kB / 0.7654 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.432e-05/0.9267, allocations: 20.09 kB / 0.7654 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.554e-05/0.9267, allocations: 23.03 kB / 0.7654 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003351/0.9301, allocations: 2.758 MB / 0.7681 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007942/0.9309, allocations: 459 kB / 0.7686 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003569/0.9312, allocations: 36.44 kB / 0.7686 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.9327, allocations: 179.3 kB / 0.7688 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/0.9329, allocations: 96.92 kB / 0.7689 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.385e-05/0.933, allocations: 39.72 kB / 0.7689 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001634/0.9346, allocations: 1.008 MB / 0.7699 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9346, allocations: 0 / 0.7699 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004412/0.9391, allocations: 1.135 MB / 0.771 GB, free: 142.1 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.002919/0.942, allocations: 3.352 MB / 0.7743 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005305/0.9473, allocations: 4.288 MB / 0.7785 GB, free: 138 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.9473, allocations: 0 / 0.7785 GB, free: 138 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.9484, allocations: 1.06 MB / 0.7795 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.9508, allocations: 452.4 kB / 0.7799 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02949/0.9803, allocations: 22.86 MB / 0.8022 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003154/0.9834, allocations: 2.87 MB / 0.805 GB, free: 110 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002794/0.9863, allocations: 1.228 MB / 0.8062 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/0.9877, allocations: 1.28 MB / 0.8075 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of SimCode: time 7.91e-07/0.9877, allocations: 0 / 0.8075 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06638/1.054, allocations: 46.73 MB / 0.8531 GB, free: 61.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/9.193, allocations: 7.922 kB / 0.8531 GB, free: 61.2 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)