Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.001076/0.001076, allocations: 108.7 kB / 16.41 MB, free: 6.039 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.00107/0.00107, allocations: 194.6 kB / 17.34 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7607/0.7607, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 60.78 kB / 0.568 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.129, allocations: 77.93 MB / 0.6441 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01269/0.1418, allocations: 11.08 MB / 0.6549 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008591/0.1504, allocations: 5.789 MB / 0.6605 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006293/0.151, allocations: 47.69 kB / 0.6606 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004105/0.1552, allocations: 1.726 MB / 0.6623 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002668/0.1578, allocations: 1.182 MB / 0.6634 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.1599, allocations: 0.8059 MB / 0.6642 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002395/0.1623, allocations: 2.135 MB / 0.6663 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.1639, allocations: 1.303 MB / 0.6676 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.165, allocations: 0.8523 MB / 0.6684 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.166, allocations: 0.9143 MB / 0.6693 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.1662, allocations: 112 kB / 0.6694 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.1681, allocations: 1.181 MB / 0.6706 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004552/0.1686, allocations: 0.5297 MB / 0.6711 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006915/0.1693, allocations: 0.781 MB / 0.6718 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002675/0.172, allocations: 2.44 MB / 0.6742 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.172, allocations: 3.984 kB / 0.6742 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.172, allocations: 0 / 0.6742 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.41e-05/0.172, allocations: 0 / 0.6742 GB, free: 10.56 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002878/0.1749, allocations: 1.935 MB / 0.6761 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.175, allocations: 8.625 kB / 0.6761 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000222/0.1752, allocations: 207.4 kB / 0.6763 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004583/0.1798, allocations: 0.6748 MB / 0.677 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.1815, allocations: 1.013 MB / 0.678 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-05/0.1815, allocations: 94.89 kB / 0.6781 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.1817, allocations: 128.3 kB / 0.6782 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/0.1846, allocations: 2.21 MB / 0.6803 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.202e-05/0.1846, allocations: 15.89 kB / 0.6803 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.1848, allocations: 59.97 kB / 0.6804 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001945/0.185, allocations: 162.3 kB / 0.6806 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002712/0.1877, allocations: 1.871 MB / 0.6824 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.1988, allocations: 12.46 MB / 0.6946 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004207/0.203, allocations: 1.966 MB / 0.6965 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007803/0.2038, allocations: 0.6049 MB / 0.6971 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.204, allocations: 106.1 kB / 0.6972 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.204, allocations: 51.48 kB / 0.6972 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 3.767e-06/0.204, allocations: 3.984 kB / 0.6972 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110): time 0.005825/0.2099, allocations: 3.724 MB / 0.7009 GB, free: 13.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.2099, allocations: 68.34 kB / 0.7009 GB, free: 13.69 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009839/0.2109, allocations: 0.9244 MB / 0.7018 GB, free: 12.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.211, allocations: 37.7 kB / 0.7019 GB, free: 12.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000441/0.2114, allocations: 0.7572 MB / 0.7026 GB, free: 11.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/0.2117, allocations: 396.6 kB / 0.703 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/0.2121, allocations: 295.4 kB / 0.7033 GB, free: 11.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.418e-05/0.2122, allocations: 301.1 kB / 0.7035 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008688/0.213, allocations: 0.6129 MB / 0.7041 GB, free: 10.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.2142, allocations: 1.106 MB / 0.7052 GB, free: 9.023 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.2164, allocations: 1.828 MB / 0.707 GB, free: 6.977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.2164, allocations: 4 kB / 0.707 GB, free: 6.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00324/0.2197, allocations: 2.109 MB / 0.7091 GB, free: 4.836 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.2197, allocations: 15.94 kB / 0.7091 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.2198, allocations: 16 kB / 0.7091 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008159/0.2206, allocations: 258.7 kB / 0.7093 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.2219, allocations: 375.4 kB / 0.7097 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008015/0.2299, allocations: 11.59 MB / 0.721 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.2312, allocations: 127.8 kB / 0.7211 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.2313, allocations: 71.92 kB / 0.7212 GB, free: 7.254 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006224/0.2319, allocations: 409.2 kB / 0.7216 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.2321, allocations: 139.2 kB / 0.7217 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/0.2349, allocations: 1.677 MB / 0.7234 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.2349, allocations: 19.94 kB / 0.7234 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2349, allocations: 0 / 0.7234 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.235, allocations: 7.969 kB / 0.7234 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004967/0.2399, allocations: 3.287 MB / 0.7266 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.2399, allocations: 4 kB / 0.7266 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008995/0.2409, allocations: 220.3 kB / 0.7268 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007205/0.2416, allocations: 250.6 kB / 0.7271 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.664e-05/0.2417, allocations: 27.94 kB / 0.7271 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008053/0.2497, allocations: 11.57 MB / 0.7384 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.446e-05/0.2498, allocations: 12.14 kB / 0.7384 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/0.2524, allocations: 1.808 MB / 0.7402 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005849/0.253, allocations: 324 kB / 0.7405 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.2532, allocations: 24 kB / 0.7405 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007661/0.2539, allocations: 91.86 kB / 0.7406 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.2541, allocations: 100.7 kB / 0.7407 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/0.2542, allocations: 36 kB / 0.7407 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007442/0.2549, allocations: 0.6177 MB / 0.7413 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2549, allocations: 0 / 0.7413 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001311/0.2563, allocations: 388 kB / 0.7417 GB, free: 0.8164 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00281/0.2591, allocations: 2.402 MB / 0.744 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003406/0.2625, allocations: 2.496 MB / 0.7465 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.2625, allocations: 0 / 0.7465 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002036/0.2646, allocations: 1.629 MB / 0.7481 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.2663, allocations: 364.9 kB / 0.7484 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2809/0.5472, allocations: 11.52 MB / 0.7597 GB, free: 105.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009299/0.5482, allocations: 1.325 MB / 0.761 GB, free: 104.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001061/0.5492, allocations: 355.7 kB / 0.7613 GB, free: 104.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006873/0.5499, allocations: 0.5374 MB / 0.7618 GB, free: 104.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.563e-06/0.5499, allocations: 0 / 0.7618 GB, free: 104.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0861/0.636, allocations: 28.28 MB / 0.7894 GB, free: 94.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.22, allocations: 8 kB / 0.7894 GB, free: 94.41 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_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_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)