Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.00138/0.00138, allocations: 104.3 kB / 16.4 MB, free: 6.418 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.001433/0.001433, allocations: 196 kB / 17.34 MB, free: 5.691 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8229/0.8229, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.45 kB / 0.5735 GB, free: 27.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1412, allocations: 78.87 MB / 0.6506 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02027/0.1615, allocations: 14.75 MB / 0.665 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01706/0.1786, allocations: 10.34 MB / 0.6751 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001765/0.1804, allocations: 55.62 kB / 0.6751 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0046/0.1851, allocations: 1.699 MB / 0.6768 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005432/0.1905, allocations: 1.816 MB / 0.6786 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.1926, allocations: 0.763 MB / 0.6793 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004272/0.1969, allocations: 2.742 MB / 0.682 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.199, allocations: 1.419 MB / 0.6834 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.2014, allocations: 1.504 MB / 0.6848 GB, free: 396 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/0.2037, allocations: 1.16 MB / 0.686 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002971/0.2041, allocations: 160 kB / 0.6861 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.2057, allocations: 0.7877 MB / 0.6869 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006368/0.2064, allocations: 0.6076 MB / 0.6875 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.2075, allocations: 0.9522 MB / 0.6884 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003681/0.2112, allocations: 2.775 MB / 0.6911 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2112, allocations: 0 / 0.6911 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2113, allocations: 0 / 0.6911 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.937e-05/0.2113, allocations: 0 / 0.6911 GB, free: 9.926 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004234/0.2155, allocations: 2.236 MB / 0.6933 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.2156, allocations: 8.031 kB / 0.6933 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002571/0.2158, allocations: 198.3 kB / 0.6935 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/0.2284, allocations: 2.113 MB / 0.6956 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003244/0.2317, allocations: 1.328 MB / 0.6969 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.415e-05/0.2317, allocations: 86.69 kB / 0.6969 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002712/0.232, allocations: 115.9 kB / 0.6971 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006115/0.2382, allocations: 2.674 MB / 0.6997 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.118e-05/0.2382, allocations: 7.938 kB / 0.6997 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.2384, allocations: 55.98 kB / 0.6997 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006962/0.2391, allocations: 194.1 kB / 0.6999 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008321/0.2474, allocations: 2.783 MB / 0.7026 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01613/0.2636, allocations: 10.49 MB / 0.7129 GB, free: 2.777 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007117/0.2707, allocations: 2.34 MB / 0.7152 GB, free: 420 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003394/0.2742, allocations: 1.276 MB / 0.7164 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.662e-05/0.2743, allocations: 12.94 kB / 0.7164 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.2743, allocations: 47.56 kB / 0.7165 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=89): time 2.485e-06/0.2743, allocations: 4 kB / 0.7165 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=153): time 0.06373/0.3381, allocations: 16.52 MB / 0.7326 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.3381, allocations: 68.72 kB / 0.7327 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.3398, allocations: 1.168 MB / 0.7338 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002036/0.34, allocations: 53.7 kB / 0.7339 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006215/0.3406, allocations: 0.7607 MB / 0.7346 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005415/0.3412, allocations: 0.5383 MB / 0.7351 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005966/0.3418, allocations: 287.5 kB / 0.7354 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.3419, allocations: 305.1 kB / 0.7357 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003844/0.3458, allocations: 1.507 MB / 0.7372 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004088/0.3499, allocations: 1.784 MB / 0.7389 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008166/0.358, allocations: 3.369 MB / 0.7422 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.3581, allocations: 4 kB / 0.7422 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.304/0.6621, allocations: 5.281 MB / 0.7474 GB, free: 87.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.6621, allocations: 11.47 kB / 0.7474 GB, free: 87.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.6622, allocations: 6.656 kB / 0.7474 GB, free: 87.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007029/0.6692, allocations: 1.878 MB / 0.7492 GB, free: 87.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/0.6713, allocations: 420.5 kB / 0.7496 GB, free: 87.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02755/0.6989, allocations: 24.16 MB / 0.7732 GB, free: 70.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/0.7017, allocations: 307.1 kB / 0.7735 GB, free: 70.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.7019, allocations: 65.83 kB / 0.7736 GB, free: 70.84 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007905/0.7027, allocations: 467.5 kB / 0.774 GB, free: 70.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000341/0.703, allocations: 182.3 kB / 0.7742 GB, free: 70.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/0.7166, allocations: 5.325 MB / 0.7794 GB, free: 68.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.7167, allocations: 18.81 kB / 0.7794 GB, free: 68.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.336e-05/0.7167, allocations: 19.25 kB / 0.7794 GB, free: 68.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.7168, allocations: 7.359 kB / 0.7794 GB, free: 68.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/0.7318, allocations: 7.408 MB / 0.7867 GB, free: 64.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.7318, allocations: 7.969 kB / 0.7867 GB, free: 64.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/0.7335, allocations: 350.8 kB / 0.787 GB, free: 64.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005467/0.739, allocations: 1.711 MB / 0.7887 GB, free: 63.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/0.7392, allocations: 42.75 kB / 0.7887 GB, free: 63.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02099/0.7602, allocations: 23.32 MB / 0.8115 GB, free: 41.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7602, allocations: 8.062 kB / 0.8115 GB, free: 41.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/0.7712, allocations: 4.899 MB / 0.8163 GB, free: 36.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007942/0.772, allocations: 0.4958 MB / 0.8168 GB, free: 35.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.7723, allocations: 31.94 kB / 0.8168 GB, free: 35.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/0.7744, allocations: 319.5 kB / 0.8171 GB, free: 35.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000583/0.775, allocations: 145 kB / 0.8172 GB, free: 35.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.7751, allocations: 55.97 kB / 0.8173 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009352/0.7761, allocations: 0.7899 MB / 0.8181 GB, free: 34.19 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7761, allocations: 0 / 0.8181 GB, free: 34.19 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001932/0.778, allocations: 0.6601 MB / 0.8187 GB, free: 33.53 MB / 0.5762 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0111/0.7891, allocations: 5.483 MB / 0.8241 GB, free: 27.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01011/0.7993, allocations: 5.161 MB / 0.8291 GB, free: 22.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.7993, allocations: 4.125 kB / 0.8291 GB, free: 22.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006082/0.8054, allocations: 3.369 MB / 0.8324 GB, free: 19.24 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.8076, allocations: 0.5445 MB / 0.8329 GB, free: 18.72 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04131/0.8489, allocations: 21.92 MB / 0.8543 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/0.8505, allocations: 1.564 MB / 0.8559 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001469/0.852, allocations: 385 kB / 0.8562 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.853, allocations: 0.6593 MB / 0.8569 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.853, allocations: 0 / 0.8569 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1308/0.9838, allocations: 58.72 MB / 0.9142 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.3/21.28, allocations: 9.875 kB / 0.9142 GB, free: 15.61 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_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_Lines_Examples_ACLineMedium.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)