Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_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.001358/0.001358, allocations: 110.4 kB / 16.41 MB, free: 6.5 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.001245/0.001245, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.392/1.392, 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.8328/0.8328, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 72.23 kB / 0.5735 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1551, allocations: 78.86 MB / 0.6505 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006134/0.1613, allocations: 4.277 MB / 0.6547 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003963/0.1653, allocations: 2.369 MB / 0.657 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.1655, allocations: 15.88 kB / 0.6571 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.1667, allocations: 382.1 kB / 0.6574 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008115/0.1675, allocations: 370.2 kB / 0.6578 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007858/0.1683, allocations: 316.7 kB / 0.6581 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007552/0.1691, allocations: 0.6828 MB / 0.6587 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004331/0.1695, allocations: 266.2 kB / 0.659 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003402/0.1699, allocations: 258.9 kB / 0.6592 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.1703, allocations: 266.9 kB / 0.6595 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.474e-05/0.1703, allocations: 32 kB / 0.6595 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007195/0.1711, allocations: 427 kB / 0.6599 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.1713, allocations: 147.6 kB / 0.6601 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.1715, allocations: 238.7 kB / 0.6603 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000932/0.1725, allocations: 0.7315 MB / 0.661 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1725, allocations: 4 kB / 0.661 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1725, allocations: 0 / 0.661 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.1725, allocations: 4 kB / 0.661 GB, free: 8.828 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001228/0.1737, allocations: 0.7994 MB / 0.6618 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1738, allocations: 12.03 kB / 0.6618 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.1739, allocations: 78.69 kB / 0.6619 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.1752, allocations: 188.4 kB / 0.6621 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006345/0.1759, allocations: 444.7 kB / 0.6625 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.1759, allocations: 25.38 kB / 0.6625 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.774e-05/0.176, allocations: 36.36 kB / 0.6626 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009641/0.177, allocations: 0.6508 MB / 0.6632 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.177, allocations: 4 kB / 0.6632 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.291e-05/0.1771, allocations: 16 kB / 0.6632 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.397e-05/0.1772, allocations: 55.89 kB / 0.6633 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008084/0.178, allocations: 491.4 kB / 0.6637 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003863/0.1818, allocations: 3.798 MB / 0.6674 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.1837, allocations: 0.6399 MB / 0.6681 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.184, allocations: 178.4 kB / 0.6682 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.184, allocations: 8 kB / 0.6682 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.184, allocations: 30.56 kB / 0.6683 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 2.054e-06/0.1841, allocations: 4 kB / 0.6683 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002486/0.1865, allocations: 1.283 MB / 0.6695 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/0.1866, allocations: 106.8 kB / 0.6696 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004708/0.1871, allocations: 409.7 kB / 0.67 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.1872, allocations: 29.7 kB / 0.67 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.1874, allocations: 296.1 kB / 0.6703 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.1875, allocations: 123 kB / 0.6704 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.1877, allocations: 94.2 kB / 0.6705 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1878, allocations: 358.8 kB / 0.6709 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.1881, allocations: 173 kB / 0.671 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004474/0.1886, allocations: 379.2 kB / 0.6714 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007932/0.1894, allocations: 0.5912 MB / 0.672 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1894, allocations: 0 / 0.672 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001158/0.1906, allocations: 0.6715 MB / 0.6726 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1906, allocations: 8.281 kB / 0.6726 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.1906, allocations: 12 kB / 0.6727 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003627/0.191, allocations: 106.4 kB / 0.6728 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/0.1914, allocations: 115.8 kB / 0.6729 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00387/0.1953, allocations: 4.345 MB / 0.6771 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/0.1956, allocations: 31.97 kB / 0.6771 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.1957, allocations: 24 kB / 0.6772 GB, free: 7.035 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.000266/0.196, allocations: 193.6 kB / 0.6774 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.1961, allocations: 47.72 kB / 0.6774 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009752/0.1971, allocations: 0.5267 MB / 0.6779 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1971, allocations: 4 kB / 0.6779 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1971, allocations: 0 / 0.6779 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.1971, allocations: 8 kB / 0.6779 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.1991, allocations: 1.287 MB / 0.6792 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1991, allocations: 4 kB / 0.6792 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.1993, allocations: 68.17 kB / 0.6792 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002731/0.1996, allocations: 86.52 kB / 0.6793 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.1996, allocations: 8 kB / 0.6793 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00381/0.2035, allocations: 4.34 MB / 0.6836 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2035, allocations: 4 kB / 0.6836 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009802/0.2045, allocations: 0.7781 MB / 0.6843 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.2047, allocations: 157 kB / 0.6845 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.2047, allocations: 12 kB / 0.6845 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.205, allocations: 19.97 kB / 0.6845 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.2051, allocations: 47.78 kB / 0.6846 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.2051, allocations: 8 kB / 0.6846 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003138/0.2055, allocations: 283.1 kB / 0.6848 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2055, allocations: 0 / 0.6848 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006934/0.2062, allocations: 120 kB / 0.685 GB, free: 14.43 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.001287/0.2075, allocations: 1.327 MB / 0.6863 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.2087, allocations: 0.8133 MB / 0.687 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.2088, allocations: 320 / 0.687 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007504/0.2095, allocations: 0.5466 MB / 0.6876 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009106/0.2104, allocations: 142.7 kB / 0.6877 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006214/0.2167, allocations: 4.567 MB / 0.6922 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.2172, allocations: 0.8585 MB / 0.693 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003034/0.2176, allocations: 104.5 kB / 0.6931 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.2178, allocations: 159.3 kB / 0.6933 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of SimCode: time 1.042e-06/0.2178, allocations: 0 / 0.6933 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04387/0.2617, allocations: 9.995 MB / 0.703 GB, free: 11.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.79, allocations: 22.28 kB / 0.7031 GB, free: 11.58 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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_OnePhase_Loads_Examples_ThreePhases.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)