Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.138/2.138, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.00101/0.001011, allocations: 192.7 kB / 487.4 MB, free: 5.043 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.476/1.476, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 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.0008596/0.0008596, allocations: 106.4 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.661e-05/1.662e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3085, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1/1.309, allocations: 177.4 MB / 1.379 GB, free: 18.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/1.309, allocations: 91.88 kB / 1.379 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4163/1.725, allocations: 174.2 MB / 1.549 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.644e-06/1.725, allocations: 0 / 1.549 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003693/1.726, allocations: 95.98 kB / 1.549 GB, free: 14.31 MB / 0.9636 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.01236/1.738, allocations: 3.335 MB / 1.553 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.46e-05/1.738, allocations: 8.031 kB / 1.553 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007668/1.746, allocations: 1.048 MB / 1.554 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009003/1.755, allocations: 2.618 MB / 1.556 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003886/1.755, allocations: 116 kB / 1.556 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003132/1.759, allocations: 216 kB / 1.557 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01398/1.773, allocations: 4.408 MB / 1.561 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0192/1.792, allocations: 6.082 MB / 1.567 GB, free: 12.01 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002321/1.792, allocations: 27.77 kB / 1.567 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001792/1.794, allocations: 11.95 kB / 1.567 GB, free: 11.97 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001109/1.795, allocations: 387.3 kB / 1.567 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04977/1.845, allocations: 31.33 MB / 1.598 GB, free: 9.5 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003497/1.848, allocations: 2.099 MB / 1.6 GB, free: 7.387 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003439/1.852, allocations: 2.166 MB / 1.602 GB, free: 5.219 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/1.852, allocations: 25.28 kB / 1.602 GB, free: 5.195 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/1.852, allocations: 47.88 kB / 1.602 GB, free: 5.141 MB / 1.01 GB Notification: Performance of pre-optimization done (n=146): time 4.659e-06/1.852, allocations: 0 / 1.602 GB, free: 5.141 MB / 1.01 GB Notification: Performance of matching and sorting (n=251): time 0.06489/1.917, allocations: 21.95 MB / 1.624 GB, free: 15.14 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/1.917, allocations: 77.41 kB / 1.624 GB, free: 15.05 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/1.92, allocations: 1.237 MB / 1.625 GB, free: 13.81 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0007312/1.921, allocations: 25.7 kB / 1.625 GB, free: 13.78 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001601/1.923, allocations: 1.735 MB / 1.627 GB, free: 12.02 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00156/1.924, allocations: 0.8236 MB / 1.627 GB, free: 11.19 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005234/1.925, allocations: 0 / 1.627 GB, free: 11.19 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002723/1.925, allocations: 407.1 kB / 1.628 GB, free: 10.79 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004102/1.929, allocations: 2.707 MB / 1.63 GB, free: 8.074 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004568/1.934, allocations: 3.228 MB / 1.634 GB, free: 4.629 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006182/1.94, allocations: 3.382 MB / 1.637 GB, free: 1.242 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.975e-05/1.94, allocations: 4 kB / 1.637 GB, free: 1.238 MB / 1.042 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.0266/1.967, allocations: 11.99 MB / 1.649 GB, free: 5.211 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/1.967, allocations: 12 kB / 1.649 GB, free: 5.199 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.663e-05/1.967, allocations: 16 kB / 1.649 GB, free: 5.184 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02465/1.991, allocations: 7.895 MB / 1.656 GB, free: 13.27 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/1.993, allocations: 287.4 kB / 1.657 GB, free: 12.99 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05761/2.051, allocations: 31.33 MB / 1.687 GB, free: 13.21 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/2.054, allocations: 115.7 kB / 1.687 GB, free: 13.1 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009474/2.055, allocations: 271.8 kB / 1.688 GB, free: 12.84 MB / 1.104 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.001223/2.056, allocations: 148.3 kB / 1.688 GB, free: 12.68 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/2.057, allocations: 233.2 kB / 1.688 GB, free: 12.45 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02706/2.084, allocations: 12.17 MB / 1.7 GB, free: 236 kB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.074e-05/2.084, allocations: 24 kB / 1.7 GB, free: 212 kB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.746e-05/2.084, allocations: 24 kB / 1.7 GB, free: 188 kB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.131e-05/2.085, allocations: 15.95 kB / 1.7 GB, free: 172 kB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04112/2.126, allocations: 17.59 MB / 1.717 GB, free: 14.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.953e-05/2.126, allocations: 4 kB / 1.717 GB, free: 14.39 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009318/2.127, allocations: 175.8 kB / 1.717 GB, free: 14.22 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02442/2.151, allocations: 7.801 MB / 1.725 GB, free: 6.398 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008041/2.152, allocations: 87.86 kB / 1.725 GB, free: 6.312 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7404/2.892, allocations: 30.89 MB / 1.755 GB, free: 314.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.485e-05/2.892, allocations: 14.25 kB / 1.755 GB, free: 314.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02444/2.917, allocations: 12.28 MB / 1.767 GB, free: 313.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002211/2.919, allocations: 0.9922 MB / 1.768 GB, free: 313.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006087/2.92, allocations: 13.62 kB / 1.768 GB, free: 313.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/2.922, allocations: 114 kB / 1.768 GB, free: 313.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009083/2.922, allocations: 263.2 kB / 1.768 GB, free: 313.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004486/2.923, allocations: 239.2 kB / 1.769 GB, free: 313.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001365/2.924, allocations: 0.9377 MB / 1.77 GB, free: 313.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.92e-07/2.924, allocations: 0 / 1.77 GB, free: 313.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004159/2.928, allocations: 1.15 MB / 1.771 GB, free: 313.1 MB / 1.151 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.0005435/2.929, allocations: 152.2 kB / 1.771 GB, free: 313 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01846/2.947, allocations: 9.028 MB / 1.78 GB, free: 312.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/2.948, allocations: 5.281 kB / 1.78 GB, free: 312.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01435/2.962, allocations: 5.825 MB / 1.785 GB, free: 312 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/2.965, allocations: 428 kB / 1.786 GB, free: 311.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/2.976, allocations: 7.231 MB / 1.793 GB, free: 310.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002853/2.979, allocations: 3.19 MB / 1.796 GB, free: 309.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001299/2.98, allocations: 376.8 kB / 1.796 GB, free: 309.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/2.98, allocations: 93.41 kB / 1.796 GB, free: 309.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.062e-06/2.98, allocations: 0 / 1.796 GB, free: 309.7 MB / 1.151 GB Notification: Performance of Templates: time 0.09179/3.072, allocations: 69.04 MB / 1.864 GB, free: 307.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches