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.001553/0.001553, allocations: 104.4 kB / 16.4 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.001769/0.001769, allocations: 192 kB / 17.34 MB, free: 5.738 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7605/0.7605, allocations: 122.9 MB / 414.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 66.41 kB / 0.568 GB, free: 28.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1497, allocations: 77.92 MB / 0.6441 GB, free: 9.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005623/0.1554, allocations: 4.273 MB / 0.6482 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003602/0.159, allocations: 2.373 MB / 0.6505 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.1593, allocations: 19.88 kB / 0.6506 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.1603, allocations: 374.2 kB / 0.6509 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007342/0.1611, allocations: 386.2 kB / 0.6513 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006774/0.1618, allocations: 311.2 kB / 0.6516 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000665/0.1625, allocations: 0.6867 MB / 0.6523 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004034/0.1629, allocations: 270.2 kB / 0.6525 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.1632, allocations: 255.1 kB / 0.6528 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.1635, allocations: 270.8 kB / 0.653 GB, free: 328 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.479e-05/0.1636, allocations: 28 kB / 0.653 GB, free: 300 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006009/0.1642, allocations: 423 kB / 0.6534 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.1643, allocations: 147.5 kB / 0.6536 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.1646, allocations: 246.7 kB / 0.6538 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008099/0.1654, allocations: 0.7315 MB / 0.6545 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.1654, allocations: 0 / 0.6545 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1654, allocations: 3.938 kB / 0.6545 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.1654, allocations: 0 / 0.6545 GB, free: 14.75 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.001174/0.1666, allocations: 0.8095 MB / 0.6553 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1667, allocations: 16.62 kB / 0.6553 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.919e-05/0.1668, allocations: 78.7 kB / 0.6554 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.1681, allocations: 188.4 kB / 0.6556 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006254/0.1687, allocations: 432.8 kB / 0.656 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.1688, allocations: 29.36 kB / 0.656 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.375e-05/0.1689, allocations: 40.36 kB / 0.6561 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008319/0.1697, allocations: 0.6469 MB / 0.6567 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.1697, allocations: 7.938 kB / 0.6567 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.1698, allocations: 19.98 kB / 0.6567 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.222e-05/0.1699, allocations: 51.95 kB / 0.6568 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007075/0.1706, allocations: 496.2 kB / 0.6573 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/0.1738, allocations: 3.79 MB / 0.661 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.1755, allocations: 0.6328 MB / 0.6616 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.1757, allocations: 174.5 kB / 0.6617 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.1758, allocations: 12 kB / 0.6618 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1758, allocations: 38.48 kB / 0.6618 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.1758, allocations: 0 / 0.6618 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002226/0.178, allocations: 1.291 MB / 0.6631 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.1781, allocations: 110.8 kB / 0.6632 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003997/0.1785, allocations: 401.8 kB / 0.6635 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.1785, allocations: 29.7 kB / 0.6636 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.1787, allocations: 288.2 kB / 0.6638 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.952e-05/0.1788, allocations: 126.9 kB / 0.664 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.179, allocations: 106.1 kB / 0.6641 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1791, allocations: 350.8 kB / 0.6644 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.1794, allocations: 181 kB / 0.6646 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.1798, allocations: 371.3 kB / 0.6649 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006816/0.1805, allocations: 0.5831 MB / 0.6655 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1805, allocations: 4 kB / 0.6655 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00103/0.1815, allocations: 0.6794 MB / 0.6662 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1815, allocations: 8.094 kB / 0.6662 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.1816, allocations: 12 kB / 0.6662 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003587/0.1819, allocations: 102.4 kB / 0.6663 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.1823, allocations: 115.8 kB / 0.6664 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003396/0.1857, allocations: 4.348 MB / 0.6706 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.1861, allocations: 36.12 kB / 0.6707 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.1861, allocations: 24 kB / 0.6707 GB, free: 12.95 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.0002385/0.1864, allocations: 197.5 kB / 0.6709 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.1865, allocations: 47.72 kB / 0.6709 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008601/0.1874, allocations: 0.5224 MB / 0.6714 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1874, allocations: 4 kB / 0.6714 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1874, allocations: 0 / 0.6714 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1874, allocations: 7.984 kB / 0.6715 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.1892, allocations: 1.28 MB / 0.6727 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.1892, allocations: 7.938 kB / 0.6727 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.1895, allocations: 63.89 kB / 0.6728 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002473/0.1897, allocations: 86.8 kB / 0.6729 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.1898, allocations: 15.98 kB / 0.6729 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003228/0.193, allocations: 4.34 MB / 0.6771 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.193, allocations: 4 kB / 0.6771 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008918/0.1939, allocations: 0.778 MB / 0.6779 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.1941, allocations: 152.8 kB / 0.678 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.1942, allocations: 8 kB / 0.678 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.1945, allocations: 23.97 kB / 0.6781 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.1946, allocations: 43.84 kB / 0.6781 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1946, allocations: 8 kB / 0.6781 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002787/0.1949, allocations: 279.1 kB / 0.6784 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1949, allocations: 4 kB / 0.6784 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000656/0.1955, allocations: 120 kB / 0.6785 GB, free: 4.34 MB / 0.5137 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.001149/0.1967, allocations: 1.331 MB / 0.6798 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.1979, allocations: 0.802 MB / 0.6806 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1979, allocations: 0 / 0.6806 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007089/0.1986, allocations: 0.5562 MB / 0.6811 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008957/0.1995, allocations: 138.8 kB / 0.6812 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005297/0.2048, allocations: 4.566 MB / 0.6857 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.2053, allocations: 0.8586 MB / 0.6865 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002623/0.2056, allocations: 100.5 kB / 0.6866 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.2058, allocations: 151.4 kB / 0.6868 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.2058, allocations: 8 kB / 0.6868 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03721/0.243, allocations: 10 MB / 0.6966 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.715/9.958, allocations: 20.25 kB / 0.6966 GB, free: 1.496 MB / 0.5294 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)