Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001035/0.001035, allocations: 196.4 kB / 487.4 MB, free: 5.051 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: 221.5 MB / 0.7824 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009579/0.0009573, allocations: 102.1 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.001e-05/2.003e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2966, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9971/1.294, allocations: 181.7 MB / 1.383 GB, free: 17.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.294, allocations: 95.56 kB / 1.384 GB, free: 17.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4652/1.759, allocations: 190.6 MB / 1.57 GB, free: 9.262 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.973e-06/1.759, allocations: 0 / 1.57 GB, free: 9.262 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003658/1.76, allocations: 120 kB / 1.57 GB, free: 9.145 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01425/1.774, allocations: 3.826 MB / 1.574 GB, free: 5.25 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/1.774, allocations: 12.03 kB / 1.574 GB, free: 5.238 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007537/1.782, allocations: 0.9347 MB / 1.574 GB, free: 4.297 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008532/1.79, allocations: 2.987 MB / 1.577 GB, free: 1.25 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/1.791, allocations: 148 kB / 1.578 GB, free: 1.105 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002285/1.793, allocations: 275.9 kB / 1.578 GB, free: 0.8359 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01235/1.805, allocations: 4.529 MB / 1.582 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01991/1.825, allocations: 6.543 MB / 1.589 GB, free: 5.305 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002141/1.825, allocations: 31.77 kB / 1.589 GB, free: 5.273 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000776/1.826, allocations: 12 kB / 1.589 GB, free: 5.262 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003403/1.827, allocations: 281 kB / 1.589 GB, free: 4.984 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04281/1.869, allocations: 34.08 MB / 1.622 GB, free: 15.72 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003187/1.873, allocations: 2.078 MB / 1.624 GB, free: 13.52 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001759/1.874, allocations: 1.218 MB / 1.625 GB, free: 12.3 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.387e-05/1.875, allocations: 17.3 kB / 1.625 GB, free: 12.29 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/1.875, allocations: 47.81 kB / 1.625 GB, free: 12.23 MB / 1.042 GB Notification: Performance of pre-optimization done (n=133): time 3.987e-06/1.875, allocations: 0 / 1.625 GB, free: 12.23 MB / 1.042 GB Notification: Performance of matching and sorting (n=136): time 0.009077/1.884, allocations: 4.368 MB / 1.63 GB, free: 7.812 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/1.884, allocations: 68.66 kB / 1.63 GB, free: 7.734 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/1.886, allocations: 1.062 MB / 1.631 GB, free: 6.672 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/1.886, allocations: 25.7 kB / 1.631 GB, free: 6.641 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001418/1.887, allocations: 1.995 MB / 1.633 GB, free: 4.621 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005847/1.888, allocations: 465.2 kB / 1.633 GB, free: 4.16 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/1.888, allocations: 0 / 1.633 GB, free: 4.16 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002291/1.888, allocations: 377.9 kB / 1.634 GB, free: 3.785 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/1.89, allocations: 0.8512 MB / 1.634 GB, free: 2.934 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/1.891, allocations: 1.488 MB / 1.636 GB, free: 1.141 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/1.893, allocations: 1.115 MB / 1.637 GB, free: 28 kB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/1.893, allocations: 7.984 kB / 1.637 GB, free: 20 kB / 1.042 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00588/1.899, allocations: 3.215 MB / 1.64 GB, free: 12.76 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/1.899, allocations: 15.95 kB / 1.64 GB, free: 12.74 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.749e-05/1.899, allocations: 20 kB / 1.64 GB, free: 12.72 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/1.901, allocations: 0.8766 MB / 1.641 GB, free: 11.81 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/1.902, allocations: 339.4 kB / 1.641 GB, free: 11.48 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0201/1.923, allocations: 20.36 MB / 1.661 GB, free: 5.727 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/1.924, allocations: 75.95 kB / 1.661 GB, free: 5.652 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/1.925, allocations: 80 kB / 1.661 GB, free: 5.574 MB / 1.073 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003489/1.925, allocations: 169.3 kB / 1.662 GB, free: 5.402 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/1.925, allocations: 189.8 kB / 1.662 GB, free: 5.215 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005233/1.931, allocations: 2.81 MB / 1.664 GB, free: 2.344 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/1.931, allocations: 12 kB / 1.664 GB, free: 2.332 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.816e-05/1.931, allocations: 16 kB / 1.664 GB, free: 2.316 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/1.931, allocations: 3.984 kB / 1.665 GB, free: 2.312 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.943, allocations: 6.388 MB / 1.671 GB, free: 11.71 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/1.943, allocations: 4.562 kB / 1.671 GB, free: 11.7 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008838/1.944, allocations: 179.7 kB / 1.671 GB, free: 11.53 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002351/1.947, allocations: 0.7985 MB / 1.672 GB, free: 10.69 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/1.947, allocations: 16 kB / 1.672 GB, free: 10.68 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01833/1.965, allocations: 19.45 MB / 1.691 GB, free: 5.848 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/1.965, allocations: 11.94 kB / 1.691 GB, free: 5.836 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005322/1.97, allocations: 3.137 MB / 1.694 GB, free: 2.477 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.972, allocations: 446.6 kB / 1.694 GB, free: 2.02 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/1.972, allocations: 12 kB / 1.694 GB, free: 2.008 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008083/1.973, allocations: 51.84 kB / 1.694 GB, free: 1.957 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003587/1.973, allocations: 129 kB / 1.694 GB, free: 1.828 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.358e-05/1.973, allocations: 36 kB / 1.694 GB, free: 1.793 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.001185/1.974, allocations: 0.7849 MB / 1.695 GB, free: 1.016 MB / 1.104 GB Notification: Performance of sort global known variables: time 2.71e-07/1.974, allocations: 4 kB / 1.695 GB, free: 1.012 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.003043/1.977, allocations: 0.7422 MB / 1.696 GB, free: 276 kB / 1.104 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002507/1.978, allocations: 131 kB / 1.696 GB, free: 136 kB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.005453/1.983, allocations: 3.733 MB / 1.7 GB, free: 12.29 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.983, allocations: 4.062 kB / 1.7 GB, free: 12.28 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.003602/1.987, allocations: 2.58 MB / 1.702 GB, free: 9.582 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/1.99, allocations: 0.5878 MB / 1.703 GB, free: 9.004 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/2.001, allocations: 5.546 MB / 1.708 GB, free: 3.359 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003811/2.005, allocations: 3.189 MB / 1.711 GB, free: 144 kB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.001844/2.007, allocations: 444.9 kB / 1.712 GB, free: 15.7 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/2.007, allocations: 107.4 kB / 1.712 GB, free: 15.6 MB / 1.135 GB Notification: Performance of SimCode: time 8.42e-07/2.007, allocations: 0 / 1.712 GB, free: 15.6 MB / 1.135 GB Notification: Performance of Templates: time 0.06446/2.072, allocations: 30.96 MB / 1.742 GB, free: 0.9844 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches