Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.002066/0.002066, allocations: 104.9 kB / 16.4 MB, free: 6.496 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.002732/0.002732, allocations: 192 kB / 17.34 MB, free: 5.727 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.437/1.437, 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.8248/0.8248, allocations: 126.7 MB / 417.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.44 kB / 0.5735 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1324, allocations: 78.87 MB / 0.6506 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00658/0.139, allocations: 4.873 MB / 0.6553 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003971/0.143, allocations: 2.479 MB / 0.6577 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.1432, allocations: 31.81 kB / 0.6578 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.1444, allocations: 397.9 kB / 0.6581 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008477/0.1452, allocations: 445.6 kB / 0.6586 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008008/0.146, allocations: 406 kB / 0.659 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009814/0.147, allocations: 0.9212 MB / 0.6599 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005075/0.1476, allocations: 362.7 kB / 0.6602 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004063/0.148, allocations: 338.7 kB / 0.6605 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000463/0.1484, allocations: 362.3 kB / 0.6609 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.25e-05/0.1485, allocations: 40 kB / 0.6609 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006239/0.1492, allocations: 395.1 kB / 0.6613 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.1494, allocations: 191.3 kB / 0.6615 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.1497, allocations: 314.2 kB / 0.6618 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.1507, allocations: 0.8948 MB / 0.6626 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.1508, allocations: 4 kB / 0.6626 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1508, allocations: 0 / 0.6626 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.1508, allocations: 0 / 0.6626 GB, free: 7.148 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001427/0.1522, allocations: 0.9688 MB / 0.6636 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1523, allocations: 8.031 kB / 0.6636 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.1524, allocations: 94.69 kB / 0.6637 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.1536, allocations: 208.2 kB / 0.6639 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008108/0.1544, allocations: 0.5533 MB / 0.6644 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.1545, allocations: 33.36 kB / 0.6645 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.177e-05/0.1545, allocations: 48.38 kB / 0.6645 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.1557, allocations: 0.8483 MB / 0.6653 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.1557, allocations: 7.938 kB / 0.6653 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-05/0.1558, allocations: 23.98 kB / 0.6654 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.795e-05/0.1559, allocations: 64.95 kB / 0.6654 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008614/0.1568, allocations: 0.5694 MB / 0.666 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004639/0.1614, allocations: 5.651 MB / 0.6715 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.1621, allocations: 454.8 kB / 0.6719 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.1624, allocations: 224.7 kB / 0.6721 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1625, allocations: 0 / 0.6721 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.1625, allocations: 42.56 kB / 0.6722 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 3.256e-06/0.1625, allocations: 3.984 kB / 0.6722 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.002615/0.1651, allocations: 1.52 MB / 0.6737 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.1652, allocations: 55.69 kB / 0.6737 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005479/0.1658, allocations: 0.4991 MB / 0.6742 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.1658, allocations: 29.7 kB / 0.6742 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.1661, allocations: 371.7 kB / 0.6746 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.1662, allocations: 130.9 kB / 0.6747 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.1663, allocations: 118.2 kB / 0.6748 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1665, allocations: 366.8 kB / 0.6752 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.1668, allocations: 189.2 kB / 0.6754 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.1673, allocations: 451.3 kB / 0.6758 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008857/0.1682, allocations: 0.6954 MB / 0.6765 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1682, allocations: 4 kB / 0.6765 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001329/0.1696, allocations: 0.8059 MB / 0.6773 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1696, allocations: 12.16 kB / 0.6773 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.1696, allocations: 12 kB / 0.6773 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000497/0.1701, allocations: 152.1 kB / 0.6774 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.1706, allocations: 123.8 kB / 0.6776 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003735/0.1743, allocations: 4.353 MB / 0.6818 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/0.1747, allocations: 31.97 kB / 0.6818 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.1748, allocations: 28 kB / 0.6819 GB, free: 1.961 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0002546/0.175, allocations: 214.3 kB / 0.6821 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-05/0.1751, allocations: 71.64 kB / 0.6821 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.1762, allocations: 0.5972 MB / 0.6827 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.1762, allocations: 4 kB / 0.6827 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1762, allocations: 4 kB / 0.6827 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1762, allocations: 0 / 0.6827 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.1781, allocations: 1.266 MB / 0.684 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1781, allocations: 0 / 0.684 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.1784, allocations: 55.89 kB / 0.684 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/0.1788, allocations: 144.4 kB / 0.6842 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.1789, allocations: 11.94 kB / 0.6842 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003658/0.1825, allocations: 4.34 MB / 0.6884 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.1825, allocations: 8.062 kB / 0.6884 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.1836, allocations: 0.7047 MB / 0.6891 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.1839, allocations: 172.6 kB / 0.6893 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-05/0.1839, allocations: 8 kB / 0.6893 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.1842, allocations: 23.97 kB / 0.6893 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.149e-05/0.1843, allocations: 43.83 kB / 0.6893 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.1843, allocations: 8 kB / 0.6893 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000366/0.1847, allocations: 338.8 kB / 0.6897 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1847, allocations: 0 / 0.6897 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005819/0.1853, allocations: 140 kB / 0.6898 GB, free: 9.199 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.001356/0.1866, allocations: 1.269 MB / 0.691 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.1881, allocations: 1.044 MB / 0.6921 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1881, allocations: 0 / 0.6921 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008981/0.189, allocations: 0.7313 MB / 0.6928 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009626/0.19, allocations: 212.8 kB / 0.693 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006634/0.1967, allocations: 5.158 MB / 0.698 GB, free: 180 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/0.1972, allocations: 0.9098 MB / 0.6989 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003173/0.1976, allocations: 121.3 kB / 0.699 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.1978, allocations: 195.4 kB / 0.6992 GB, free: 14.93 MB / 0.545 GB Notification: Performance of SimCode: time 5.52e-07/0.1978, allocations: 0 / 0.6992 GB, free: 14.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04497/0.2428, allocations: 12.83 MB / 0.7117 GB, free: 2.355 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.83, allocations: 11.62 kB / 0.7117 GB, free: 2.348 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_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_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)