Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 249.5 MB / 257 MB, free: 6.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 176.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007821/0.0007821, allocations: 78.61 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.522e-05/1.524e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1851, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6576/0.8428, allocations: 160.3 MB / 1.042 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/0.8432, allocations: 95.61 kB / 1.042 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.3296/1.173, allocations: 138.3 MB / 1.177 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.144e-06/1.173, allocations: 0 / 1.177 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002067/1.173, allocations: 95.98 kB / 1.177 GB, free: 10.16 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007926/1.181, allocations: 3.318 MB / 1.18 GB, free: 6.777 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/1.181, allocations: 12.03 kB / 1.18 GB, free: 6.766 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006425/1.187, allocations: 1.037 MB / 1.181 GB, free: 5.723 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004938/1.192, allocations: 2.599 MB / 1.184 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/1.193, allocations: 120 kB / 1.184 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005651/1.193, allocations: 215.9 kB / 1.184 GB, free: 2.738 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007784/1.201, allocations: 4.416 MB / 1.188 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/1.212, allocations: 6.086 MB / 1.194 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.232e-05/1.212, allocations: 11.88 kB / 1.194 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003726/1.212, allocations: 12 kB / 1.194 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007886/1.213, allocations: 379.3 kB / 1.195 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0405/1.254, allocations: 31.35 MB / 1.225 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/1.257, allocations: 2.095 MB / 1.227 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002917/1.26, allocations: 2.162 MB / 1.23 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/1.26, allocations: 25.3 kB / 1.23 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/1.26, allocations: 51.88 kB / 1.23 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=146): time 3.527e-06/1.26, allocations: 0 / 1.23 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of matching and sorting (n=251): time 0.05986/1.32, allocations: 21.96 MB / 1.251 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/1.32, allocations: 85.36 kB / 1.251 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002253/1.322, allocations: 1.241 MB / 1.252 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005288/1.322, allocations: 29.7 kB / 1.252 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/1.324, allocations: 1.731 MB / 1.254 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001083/1.325, allocations: 0.8158 MB / 1.255 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003597/1.325, allocations: 0 / 1.255 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002064/1.325, allocations: 411.1 kB / 1.255 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00358/1.329, allocations: 2.703 MB / 1.258 GB, free: 3.941 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003966/1.333, allocations: 3.236 MB / 1.261 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4266/1.76, allocations: 3.371 MB / 1.264 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-05/1.76, allocations: 4.75 kB / 1.264 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.02654/1.786, allocations: 12 MB / 1.276 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/1.786, allocations: 11.5 kB / 1.276 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-05/1.786, allocations: 15.84 kB / 1.276 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02428/1.811, allocations: 7.879 MB / 1.284 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/1.812, allocations: 289.7 kB / 1.284 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04711/1.859, allocations: 31.32 MB / 1.315 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003258/1.862, allocations: 114.4 kB / 1.315 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000967/1.863, allocations: 272 kB / 1.315 GB, free: 227.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.001023/1.864, allocations: 148.1 kB / 1.315 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008209/1.865, allocations: 236.5 kB / 1.315 GB, free: 227 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02071/1.886, allocations: 12.16 MB / 1.327 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.331e-05/1.886, allocations: 25.78 kB / 1.327 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-05/1.886, allocations: 25.44 kB / 1.327 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.314e-05/1.886, allocations: 11.11 kB / 1.327 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02809/1.914, allocations: 17.59 MB / 1.345 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.914, allocations: 15.48 kB / 1.345 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000714/1.915, allocations: 159.6 kB / 1.345 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02067/1.936, allocations: 7.817 MB / 1.352 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005233/1.936, allocations: 84.17 kB / 1.352 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04237/1.979, allocations: 30.9 MB / 1.383 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.345e-05/1.979, allocations: 13.28 kB / 1.383 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02175/2, allocations: 12.29 MB / 1.395 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002017/2.002, allocations: 0.9883 MB / 1.396 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007979/2.003, allocations: 8 kB / 1.396 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/2.005, allocations: 119.3 kB / 1.396 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008413/2.006, allocations: 261.5 kB / 1.396 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004659/2.007, allocations: 236.4 kB / 1.396 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001454/2.008, allocations: 0.9403 MB / 1.397 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/2.008, allocations: 0 / 1.397 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004544/2.013, allocations: 1.128 MB / 1.398 GB, free: 193.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005329/2.013, allocations: 150.7 kB / 1.398 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01558/2.029, allocations: 9.051 MB / 1.407 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/2.029, allocations: 0 / 1.407 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01331/2.042, allocations: 5.829 MB / 1.413 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/2.046, allocations: 436 kB / 1.413 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/2.059, allocations: 7.223 MB / 1.42 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003751/2.063, allocations: 3.185 MB / 1.423 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001231/2.064, allocations: 372.5 kB / 1.424 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/2.064, allocations: 99.42 kB / 1.424 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of SimCode: time 5.31e-07/2.064, allocations: 0 / 1.424 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.08354/2.148, allocations: 68.94 MB / 1.491 GB, free: 103.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches