Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_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.001206/0.001206, allocations: 106.5 kB / 16.41 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.001201/0.001201, 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7729/0.7729, allocations: 122.9 MB / 414.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.06 kB / 0.568 GB, free: 28.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1366, allocations: 77.94 MB / 0.6441 GB, free: 9.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0183/0.155, allocations: 15.99 MB / 0.6597 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008306/0.1633, allocations: 4.824 MB / 0.6644 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.1646, allocations: 67.62 kB / 0.6645 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002881/0.1675, allocations: 1.05 MB / 0.6655 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.1694, allocations: 0.7699 MB / 0.6662 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.1718, allocations: 0.9233 MB / 0.6671 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003704/0.1755, allocations: 3.618 MB / 0.6707 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004878/0.1804, allocations: 4.769 MB / 0.6753 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002522/0.183, allocations: 1.601 MB / 0.6769 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002589/0.1856, allocations: 1.78 MB / 0.6786 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004791/0.1861, allocations: 340 kB / 0.6789 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.1876, allocations: 0.7958 MB / 0.6797 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.1888, allocations: 1.329 MB / 0.681 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.1904, allocations: 1.455 MB / 0.6824 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004844/0.1953, allocations: 5.14 MB / 0.6875 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1953, allocations: 0 / 0.6875 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.557e-06/0.1953, allocations: 0 / 0.6875 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001108/0.1954, allocations: 7.938 kB / 0.6875 GB, free: 12.86 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005082/0.2005, allocations: 2.713 MB / 0.6901 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2006, allocations: 12.62 kB / 0.6901 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004703/0.201, allocations: 370.5 kB / 0.6905 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004049/0.2051, allocations: 0.8537 MB / 0.6913 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003471/0.2086, allocations: 1.568 MB / 0.6929 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.2087, allocations: 177.1 kB / 0.693 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004699/0.2092, allocations: 232.4 kB / 0.6932 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006412/0.2156, allocations: 4.165 MB / 0.6973 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.355e-05/0.2157, allocations: 7.938 kB / 0.6973 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/0.216, allocations: 104 kB / 0.6974 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001828/0.2162, allocations: 168.5 kB / 0.6976 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005655/0.2218, allocations: 3.635 MB / 0.7011 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/0.2403, allocations: 16.45 MB / 0.7172 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003164/0.2435, allocations: 2.29 MB / 0.7194 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008064/0.2443, allocations: 0.5819 MB / 0.72 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.2445, allocations: 101.7 kB / 0.7201 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.2445, allocations: 39.12 kB / 0.7201 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 2.846e-06/0.2445, allocations: 0 / 0.7201 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.005112/0.2496, allocations: 3.503 MB / 0.7235 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.2497, allocations: 119.5 kB / 0.7237 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.2509, allocations: 1.018 MB / 0.7247 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.2509, allocations: 37.7 kB / 0.7247 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006057/0.2516, allocations: 1.142 MB / 0.7258 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.2518, allocations: 281.6 kB / 0.7261 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003567/0.2521, allocations: 287.3 kB / 0.7263 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2523, allocations: 418.7 kB / 0.7267 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008534/0.2531, allocations: 0.6128 MB / 0.7273 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.2543, allocations: 1.193 MB / 0.7285 GB, free: 444 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.2564, allocations: 1.864 MB / 0.7303 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.2564, allocations: 8 kB / 0.7303 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002947/0.2594, allocations: 2.019 MB / 0.7323 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.2594, allocations: 12 kB / 0.7323 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.2594, allocations: 20.62 kB / 0.7323 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004099/0.2598, allocations: 167.3 kB / 0.7325 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.261, allocations: 347.4 kB / 0.7328 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.215e-05/0.261, allocations: 35.86 kB / 0.7329 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009179/0.2619, allocations: 135.7 kB / 0.733 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.192e-05/0.262, allocations: 67.98 kB / 0.7331 GB, free: 11.48 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001269/0.2633, allocations: 0.9771 MB / 0.734 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.2635, allocations: 115.3 kB / 0.7341 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/0.2655, allocations: 1.23 MB / 0.7353 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.2655, allocations: 12 kB / 0.7353 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.2655, allocations: 0 / 0.7353 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.2656, allocations: 3.984 kB / 0.7353 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005972/0.2715, allocations: 3.794 MB / 0.739 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.2716, allocations: 4 kB / 0.739 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006112/0.2722, allocations: 155.8 kB / 0.7392 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003543/0.2725, allocations: 151.5 kB / 0.7393 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.379e-05/0.2726, allocations: 16 kB / 0.7394 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.2726, allocations: 11.94 kB / 0.7394 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.2726, allocations: 3.984 kB / 0.7394 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.2745, allocations: 1.47 MB / 0.7408 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/0.275, allocations: 276.3 kB / 0.7411 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.2752, allocations: 23.98 kB / 0.7411 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.2759, allocations: 59.91 kB / 0.7412 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.276, allocations: 68.36 kB / 0.7412 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-05/0.276, allocations: 20 kB / 0.7412 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008697/0.2769, allocations: 0.6953 MB / 0.7419 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2769, allocations: 0 / 0.7419 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001369/0.2783, allocations: 388 kB / 0.7423 GB, free: 1.746 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3147/0.593, allocations: 2.044 MB / 0.7443 GB, free: 91.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002986/0.5961, allocations: 1.714 MB / 0.746 GB, free: 91.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5961, allocations: 1.562 kB / 0.746 GB, free: 91.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000936/0.597, allocations: 0.8646 MB / 0.7468 GB, free: 91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.5988, allocations: 266.4 kB / 0.7471 GB, free: 91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02122/0.62, allocations: 12.91 MB / 0.7597 GB, free: 84.45 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002133/0.6222, allocations: 1.918 MB / 0.7615 GB, free: 83.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001333/0.6236, allocations: 451.2 kB / 0.762 GB, free: 83.42 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008632/0.6244, allocations: 0.7141 MB / 0.7627 GB, free: 82.83 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.6244, allocations: 4 kB / 0.7627 GB, free: 82.83 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04691/0.6714, allocations: 27.88 MB / 0.7899 GB, free: 64.13 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.92, allocations: 5.375 kB / 0.7899 GB, free: 64.13 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)