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.001409/0.001409, allocations: 109.8 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.001384/0.001384, 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.399/1.399, 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.7697/0.7697, allocations: 126.1 MB / 417.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 68.02 kB / 0.5726 GB, free: 27.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.164, allocations: 78.69 MB / 0.6495 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02412/0.1882, allocations: 20.24 MB / 0.6692 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01176/0.2, allocations: 6.445 MB / 0.6755 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.2019, allocations: 91.56 kB / 0.6756 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005654/0.2076, allocations: 2.242 MB / 0.6778 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003324/0.211, allocations: 1.244 MB / 0.679 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.2141, allocations: 1.282 MB / 0.6803 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005096/0.2192, allocations: 4.858 MB / 0.685 GB, free: 96 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006757/0.226, allocations: 5.599 MB / 0.6905 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003084/0.2291, allocations: 2.115 MB / 0.6925 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00346/0.2325, allocations: 2.348 MB / 0.6948 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009272/0.2335, allocations: 432 kB / 0.6952 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.2358, allocations: 1.003 MB / 0.6962 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002184/0.238, allocations: 1.669 MB / 0.6979 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00355/0.2416, allocations: 1.906 MB / 0.6997 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008727/0.2503, allocations: 6.537 MB / 0.7061 GB, free: 10.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.2503, allocations: 0 / 0.7061 GB, free: 10.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2503, allocations: 0 / 0.7061 GB, free: 10.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002362/0.2506, allocations: 0 / 0.7061 GB, free: 10.38 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.008777/0.2594, allocations: 3.541 MB / 0.7096 GB, free: 6.773 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.2594, allocations: 8.031 kB / 0.7096 GB, free: 6.766 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001055/0.2605, allocations: 454.6 kB / 0.71 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003735/0.2642, allocations: 0.6545 MB / 0.7106 GB, free: 5.652 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004025/0.2683, allocations: 2.054 MB / 0.7126 GB, free: 3.539 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.2685, allocations: 222.3 kB / 0.7129 GB, free: 3.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007547/0.2692, allocations: 296.1 kB / 0.7131 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008808/0.278, allocations: 4.89 MB / 0.7179 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001086/0.2782, allocations: 7.938 kB / 0.7179 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005233/0.2787, allocations: 132 kB / 0.718 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004544/0.2792, allocations: 229.7 kB / 0.7183 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006603/0.2858, allocations: 3.746 MB / 0.7219 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02284/0.3086, allocations: 21.44 MB / 0.7429 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.3106, allocations: 1.304 MB / 0.7441 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.3121, allocations: 1.053 MB / 0.7452 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.525e-05/0.3122, allocations: 13 kB / 0.7452 GB, free: 0 / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.329/0.6412, allocations: 40.94 kB / 0.7452 GB, free: 87.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=107): time 3.576e-06/0.6413, allocations: 0 / 0.7452 GB, free: 87.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=138): time 0.02707/0.6683, allocations: 8.702 MB / 0.7537 GB, free: 85.89 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.6684, allocations: 66.06 kB / 0.7538 GB, free: 85.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.6703, allocations: 1.129 MB / 0.7549 GB, free: 85.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.6704, allocations: 51.95 kB / 0.7549 GB, free: 85.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000793/0.6712, allocations: 1.338 MB / 0.7562 GB, free: 84.51 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000371/0.6716, allocations: 0.4959 MB / 0.7567 GB, free: 84.19 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004948/0.6721, allocations: 290.3 kB / 0.757 GB, free: 84.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.768e-05/0.6721, allocations: 306.2 kB / 0.7573 GB, free: 83.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.6736, allocations: 0.9118 MB / 0.7582 GB, free: 83.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.6752, allocations: 1.329 MB / 0.7595 GB, free: 82.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003041/0.6783, allocations: 2.427 MB / 0.7618 GB, free: 81.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.6783, allocations: 3.781 kB / 0.7619 GB, free: 81.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005724/0.684, allocations: 3.473 MB / 0.7652 GB, free: 79.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.684, allocations: 16.47 kB / 0.7653 GB, free: 79.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.6841, allocations: 12.31 kB / 0.7653 GB, free: 79.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003047/0.6871, allocations: 1.177 MB / 0.7664 GB, free: 79.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009042/0.688, allocations: 261.1 kB / 0.7667 GB, free: 79.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01399/0.702, allocations: 13.85 MB / 0.7802 GB, free: 70.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.7034, allocations: 89 kB / 0.7803 GB, free: 70.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.7035, allocations: 66.22 kB / 0.7803 GB, free: 70.04 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.00157/0.7051, allocations: 1.117 MB / 0.7814 GB, free: 69.33 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/0.7054, allocations: 167.5 kB / 0.7816 GB, free: 69.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004696/0.7101, allocations: 3.185 MB / 0.7847 GB, free: 67.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.7101, allocations: 15.72 kB / 0.7847 GB, free: 67.28 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.7101, allocations: 12 kB / 0.7847 GB, free: 67.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.7101, allocations: 15.91 kB / 0.7847 GB, free: 67.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008236/0.7184, allocations: 6.238 MB / 0.7908 GB, free: 60.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.7184, allocations: 4 kB / 0.7908 GB, free: 60.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005458/0.7189, allocations: 155.8 kB / 0.791 GB, free: 60.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002583/0.7215, allocations: 1.063 MB / 0.792 GB, free: 59.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.35e-05/0.7216, allocations: 32 kB / 0.7921 GB, free: 59.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/0.7353, allocations: 13.54 MB / 0.8053 GB, free: 45.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.7354, allocations: 4 kB / 0.8053 GB, free: 45.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004482/0.7399, allocations: 3.167 MB / 0.8084 GB, free: 42.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007581/0.7406, allocations: 435.9 kB / 0.8088 GB, free: 42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003192/0.741, allocations: 35.92 kB / 0.8088 GB, free: 41.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009036/0.7419, allocations: 79.28 kB / 0.8089 GB, free: 41.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003487/0.7422, allocations: 124.7 kB / 0.809 GB, free: 41.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.769e-05/0.7423, allocations: 40 kB / 0.8091 GB, free: 41.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008933/0.7432, allocations: 0.771 MB / 0.8098 GB, free: 40.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7432, allocations: 0 / 0.8098 GB, free: 40.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001965/0.7452, allocations: 0.6602 MB / 0.8105 GB, free: 40.3 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.004407/0.7496, allocations: 3.745 MB / 0.8141 GB, free: 36.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00413/0.7538, allocations: 3.153 MB / 0.8172 GB, free: 33.28 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.7538, allocations: 4.062 kB / 0.8172 GB, free: 33.28 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002538/0.7563, allocations: 1.969 MB / 0.8191 GB, free: 31.28 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.7586, allocations: 0.4925 MB / 0.8196 GB, free: 30.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02666/0.7853, allocations: 19.19 MB / 0.8383 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002556/0.7878, allocations: 2.336 MB / 0.8406 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000907/0.7888, allocations: 351 kB / 0.841 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009328/0.7897, allocations: 1.015 MB / 0.842 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of SimCode: time 1.403e-06/0.7897, allocations: 3.938 kB / 0.842 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/0.9167, allocations: 52.27 MB / 0.893 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.27, allocations: 12.27 kB / 0.893 GB, free: 3.703 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)