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.001415/0.001415, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.001456/0.001456, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.31/1.31, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.743/0.743, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 67.89 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3722, allocations: 77.91 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02718/0.3994, allocations: 20.23 MB / 0.587 GB, free: 18.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.4099, allocations: 6.449 MB / 0.5933 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002683/0.4126, allocations: 89.12 kB / 0.5934 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004909/0.4176, allocations: 2.23 MB / 0.5956 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003376/0.421, allocations: 1.184 MB / 0.5968 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00286/0.4239, allocations: 1.288 MB / 0.598 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004972/0.4289, allocations: 4.856 MB / 0.6028 GB, free: 6.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005879/0.4348, allocations: 5.639 MB / 0.6083 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003665/0.4385, allocations: 2.076 MB / 0.6103 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003888/0.4424, allocations: 2.336 MB / 0.6126 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000738/0.4432, allocations: 432 kB / 0.613 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.4454, allocations: 1.002 MB / 0.614 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001552/0.447, allocations: 1.665 MB / 0.6156 GB, free: 9.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002495/0.4495, allocations: 1.914 MB / 0.6175 GB, free: 7.309 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006372/0.4559, allocations: 6.482 MB / 0.6238 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4559, allocations: 0 / 0.6238 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4559, allocations: 0 / 0.6238 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000155/0.4561, allocations: 0 / 0.6238 GB, free: 0.8086 MB / 462.1 MB 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.00676/0.4629, allocations: 3.448 MB / 0.6272 GB, free: 13.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.4629, allocations: 8.625 kB / 0.6272 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006126/0.4635, allocations: 454.6 kB / 0.6276 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003381/0.4669, allocations: 0.6371 MB / 0.6282 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004451/0.4714, allocations: 1.947 MB / 0.6301 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.4716, allocations: 218.3 kB / 0.6303 GB, free: 9.969 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008881/0.4725, allocations: 296.1 kB / 0.6306 GB, free: 9.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.4828, allocations: 4.89 MB / 0.6354 GB, free: 4.594 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.483, allocations: 15.84 kB / 0.6354 GB, free: 4.578 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005178/0.4835, allocations: 136 kB / 0.6355 GB, free: 4.445 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004667/0.484, allocations: 225.7 kB / 0.6358 GB, free: 4.223 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006978/0.491, allocations: 3.75 MB / 0.6394 GB, free: 472 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02335/0.5144, allocations: 21.57 MB / 0.6605 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.5163, allocations: 1.304 MB / 0.6618 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.5178, allocations: 1.053 MB / 0.6628 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.422e-05/0.5179, allocations: 13 kB / 0.6628 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.518, allocations: 47.56 kB / 0.6628 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=107): time 3.126e-06/0.518, allocations: 0 / 0.6628 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=138): time 0.02521/0.5432, allocations: 8.645 MB / 0.6713 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.5433, allocations: 64.72 kB / 0.6713 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.5449, allocations: 1.13 MB / 0.6725 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001562/0.5451, allocations: 57.69 kB / 0.6725 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007853/0.5459, allocations: 1.292 MB / 0.6738 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004476/0.5463, allocations: 485.1 kB / 0.6742 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004958/0.5468, allocations: 287.4 kB / 0.6745 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.639e-05/0.5469, allocations: 309 kB / 0.6748 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.5482, allocations: 0.9174 MB / 0.6757 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.5497, allocations: 1.322 MB / 0.677 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002991/0.5527, allocations: 2.422 MB / 0.6794 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.5527, allocations: 4 kB / 0.6794 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005896/0.5586, allocations: 3.467 MB / 0.6827 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.5587, allocations: 12 kB / 0.6828 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.5587, allocations: 12 kB / 0.6828 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003119/0.5618, allocations: 1.189 MB / 0.6839 GB, free: 376 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009577/0.5628, allocations: 263.6 kB / 0.6842 GB, free: 112 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01704/0.5799, allocations: 13.84 MB / 0.6977 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.5813, allocations: 87.97 kB / 0.6978 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002528/0.5816, allocations: 64 kB / 0.6978 GB, free: 1.703 MB / 0.5294 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.002213/0.5838, allocations: 1.122 MB / 0.6989 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004936/0.5843, allocations: 162.1 kB / 0.6991 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006129/0.5905, allocations: 3.169 MB / 0.7022 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.5905, allocations: 16 kB / 0.7022 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.425e-05/0.5906, allocations: 15.94 kB / 0.7022 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.5906, allocations: 7.969 kB / 0.7022 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.6018, allocations: 6.237 MB / 0.7083 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.6019, allocations: 8.125 kB / 0.7083 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/0.6025, allocations: 151.8 kB / 0.7085 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002996/0.6055, allocations: 1.079 MB / 0.7095 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/0.6056, allocations: 32 kB / 0.7096 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/0.6221, allocations: 13.54 MB / 0.7228 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.6222, allocations: 8 kB / 0.7228 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005058/0.6272, allocations: 3.154 MB / 0.7259 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009912/0.6282, allocations: 431 kB / 0.7263 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003441/0.6286, allocations: 31.98 kB / 0.7263 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000916/0.6295, allocations: 79.84 kB / 0.7264 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003288/0.6299, allocations: 128.7 kB / 0.7265 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.585e-05/0.63, allocations: 40 kB / 0.7265 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001053/0.631, allocations: 0.7671 MB / 0.7273 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.631, allocations: 0 / 0.7273 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001896/0.6329, allocations: 0.6602 MB / 0.7279 GB, free: 2.18 MB / 0.5606 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.005167/0.6381, allocations: 3.732 MB / 0.7316 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005494/0.6436, allocations: 3.642 MB / 0.7351 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.6436, allocations: 0 / 0.7351 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002905/0.6465, allocations: 1.955 MB / 0.737 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/0.649, allocations: 0.4944 MB / 0.7375 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2836/0.9326, allocations: 20.08 MB / 0.7571 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002496/0.9351, allocations: 2.341 MB / 0.7594 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001174/0.9363, allocations: 357.8 kB / 0.7598 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008506/0.9372, allocations: 1.007 MB / 0.7608 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/0.9372, allocations: 0 / 0.7608 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07966/1.017, allocations: 51.44 MB / 0.811 GB, free: 110.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.591/10.61, allocations: 12.61 kB / 0.811 GB, free: 110.6 MB / 0.5762 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)