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.001235/0.001235, allocations: 103.8 kB / 16.4 MB, free: 6.508 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.00118/0.001181, allocations: 196 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.349/1.349, 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.7687/0.7687, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.81 kB / 0.568 GB, free: 29.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1454, allocations: 77.92 MB / 0.6441 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006239/0.1516, allocations: 4.889 MB / 0.6488 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003724/0.1554, allocations: 2.471 MB / 0.6512 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003634/0.1558, allocations: 27.81 kB / 0.6513 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.157, allocations: 401.9 kB / 0.6516 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.1581, allocations: 473.6 kB / 0.6521 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009577/0.159, allocations: 403.2 kB / 0.6525 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.1602, allocations: 0.9291 MB / 0.6534 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005638/0.1607, allocations: 366.6 kB / 0.6537 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005231/0.1613, allocations: 342.7 kB / 0.6541 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005193/0.1618, allocations: 350.4 kB / 0.6544 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.161e-05/0.1619, allocations: 39.94 kB / 0.6544 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007104/0.1626, allocations: 399.1 kB / 0.6548 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.1628, allocations: 183.4 kB / 0.655 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000408/0.1633, allocations: 318.2 kB / 0.6553 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.1644, allocations: 0.8987 MB / 0.6562 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1644, allocations: 0 / 0.6562 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1644, allocations: 0 / 0.6562 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.717e-05/0.1644, allocations: 4 kB / 0.6562 GB, free: 13.08 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.001535/0.166, allocations: 0.9649 MB / 0.6571 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.166, allocations: 12.62 kB / 0.6571 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.937e-05/0.1661, allocations: 90.7 kB / 0.6572 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.1674, allocations: 204.2 kB / 0.6574 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009201/0.1684, allocations: 0.5572 MB / 0.658 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.1684, allocations: 41.3 kB / 0.658 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/0.1685, allocations: 44.36 kB / 0.658 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.1696, allocations: 0.8446 MB / 0.6589 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.1697, allocations: 15.89 kB / 0.6589 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/0.1697, allocations: 20 kB / 0.6589 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.511e-05/0.1698, allocations: 64.95 kB / 0.659 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008628/0.1707, allocations: 0.5656 MB / 0.6595 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004462/0.1752, allocations: 5.651 MB / 0.665 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006174/0.1758, allocations: 455.1 kB / 0.6655 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.1761, allocations: 228.7 kB / 0.6657 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.1761, allocations: 4 kB / 0.6657 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.1762, allocations: 34.56 kB / 0.6657 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.1762, allocations: 0 / 0.6657 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002567/0.1787, allocations: 1.524 MB / 0.6672 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.1788, allocations: 51.69 kB / 0.6673 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/0.1793, allocations: 0.4991 MB / 0.6677 GB, free: 448 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.1793, allocations: 33.7 kB / 0.6678 GB, free: 408 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.1796, allocations: 363.8 kB / 0.6681 GB, free: 40 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.1797, allocations: 131.1 kB / 0.6683 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.1798, allocations: 110.2 kB / 0.6684 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.18, allocations: 366.8 kB / 0.6687 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.1803, allocations: 205.1 kB / 0.6689 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.1807, allocations: 447.3 kB / 0.6693 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007826/0.1815, allocations: 0.6837 MB / 0.67 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1815, allocations: 7.938 kB / 0.67 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001263/0.1828, allocations: 0.8166 MB / 0.6708 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1828, allocations: 9 kB / 0.6708 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.1828, allocations: 11.94 kB / 0.6708 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005081/0.1834, allocations: 148.2 kB / 0.671 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.1838, allocations: 119.8 kB / 0.6711 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.1871, allocations: 4.352 MB / 0.6753 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.1874, allocations: 39.97 kB / 0.6754 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.1875, allocations: 24 kB / 0.6754 GB, free: 7.902 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.0002403/0.1877, allocations: 210.1 kB / 0.6756 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.254e-05/0.1878, allocations: 63.58 kB / 0.6757 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000977/0.1888, allocations: 0.6128 MB / 0.6762 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1888, allocations: 4 kB / 0.6763 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1889, allocations: 0 / 0.6763 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1889, allocations: 0 / 0.6763 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.1906, allocations: 1.263 MB / 0.6775 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.1906, allocations: 4 kB / 0.6775 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.1909, allocations: 63.83 kB / 0.6776 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003835/0.1913, allocations: 144.3 kB / 0.6777 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.1913, allocations: 4 kB / 0.6777 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002936/0.1943, allocations: 4.348 MB / 0.6819 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.1943, allocations: 4.031 kB / 0.6819 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009174/0.1952, allocations: 0.7119 MB / 0.6826 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.1954, allocations: 168.6 kB / 0.6828 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.616e-05/0.1955, allocations: 8 kB / 0.6828 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.1958, allocations: 23.97 kB / 0.6828 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.1959, allocations: 39.83 kB / 0.6829 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.1959, allocations: 8 kB / 0.6829 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00033/0.1962, allocations: 342.8 kB / 0.6832 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1962, allocations: 0 / 0.6832 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005969/0.1968, allocations: 144 kB / 0.6833 GB, free: 15.13 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.001193/0.198, allocations: 1.25 MB / 0.6846 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001323/0.1994, allocations: 1.052 MB / 0.6856 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1994, allocations: 0 / 0.6856 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007802/0.2002, allocations: 0.7465 MB / 0.6863 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.2012, allocations: 211.9 kB / 0.6865 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006327/0.2075, allocations: 5.173 MB / 0.6916 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.208, allocations: 0.9098 MB / 0.6925 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003235/0.2084, allocations: 113.3 kB / 0.6926 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.2086, allocations: 191.4 kB / 0.6927 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.2086, allocations: 0 / 0.6927 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05593/0.2646, allocations: 12.84 MB / 0.7053 GB, free: 8.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.764/10.03, allocations: 11.91 kB / 0.7053 GB, free: 8.262 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)