Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.001096/0.001096, allocations: 102.1 kB / 16.4 MB, free: 6.512 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.001162/0.001162, allocations: 192 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7534/0.7534, allocations: 122.8 MB / 414 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 74.39 kB / 0.568 GB, free: 28.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1457, allocations: 77.92 MB / 0.6441 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02405/0.1698, allocations: 20.23 MB / 0.6638 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01083/0.1806, allocations: 6.437 MB / 0.6701 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/0.1825, allocations: 87.56 kB / 0.6702 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005294/0.1879, allocations: 2.253 MB / 0.6724 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.1911, allocations: 1.236 MB / 0.6736 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.1944, allocations: 1.289 MB / 0.6749 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005506/0.1999, allocations: 4.866 MB / 0.6796 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006654/0.2066, allocations: 5.583 MB / 0.6851 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003486/0.2101, allocations: 2.119 MB / 0.6871 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003485/0.2136, allocations: 2.348 MB / 0.6894 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007052/0.2143, allocations: 428 kB / 0.6898 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.2163, allocations: 0.9987 MB / 0.6908 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001693/0.218, allocations: 1.669 MB / 0.6924 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002295/0.2203, allocations: 1.91 MB / 0.6943 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00715/0.2275, allocations: 6.538 MB / 0.7007 GB, free: 15.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.2275, allocations: 3.984 kB / 0.7007 GB, free: 15.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2275, allocations: 4 kB / 0.7007 GB, free: 15.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001661/0.2277, allocations: 0 / 0.7007 GB, free: 15.34 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007403/0.2351, allocations: 3.539 MB / 0.7042 GB, free: 11.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.2352, allocations: 8.625 kB / 0.7042 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007299/0.2359, allocations: 458.5 kB / 0.7046 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/0.2395, allocations: 0.6623 MB / 0.7053 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004876/0.2444, allocations: 2.046 MB / 0.7073 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.2447, allocations: 222.3 kB / 0.7075 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009428/0.2457, allocations: 296.1 kB / 0.7077 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009834/0.2555, allocations: 4.889 MB / 0.7125 GB, free: 2.906 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.2557, allocations: 15.88 kB / 0.7125 GB, free: 2.891 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004663/0.2561, allocations: 128 kB / 0.7127 GB, free: 2.766 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005455/0.2567, allocations: 233.7 kB / 0.7129 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006847/0.2636, allocations: 3.75 MB / 0.7165 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02887/0.2925, allocations: 21.44 MB / 0.7375 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.2946, allocations: 1.3 MB / 0.7387 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.2961, allocations: 1.053 MB / 0.7398 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.81e-05/0.2962, allocations: 9 kB / 0.7398 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.2963, allocations: 51.5 kB / 0.7398 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=107): time 3.176e-06/0.2963, allocations: 0 / 0.7398 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=138): time 0.3454/0.6417, allocations: 8.699 MB / 0.7483 GB, free: 91.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.6418, allocations: 66.62 kB / 0.7484 GB, free: 91.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.6439, allocations: 1.129 MB / 0.7495 GB, free: 90.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001945/0.6441, allocations: 51.8 kB / 0.7495 GB, free: 90.79 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009006/0.645, allocations: 1.334 MB / 0.7509 GB, free: 89.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005074/0.6455, allocations: 0.494 MB / 0.7513 GB, free: 89.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005166/0.6461, allocations: 289.3 kB / 0.7516 GB, free: 89.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.885e-05/0.6461, allocations: 306.8 kB / 0.7519 GB, free: 89.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.6476, allocations: 0.9091 MB / 0.7528 GB, free: 88.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.6495, allocations: 1.326 MB / 0.7541 GB, free: 88.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003364/0.6528, allocations: 2.432 MB / 0.7565 GB, free: 86.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/0.6529, allocations: 7.312 kB / 0.7565 GB, free: 86.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006853/0.6597, allocations: 3.467 MB / 0.7599 GB, free: 85.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.6598, allocations: 14.12 kB / 0.7599 GB, free: 85.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/0.6598, allocations: 16.91 kB / 0.7599 GB, free: 85.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003624/0.6635, allocations: 1.179 MB / 0.761 GB, free: 85.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.6646, allocations: 257.8 kB / 0.7613 GB, free: 85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/0.68, allocations: 13.85 MB / 0.7748 GB, free: 76.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.6815, allocations: 88.42 kB / 0.7749 GB, free: 76.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.6817, allocations: 62.81 kB / 0.775 GB, free: 76.46 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001491/0.6832, allocations: 1.119 MB / 0.776 GB, free: 75.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/0.6835, allocations: 165.9 kB / 0.7762 GB, free: 75.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004815/0.6883, allocations: 3.167 MB / 0.7793 GB, free: 74.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.6883, allocations: 14.84 kB / 0.7793 GB, free: 74.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-05/0.6884, allocations: 11.75 kB / 0.7793 GB, free: 74.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.6884, allocations: 11.97 kB / 0.7793 GB, free: 74 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009108/0.6975, allocations: 6.258 MB / 0.7854 GB, free: 69.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.6975, allocations: 4 kB / 0.7854 GB, free: 69.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.6981, allocations: 143.8 kB / 0.7856 GB, free: 69.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002742/0.7009, allocations: 1.076 MB / 0.7866 GB, free: 68.63 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/0.7011, allocations: 24 kB / 0.7867 GB, free: 68.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/0.7148, allocations: 13.56 MB / 0.7999 GB, free: 54.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.7148, allocations: 4 kB / 0.7999 GB, free: 54.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004474/0.7193, allocations: 3.159 MB / 0.803 GB, free: 51.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009897/0.7203, allocations: 427.9 kB / 0.8034 GB, free: 50.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/0.7206, allocations: 31.98 kB / 0.8034 GB, free: 50.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000896/0.7215, allocations: 83.89 kB / 0.8035 GB, free: 50.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/0.7219, allocations: 128.7 kB / 0.8036 GB, free: 50.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.982e-05/0.7219, allocations: 40 kB / 0.8037 GB, free: 50.69 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008448/0.7228, allocations: 0.7632 MB / 0.8044 GB, free: 49.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7228, allocations: 0 / 0.8044 GB, free: 49.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002164/0.725, allocations: 0.6602 MB / 0.8051 GB, free: 49.27 MB / 0.5762 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004641/0.7296, allocations: 3.757 MB / 0.8087 GB, free: 45.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004469/0.7341, allocations: 3.15 MB / 0.8118 GB, free: 42.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.7342, allocations: 0 / 0.8118 GB, free: 42.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002684/0.7369, allocations: 1.964 MB / 0.8137 GB, free: 40.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.7394, allocations: 0.49 MB / 0.8142 GB, free: 39.79 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02724/0.7667, allocations: 19.19 MB / 0.8329 GB, free: 20.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002011/0.7687, allocations: 2.341 MB / 0.8352 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001081/0.7698, allocations: 356.9 kB / 0.8356 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/0.7711, allocations: 1.007 MB / 0.8365 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of SimCode: time 1.994e-06/0.7711, allocations: 0 / 0.8365 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09325/0.8644, allocations: 52.28 MB / 0.8876 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.32, allocations: 7.891 kB / 0.8876 GB, free: 12.66 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_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_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)