Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001102/0.001102, allocations: 177.1 kB / 498.1 MB, free: 5.746 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.538/1.538, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0009506/0.0009505, allocations: 106.4 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004086, allocations: 11.69 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4182, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2338/0.652, allocations: 182.7 MB / 1.401 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003697/0.6525, allocations: 107.8 kB / 1.401 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.14/1.792, allocations: 212.4 MB / 1.609 GB, free: 37.55 MB / 0.9167 GB Notification: Performance of FrontEnd: time 4.608e-06/1.792, allocations: 3.938 kB / 1.609 GB, free: 37.55 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0005352/1.793, allocations: 140 kB / 1.609 GB, free: 37.41 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01877/1.812, allocations: 4.741 MB / 1.614 GB, free: 32.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.812, allocations: 8.031 kB / 1.614 GB, free: 32.59 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009092/1.821, allocations: 1.055 MB / 1.615 GB, free: 31.53 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/1.833, allocations: 3.41 MB / 1.618 GB, free: 28.06 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00042/1.833, allocations: 415.1 kB / 1.618 GB, free: 27.65 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0033/1.836, allocations: 0.5389 MB / 1.619 GB, free: 27.11 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02271/1.859, allocations: 8.586 MB / 1.627 GB, free: 18.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002851/1.859, allocations: 35.67 kB / 1.627 GB, free: 18.07 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001526/1.861, allocations: 244 kB / 1.627 GB, free: 17.83 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003021/1.861, allocations: 310.8 kB / 1.628 GB, free: 17.52 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01465/1.876, allocations: 6.151 MB / 1.634 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05995/1.936, allocations: 40.1 MB / 1.673 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003969/1.94, allocations: 3.082 MB / 1.676 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/1.94, allocations: 25.97 kB / 1.676 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/1.94, allocations: 56.56 kB / 1.676 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=179): time 4.989e-06/1.94, allocations: 0 / 1.676 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of matching and sorting (n=182): time 0.02526/1.965, allocations: 9.862 MB / 1.686 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/1.966, allocations: 69.41 kB / 1.686 GB, free: 2.188 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/1.968, allocations: 1.306 MB / 1.687 GB, free: 0.8438 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/1.968, allocations: 57.7 kB / 1.687 GB, free: 0.7812 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001864/1.97, allocations: 2.238 MB / 1.689 GB, free: 14.51 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007736/1.971, allocations: 0.6238 MB / 1.69 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/1.971, allocations: 48 kB / 1.69 GB, free: 13.83 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002004/1.971, allocations: 390.3 kB / 1.69 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/1.973, allocations: 1.172 MB / 1.691 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/1.975, allocations: 1.843 MB / 1.693 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/1.977, allocations: 1.509 MB / 1.695 GB, free: 8.609 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/1.977, allocations: 4 kB / 1.695 GB, free: 8.605 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008046/1.985, allocations: 4.538 MB / 1.699 GB, free: 4.043 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/1.985, allocations: 20.98 kB / 1.699 GB, free: 4.023 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/1.985, allocations: 20 kB / 1.699 GB, free: 4.004 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003927/1.989, allocations: 1.586 MB / 1.701 GB, free: 2.41 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/1.99, allocations: 351.4 kB / 1.701 GB, free: 2.066 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02296/2.013, allocations: 17.7 MB / 1.718 GB, free: 15.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/2.016, allocations: 119.9 kB / 1.718 GB, free: 15.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/2.016, allocations: 96.38 kB / 1.719 GB, free: 15.61 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (174): * Single equations (assignments): 170 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004361/2.02, allocations: 1.89 MB / 1.72 GB, free: 13.71 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006071/2.021, allocations: 225.3 kB / 1.721 GB, free: 13.48 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007212/2.028, allocations: 4.083 MB / 1.725 GB, free: 9.375 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/2.028, allocations: 16 kB / 1.725 GB, free: 9.359 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.359e-05/2.028, allocations: 20 kB / 1.725 GB, free: 9.34 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/2.028, allocations: 15.95 kB / 1.725 GB, free: 9.324 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/2.046, allocations: 9.396 MB / 1.734 GB, free: 15.68 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/2.046, allocations: 4 kB / 1.734 GB, free: 15.68 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008204/2.047, allocations: 188.2 kB / 1.734 GB, free: 15.5 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003422/2.05, allocations: 1.356 MB / 1.735 GB, free: 14.13 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/2.05, allocations: 32 kB / 1.735 GB, free: 14.1 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02042/2.071, allocations: 16.54 MB / 1.751 GB, free: 13.04 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/2.071, allocations: 4 kB / 1.751 GB, free: 13.03 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007237/2.078, allocations: 4.348 MB / 1.756 GB, free: 8.438 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/2.08, allocations: 0.5295 MB / 1.756 GB, free: 7.887 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003149/2.08, allocations: 39.95 kB / 1.756 GB, free: 7.848 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009703/2.081, allocations: 87.89 kB / 1.756 GB, free: 7.762 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005038/2.082, allocations: 157.7 kB / 1.757 GB, free: 7.605 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/2.082, allocations: 44 kB / 1.757 GB, free: 7.562 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001469/2.083, allocations: 1.001 MB / 1.758 GB, free: 6.539 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.71e-07/2.083, allocations: 0 / 1.758 GB, free: 6.539 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.003844/2.087, allocations: 1.031 MB / 1.759 GB, free: 5.508 MB / 1.042 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 (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003349/2.087, allocations: 154.8 kB / 1.759 GB, free: 5.348 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.00693/2.094, allocations: 4.253 MB / 1.763 GB, free: 1.043 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/2.094, allocations: 4 kB / 1.763 GB, free: 1.039 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.004327/2.099, allocations: 2.671 MB / 1.765 GB, free: 14.32 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/2.102, allocations: 0.6782 MB / 1.766 GB, free: 13.64 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/2.121, allocations: 10.51 MB / 1.776 GB, free: 3.055 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004602/2.125, allocations: 3.668 MB / 1.78 GB, free: 15.35 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.001847/2.127, allocations: 463.7 kB / 1.78 GB, free: 14.89 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/2.128, allocations: 115.4 kB / 1.781 GB, free: 14.78 MB / 1.073 GB Notification: Performance of SimCode: time 1.062e-06/2.128, allocations: 0 / 1.781 GB, free: 14.78 MB / 1.073 GB Notification: Performance of Templates: time 0.09317/2.221, allocations: 41.14 MB / 1.821 GB, free: 6.059 MB / 1.104 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches