Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.001105/0.001105, allocations: 101.8 kB / 16.27 MB, free: 5.93 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.00114/0.00114, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.257/1.257, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7597/0.7597, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 68.08 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4082, allocations: 77.92 MB / 0.5673 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02293/0.4312, allocations: 20.41 MB / 0.5872 GB, free: 18.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.4451, allocations: 7.7 MB / 0.5947 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002662/0.4478, allocations: 61.22 kB / 0.5948 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003608/0.4515, allocations: 1.347 MB / 0.5961 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002879/0.4544, allocations: 0.9967 MB / 0.5971 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004666/0.4591, allocations: 2.003 MB / 0.599 GB, free: 9.453 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004447/0.4636, allocations: 4.324 MB / 0.6033 GB, free: 5.945 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007123/0.4707, allocations: 6.257 MB / 0.6094 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.4738, allocations: 1.835 MB / 0.6112 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003825/0.4777, allocations: 2.197 MB / 0.6133 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.4791, allocations: 428 kB / 0.6137 GB, free: 11.22 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.482, allocations: 0.9441 MB / 0.6146 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002529/0.4845, allocations: 1.653 MB / 0.6163 GB, free: 8.617 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00359/0.4881, allocations: 1.72 MB / 0.6179 GB, free: 6.891 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008602/0.4967, allocations: 6.143 MB / 0.6239 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.4968, allocations: 4 kB / 0.6239 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4968, allocations: 4 kB / 0.6239 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001852/0.497, allocations: 0 / 0.6239 GB, free: 0.7227 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.007271/0.5043, allocations: 3.047 MB / 0.6269 GB, free: 13.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.5043, allocations: 8.625 kB / 0.6269 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006194/0.505, allocations: 446 kB / 0.6274 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00364/0.5086, allocations: 0.7507 MB / 0.6281 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/0.5117, allocations: 1.536 MB / 0.6296 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/0.5119, allocations: 222.1 kB / 0.6298 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005093/0.5124, allocations: 288.3 kB / 0.6301 GB, free: 10.33 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008713/0.5211, allocations: 5.082 MB / 0.635 GB, free: 5.059 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-05/0.5212, allocations: 15.86 kB / 0.6351 GB, free: 5.043 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003201/0.5215, allocations: 120 kB / 0.6352 GB, free: 4.926 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002455/0.5218, allocations: 208.6 kB / 0.6354 GB, free: 4.719 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007626/0.5294, allocations: 4.22 MB / 0.6395 GB, free: 492 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02614/0.5556, allocations: 23.07 MB / 0.662 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002974/0.5586, allocations: 1.739 MB / 0.6637 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/0.5604, allocations: 1.13 MB / 0.6648 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.5606, allocations: 101.7 kB / 0.6649 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/0.5606, allocations: 51.16 kB / 0.665 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=84): time 2.695e-06/0.5606, allocations: 0 / 0.665 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=87): time 0.006977/0.5676, allocations: 4.009 MB / 0.6689 GB, free: 140 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.813e-05/0.5678, allocations: 137.2 kB / 0.669 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.569, allocations: 0.8681 MB / 0.6699 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.115e-05/0.5691, allocations: 37.7 kB / 0.6699 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007562/0.5699, allocations: 1.162 MB / 0.671 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003272/0.5702, allocations: 311.5 kB / 0.6713 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004711/0.5707, allocations: 282.5 kB / 0.6716 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.5709, allocations: 406.7 kB / 0.672 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.5723, allocations: 0.8218 MB / 0.6728 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.574, allocations: 1.314 MB / 0.6741 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003086/0.5771, allocations: 2.159 MB / 0.6762 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.5772, allocations: 12 kB / 0.6762 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00377/0.5809, allocations: 2.214 MB / 0.6783 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.581, allocations: 12 kB / 0.6784 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.581, allocations: 12 kB / 0.6784 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.643e-05/0.5811, allocations: 20 kB / 0.6784 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.5827, allocations: 419.8 kB / 0.6788 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.229e-05/0.5828, allocations: 27.92 kB / 0.6788 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.5843, allocations: 211.3 kB / 0.679 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.5844, allocations: 59.98 kB / 0.6791 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002886/0.5873, allocations: 1.681 MB / 0.6807 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001487/0.5888, allocations: 1.194 MB / 0.6819 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002574/0.5914, allocations: 1.902 MB / 0.6837 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-05/0.5914, allocations: 4 kB / 0.6837 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003199/0.5946, allocations: 1.933 MB / 0.6856 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.5947, allocations: 13 kB / 0.6856 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.5947, allocations: 16 kB / 0.6857 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.5947, allocations: 24 kB / 0.6857 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.5962, allocations: 363.4 kB / 0.686 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.963e-05/0.5962, allocations: 35.86 kB / 0.6861 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.5976, allocations: 179.3 kB / 0.6862 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.5977, allocations: 60 kB / 0.6863 GB, free: 13.33 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.0004096/0.5981, allocations: 267.8 kB / 0.6865 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/0.5984, allocations: 102.8 kB / 0.6866 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/0.6015, allocations: 1.854 MB / 0.6885 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.6015, allocations: 8 kB / 0.6885 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.6015, allocations: 0 / 0.6885 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.6015, allocations: 11.98 kB / 0.6885 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.6148, allocations: 9.588 MB / 0.6978 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/0.6149, allocations: 12 kB / 0.6979 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.6162, allocations: 315.5 kB / 0.6982 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.68e-05/0.6162, allocations: 16 kB / 0.6982 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.884e-05/0.6163, allocations: 28 kB / 0.6982 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.929e-05/0.6163, allocations: 27.86 kB / 0.6982 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.274e-05/0.6164, allocations: 16.12 kB / 0.6982 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00302/0.6194, allocations: 2.398 MB / 0.7006 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000732/0.6201, allocations: 379.5 kB / 0.7009 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/0.6204, allocations: 31.98 kB / 0.701 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.6215, allocations: 147.7 kB / 0.7011 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.6218, allocations: 95.45 kB / 0.7012 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.52e-05/0.6218, allocations: 36 kB / 0.7012 GB, free: 13.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001047/0.6229, allocations: 0.6122 MB / 0.7018 GB, free: 12.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6229, allocations: 0 / 0.7018 GB, free: 12.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002847/0.6258, allocations: 0.7578 MB / 0.7026 GB, free: 12.21 MB / 0.545 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 (90): * Single equations (assignments): 90 * 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.003631/0.6294, allocations: 2.985 MB / 0.7055 GB, free: 9.055 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005079/0.6345, allocations: 3.046 MB / 0.7085 GB, free: 6.016 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/0.6345, allocations: 0 / 0.7085 GB, free: 6.016 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.636, allocations: 0.9151 MB / 0.7094 GB, free: 5.102 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.6383, allocations: 310.3 kB / 0.7097 GB, free: 4.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02736/0.6657, allocations: 15.73 MB / 0.725 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002857/0.6686, allocations: 2.124 MB / 0.7271 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002237/0.6708, allocations: 0.7422 MB / 0.7278 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/0.6721, allocations: 0.8312 MB / 0.7286 GB, free: 468 kB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.6721, allocations: 0 / 0.7286 GB, free: 468 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3526/1.025, allocations: 32.15 MB / 0.76 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/8.886, allocations: 6.562 kB / 0.76 GB, free: 156.6 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)