Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.001098/0.001098, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001179/0.001179, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.4/1.4, 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.7386/0.7386, allocations: 122.8 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 76.72 kB / 0.568 GB, free: 28.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1407, allocations: 77.92 MB / 0.6441 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03789/0.1787, allocations: 32.58 MB / 0.6759 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01772/0.1964, allocations: 10.27 MB / 0.6859 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003236/0.1997, allocations: 147.3 kB / 0.6861 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009199/0.209, allocations: 3.724 MB / 0.6897 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006042/0.2151, allocations: 1.956 MB / 0.6916 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005853/0.2209, allocations: 2.13 MB / 0.6937 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008795/0.2298, allocations: 7.337 MB / 0.7009 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01042/0.2402, allocations: 9.42 MB / 0.7101 GB, free: 5.711 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005299/0.2455, allocations: 3.229 MB / 0.7132 GB, free: 2.473 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005632/0.2512, allocations: 3.485 MB / 0.7166 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001616/0.2528, allocations: 0.6484 MB / 0.7172 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003802/0.2567, allocations: 1.763 MB / 0.719 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002513/0.2592, allocations: 2.557 MB / 0.7215 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004047/0.2632, allocations: 2.89 MB / 0.7243 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.2738, allocations: 10.14 MB / 0.7342 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2738, allocations: 0 / 0.7342 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2738, allocations: 0 / 0.7342 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002494/0.2741, allocations: 4 kB / 0.7342 GB, free: 12.92 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01114/0.2852, allocations: 5.12 MB / 0.7392 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.2853, allocations: 8.625 kB / 0.7392 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001592/0.2869, allocations: 0.6859 MB / 0.7399 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00558/0.2925, allocations: 0.9735 MB / 0.7408 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00651/0.299, allocations: 3.063 MB / 0.7438 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/0.2993, allocations: 345.7 kB / 0.7441 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001165/0.3005, allocations: 468.3 kB / 0.7446 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.309/0.6095, allocations: 7.661 MB / 0.7521 GB, free: 86.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002487/0.6098, allocations: 31.47 kB / 0.7521 GB, free: 86.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001137/0.611, allocations: 197 kB / 0.7523 GB, free: 86.31 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004971/0.6115, allocations: 313 kB / 0.7526 GB, free: 86.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/0.6258, allocations: 5.711 MB / 0.7582 GB, free: 84.29 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0369/0.6627, allocations: 34.89 MB / 0.7922 GB, free: 53.45 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/0.6652, allocations: 2.156 MB / 0.7943 GB, free: 51.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.6666, allocations: 1.259 MB / 0.7956 GB, free: 51.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.185e-05/0.6666, allocations: 14.75 kB / 0.7956 GB, free: 51.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.6667, allocations: 59.72 kB / 0.7956 GB, free: 51.24 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=133): time 3.436e-06/0.6667, allocations: 0 / 0.7956 GB, free: 51.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.01234/0.679, allocations: 7.144 MB / 0.8026 GB, free: 46.72 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.6791, allocations: 71.94 kB / 0.8027 GB, free: 46.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.6809, allocations: 1.481 MB / 0.8041 GB, free: 45.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002043/0.6812, allocations: 48.45 kB / 0.8042 GB, free: 45.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009351/0.6821, allocations: 2.064 MB / 0.8062 GB, free: 44.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004643/0.6826, allocations: 0.5031 MB / 0.8067 GB, free: 43.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004456/0.683, allocations: 359.3 kB / 0.807 GB, free: 43.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.245e-05/0.6831, allocations: 305.1 kB / 0.8073 GB, free: 43.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.6841, allocations: 0.9096 MB / 0.8082 GB, free: 42.19 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.6854, allocations: 1.597 MB / 0.8098 GB, free: 40.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.688, allocations: 2.733 MB / 0.8124 GB, free: 37.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.688, allocations: 8 kB / 0.8124 GB, free: 37.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005384/0.6934, allocations: 3.543 MB / 0.8159 GB, free: 33.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.6935, allocations: 12 kB / 0.8159 GB, free: 33.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.6935, allocations: 25.03 kB / 0.8159 GB, free: 33.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002332/0.6958, allocations: 0.8997 MB / 0.8168 GB, free: 32.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.6971, allocations: 351.4 kB / 0.8172 GB, free: 32.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01615/0.7132, allocations: 23.11 MB / 0.8397 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.715, allocations: 99.95 kB / 0.8398 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/0.7153, allocations: 91.66 kB / 0.8399 GB, free: 7.379 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002283/0.7176, allocations: 1.613 MB / 0.8415 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004323/0.718, allocations: 214.7 kB / 0.8417 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004596/0.7226, allocations: 2.986 MB / 0.8446 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.7227, allocations: 16 kB / 0.8446 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.328e-05/0.7227, allocations: 8 kB / 0.8446 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.7227, allocations: 11.97 kB / 0.8446 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/0.7362, allocations: 7.331 MB / 0.8518 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.7363, allocations: 8.031 kB / 0.8518 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000934/0.7372, allocations: 183.7 kB / 0.852 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002536/0.7398, allocations: 0.8179 MB / 0.8528 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002207/0.74, allocations: 35.94 kB / 0.8528 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02061/0.7607, allocations: 21.96 MB / 0.8743 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.7607, allocations: 4 kB / 0.8743 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006078/0.7668, allocations: 3.038 MB / 0.8772 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/0.7681, allocations: 463.6 kB / 0.8777 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005073/0.7686, allocations: 35.98 kB / 0.8777 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.7699, allocations: 71.92 kB / 0.8778 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000412/0.7703, allocations: 120.7 kB / 0.8779 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.7705, allocations: 36 kB / 0.8779 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001951/0.7724, allocations: 0.9834 MB / 0.8789 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.5e-07/0.7725, allocations: 3.938 kB / 0.8789 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003928/0.7764, allocations: 0.7812 MB / 0.8797 GB, free: 12.54 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006206/0.7826, allocations: 3.629 MB / 0.8832 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006348/0.789, allocations: 4.038 MB / 0.8871 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.789, allocations: 0 / 0.8871 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003965/0.793, allocations: 2.745 MB / 0.8898 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003939/0.797, allocations: 0.7312 MB / 0.8905 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03916/0.8362, allocations: 22.46 MB / 0.9125 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005546/0.8418, allocations: 3.109 MB / 0.9155 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001489/0.8433, allocations: 450 kB / 0.9159 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002386/0.8457, allocations: 1.534 MB / 0.9174 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of SimCode: time 9.82e-07/0.8457, allocations: 0 / 0.9174 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1257/0.9714, allocations: 61.41 MB / 0.9774 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.96, allocations: 10.44 kB / 0.9774 GB, free: 7.613 MB / 0.7169 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)