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.001408/0.001408, allocations: 101.7 kB / 16.4 MB, free: 5.969 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.001341/0.001341, allocations: 198.7 kB / 17.34 MB, free: 5.578 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8774/0.8774, allocations: 126.7 MB / 417.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001992, allocations: 70.33 kB / 0.5735 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1616, allocations: 78.86 MB / 0.6506 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04975/0.2114, allocations: 37.25 MB / 0.6869 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02582/0.2372, allocations: 13.7 MB / 0.7003 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003658/0.2409, allocations: 111.7 kB / 0.7004 GB, free: 416 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006708/0.2477, allocations: 2.274 MB / 0.7026 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00472/0.2524, allocations: 1.435 MB / 0.704 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009324/0.2618, allocations: 3.526 MB / 0.7075 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008736/0.2705, allocations: 6.387 MB / 0.7137 GB, free: 2.758 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0139/0.2845, allocations: 9.886 MB / 0.7234 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005925/0.2905, allocations: 2.727 MB / 0.726 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006267/0.2968, allocations: 3.206 MB / 0.7292 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002274/0.2991, allocations: 0.6211 MB / 0.7298 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003631/0.3028, allocations: 1.252 MB / 0.731 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004102/0.3069, allocations: 2.48 MB / 0.7334 GB, free: 14.44 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.005152/0.3121, allocations: 2.545 MB / 0.7359 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.3244, allocations: 9.19 MB / 0.7449 GB, free: 2.664 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.3244, allocations: 4 kB / 0.7449 GB, free: 2.66 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3245, allocations: 0 / 0.7449 GB, free: 2.66 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0002905/0.3248, allocations: 4 kB / 0.7449 GB, free: 2.656 MB / 0.5763 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.2841/0.6088, allocations: 4.396 MB / 0.7492 GB, free: 87.25 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.6089, allocations: 9.703 kB / 0.7492 GB, free: 87.25 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001465/0.6103, allocations: 0.637 MB / 0.7498 GB, free: 86.91 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005289/0.6156, allocations: 1.055 MB / 0.7508 GB, free: 86.64 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004449/0.6201, allocations: 2.235 MB / 0.753 GB, free: 85.68 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/0.6205, allocations: 330.2 kB / 0.7533 GB, free: 85.53 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001332/0.6218, allocations: 426.8 kB / 0.7538 GB, free: 85.4 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01699/0.6388, allocations: 7.403 MB / 0.761 GB, free: 82.49 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001391/0.639, allocations: 16.34 kB / 0.761 GB, free: 82.48 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008248/0.6398, allocations: 183.1 kB / 0.7612 GB, free: 82.35 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004206/0.6402, allocations: 290.5 kB / 0.7614 GB, free: 82.31 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/0.6554, allocations: 6.023 MB / 0.7673 GB, free: 79.99 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03491/0.6904, allocations: 32.51 MB / 0.7991 GB, free: 49.55 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.6934, allocations: 2.146 MB / 0.8012 GB, free: 47.38 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.6948, allocations: 1.247 MB / 0.8024 GB, free: 46.12 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.695, allocations: 101.7 kB / 0.8025 GB, free: 46 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.695, allocations: 55.48 kB / 0.8025 GB, free: 45.94 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=98): time 2.925e-06/0.695, allocations: 0 / 0.8025 GB, free: 45.94 MB / 0.5763 GB Notification: Performance of matching and sorting (n=101): time 0.00674/0.7017, allocations: 5.428 MB / 0.8078 GB, free: 40.54 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.7018, allocations: 145.4 kB / 0.808 GB, free: 40.37 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.7035, allocations: 1.476 MB / 0.8094 GB, free: 38.88 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0001847/0.7037, allocations: 45.7 kB / 0.8095 GB, free: 38.83 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007038/0.7044, allocations: 1.924 MB / 0.8114 GB, free: 36.9 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.7047, allocations: 396.2 kB / 0.8117 GB, free: 36.52 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005933/0.7053, allocations: 467.4 kB / 0.8122 GB, free: 36.05 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.122e-05/0.7054, allocations: 301.1 kB / 0.8125 GB, free: 35.75 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.7069, allocations: 1.147 MB / 0.8136 GB, free: 34.6 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.7087, allocations: 2.214 MB / 0.8157 GB, free: 31.87 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003292/0.712, allocations: 3.434 MB / 0.8191 GB, free: 27.96 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/0.7121, allocations: 11.94 kB / 0.8191 GB, free: 27.95 MB / 0.5763 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004811/0.7169, allocations: 3.379 MB / 0.8224 GB, free: 24.56 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.717, allocations: 20 kB / 0.8224 GB, free: 24.54 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.123e-05/0.717, allocations: 32 kB / 0.8225 GB, free: 24.51 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.272e-05/0.717, allocations: 51.94 kB / 0.8225 GB, free: 24.46 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.7191, allocations: 0.6239 MB / 0.8231 GB, free: 23.84 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.282e-05/0.7192, allocations: 75.66 kB / 0.8232 GB, free: 23.76 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/0.7212, allocations: 335.1 kB / 0.8235 GB, free: 23.43 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.7215, allocations: 116 kB / 0.8236 GB, free: 23.32 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003254/0.7247, allocations: 2.428 MB / 0.826 GB, free: 20.88 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001632/0.7264, allocations: 2.043 MB / 0.828 GB, free: 18.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002852/0.7292, allocations: 3.068 MB / 0.831 GB, free: 14.74 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.654e-05/0.7293, allocations: 12 kB / 0.831 GB, free: 14.73 MB / 0.5763 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004832/0.7341, allocations: 2.985 MB / 0.8339 GB, free: 11.73 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.7342, allocations: 24.25 kB / 0.8339 GB, free: 11.71 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.352e-05/0.7343, allocations: 36 kB / 0.834 GB, free: 11.68 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.571e-05/0.7343, allocations: 51.98 kB / 0.834 GB, free: 11.62 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.7362, allocations: 0.5576 MB / 0.8346 GB, free: 11.07 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-05/0.7363, allocations: 71.72 kB / 0.8346 GB, free: 11 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/0.7388, allocations: 267.2 kB / 0.8349 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003103/0.7391, allocations: 116 kB / 0.835 GB, free: 10.62 MB / 0.5763 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.0008255/0.7399, allocations: 343.1 kB / 0.8353 GB, free: 10.28 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006575/0.7406, allocations: 163 kB / 0.8355 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003348/0.744, allocations: 2.246 MB / 0.8377 GB, free: 7.863 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.744, allocations: 12 kB / 0.8377 GB, free: 7.852 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.744, allocations: 3.938 kB / 0.8377 GB, free: 7.848 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.744, allocations: 11.97 kB / 0.8377 GB, free: 7.836 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.7578, allocations: 11 MB / 0.8484 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/0.7578, allocations: 8 kB / 0.8484 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/0.7594, allocations: 387.3 kB / 0.8488 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.422e-05/0.7595, allocations: 16.66 kB / 0.8488 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.847e-05/0.7596, allocations: 32 kB / 0.8489 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-05/0.7596, allocations: 31.86 kB / 0.8489 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/0.7596, allocations: 19.88 kB / 0.8489 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003717/0.7633, allocations: 2.76 MB / 0.8516 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008807/0.7642, allocations: 463.7 kB / 0.852 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/0.7645, allocations: 43.88 kB / 0.8521 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.7658, allocations: 171.7 kB / 0.8523 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.766, allocations: 100.2 kB / 0.8523 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.001e-05/0.7661, allocations: 36 kB / 0.8524 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001637/0.7678, allocations: 1.009 MB / 0.8534 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7678, allocations: 0 / 0.8534 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003984/0.7718, allocations: 1.137 MB / 0.8545 GB, free: 6.242 MB / 0.5919 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.004123/0.7759, allocations: 3.349 MB / 0.8577 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007043/0.783, allocations: 4.067 MB / 0.8617 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/0.783, allocations: 0 / 0.8617 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/0.7847, allocations: 1.063 MB / 0.8628 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/0.7874, allocations: 448.3 kB / 0.8632 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03868/0.8261, allocations: 21.94 MB / 0.8846 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004067/0.8302, allocations: 2.864 MB / 0.8874 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003094/0.8333, allocations: 1.231 MB / 0.8886 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002073/0.8354, allocations: 1.269 MB / 0.8898 GB, free: 436 kB / 0.6231 GB Notification: Performance of SimCode: time 9.02e-07/0.8354, allocations: 0 / 0.8898 GB, free: 436 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09026/0.9257, allocations: 47.71 MB / 0.9364 GB, free: 1.09 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.85, allocations: 12 kB / 0.9365 GB, free: 1.086 MB / 0.67 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_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.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)