Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.3 MB / 405.3 MB, free: 13.44 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 175.9 kB / 498.1 MB, free: 5.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.802/1.802, allocations: 223.2 MB / 0.7948 GB, free: 17.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009336/0.0009337, allocations: 96.08 kB / 0.9346 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003957, allocations: 10.31 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3462, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2662/0.6124, allocations: 206.6 MB / 1.425 GB, free: 3.285 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004037/0.6129, allocations: 103.9 kB / 1.425 GB, free: 3.184 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.072/1.685, allocations: 156.2 MB / 1.577 GB, free: 72.41 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.615e-06/1.685, allocations: 0 / 1.577 GB, free: 72.41 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002256/1.685, allocations: 99.92 kB / 1.577 GB, free: 72.32 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.0117/1.697, allocations: 3.491 MB / 1.581 GB, free: 68.76 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.697, allocations: 12.03 kB / 1.581 GB, free: 68.75 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006286/1.703, allocations: 0.8381 MB / 1.582 GB, free: 67.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007091/1.71, allocations: 2.561 MB / 1.584 GB, free: 65.29 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/1.71, allocations: 271.3 kB / 1.584 GB, free: 65.02 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00153/1.712, allocations: 383.8 kB / 1.585 GB, free: 64.64 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009536/1.721, allocations: 5.705 MB / 1.59 GB, free: 58.61 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.784e-05/1.721, allocations: 19.83 kB / 1.59 GB, free: 58.59 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003868/1.722, allocations: 164 kB / 1.59 GB, free: 58.43 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001889/1.722, allocations: 218.9 kB / 1.591 GB, free: 58.21 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006347/1.728, allocations: 4.126 MB / 1.595 GB, free: 54.08 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02508/1.754, allocations: 27.67 MB / 1.622 GB, free: 23.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/1.755, allocations: 1.092 MB / 1.623 GB, free: 22.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.77e-05/1.755, allocations: 13 kB / 1.623 GB, free: 22.79 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/1.755, allocations: 47.56 kB / 1.623 GB, free: 22.73 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=110): time 3.236e-06/1.755, allocations: 0 / 1.623 GB, free: 22.73 MB / 0.9167 GB Notification: Performance of matching and sorting (n=131): time 0.01922/1.774, allocations: 9.536 MB / 1.632 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/1.774, allocations: 64.72 kB / 1.632 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/1.776, allocations: 1.274 MB / 1.633 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.827e-05/1.776, allocations: 49.7 kB / 1.634 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007642/1.777, allocations: 1.667 MB / 1.635 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/1.777, allocations: 465.3 kB / 1.636 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/1.777, allocations: 36 kB / 1.636 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.777, allocations: 385.8 kB / 1.636 GB, free: 9.012 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009962/1.778, allocations: 0.8745 MB / 1.637 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/1.78, allocations: 1.46 MB / 1.638 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/1.781, allocations: 1.123 MB / 1.639 GB, free: 5.285 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.781, allocations: 11.98 kB / 1.639 GB, free: 5.273 MB / 0.9167 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004769/1.786, allocations: 3.211 MB / 1.643 GB, free: 2.023 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/1.786, allocations: 18.03 kB / 1.643 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/1.786, allocations: 16 kB / 1.643 GB, free: 1.992 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/1.788, allocations: 0.7218 MB / 1.643 GB, free: 1.242 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/1.789, allocations: 399.3 kB / 1.644 GB, free: 0.8516 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01735/1.807, allocations: 15.87 MB / 1.659 GB, free: 15.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002806/1.809, allocations: 107.8 kB / 1.659 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/1.81, allocations: 76 kB / 1.659 GB, free: 15.61 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003669/1.813, allocations: 1.318 MB / 1.661 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006752/1.814, allocations: 205.5 kB / 1.661 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005337/1.819, allocations: 2.734 MB / 1.663 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/1.819, allocations: 16 kB / 1.663 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.819, allocations: 4 kB / 1.663 GB, free: 11.28 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/1.819, allocations: 4.359 kB / 1.663 GB, free: 11.28 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/1.833, allocations: 6.088 MB / 1.669 GB, free: 5.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/1.833, allocations: 8 kB / 1.669 GB, free: 5.012 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/1.834, allocations: 235.7 kB / 1.67 GB, free: 4.781 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001982/1.836, allocations: 0.6442 MB / 1.67 GB, free: 4.109 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/1.836, allocations: 28 kB / 1.67 GB, free: 4.082 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0155/1.852, allocations: 15.6 MB / 1.686 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.852, allocations: 4 kB / 1.686 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007923/1.86, allocations: 4.265 MB / 1.69 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/1.861, allocations: 450.6 kB / 1.69 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/1.862, allocations: 35.98 kB / 1.69 GB, free: 14.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009298/1.863, allocations: 79.89 kB / 1.69 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004186/1.863, allocations: 116.7 kB / 1.69 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.162e-05/1.863, allocations: 36 kB / 1.69 GB, free: 14.06 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001715/1.865, allocations: 0.9747 MB / 1.691 GB, free: 13.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.655e-06/1.865, allocations: 0 / 1.691 GB, free: 13.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00315/1.868, allocations: 0.7108 MB / 1.692 GB, free: 12.39 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003299/1.868, allocations: 147 kB / 1.692 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005533/1.874, allocations: 3.436 MB / 1.696 GB, free: 8.684 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.874, allocations: 0 / 1.696 GB, free: 8.684 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00334/1.877, allocations: 2.265 MB / 1.698 GB, free: 6.309 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/1.881, allocations: 0.5747 MB / 1.698 GB, free: 5.738 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/1.896, allocations: 7.811 MB / 1.706 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003278/1.9, allocations: 2.734 MB / 1.709 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002001/1.902, allocations: 473.1 kB / 1.709 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/1.902, allocations: 115.4 kB / 1.709 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of SimCode: time 3.486e-06/1.902, allocations: 0 / 1.709 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of Templates: time 0.05992/1.962, allocations: 30.23 MB / 1.739 GB, free: 12.68 MB / 1.026 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches