Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_RL_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.417/2.417, allocations: 390.3 MB / 405.3 MB, free: 13.4 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.00126/0.00126, allocations: 189 kB / 498.1 MB, free: 5.688 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.679/1.679, allocations: 223.2 MB / 0.7949 GB, free: 17.93 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.0009623/0.0009623, allocations: 99.89 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.00039, allocations: 6.938 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3705, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2907/0.6613, allocations: 208 MB / 1.426 GB, free: 2.012 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003693/0.6617, allocations: 103.9 kB / 1.426 GB, free: 1.91 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.9457/1.607, allocations: 121.1 MB / 1.544 GB, free: 106.8 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.375e-06/1.607, allocations: 0 / 1.544 GB, free: 106.8 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002887/1.608, allocations: 75.98 kB / 1.544 GB, free: 106.7 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01043/1.618, allocations: 2.894 MB / 1.547 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/1.618, allocations: 8.031 kB / 1.547 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005137/1.623, allocations: 0.6752 MB / 1.548 GB, free: 103 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006254/1.63, allocations: 2.063 MB / 1.55 GB, free: 100.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/1.63, allocations: 222 kB / 1.55 GB, free: 100.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001518/1.632, allocations: 295.9 kB / 1.55 GB, free: 100.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/1.645, allocations: 4.614 MB / 1.555 GB, free: 95.54 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001828/1.645, allocations: 7.938 kB / 1.555 GB, free: 95.53 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001154/1.647, allocations: 132 kB / 1.555 GB, free: 95.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002102/1.647, allocations: 169.7 kB / 1.555 GB, free: 95.23 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007163/1.654, allocations: 3.419 MB / 1.559 GB, free: 91.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02053/1.675, allocations: 21.58 MB / 1.58 GB, free: 68.23 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/1.676, allocations: 1.28 MB / 1.581 GB, free: 66.93 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-05/1.676, allocations: 13 kB / 1.581 GB, free: 66.92 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/1.676, allocations: 47.55 kB / 1.581 GB, free: 66.87 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=107): time 4.539e-06/1.676, allocations: 7.938 kB / 1.581 GB, free: 66.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=138): time 0.02612/1.702, allocations: 8.581 MB / 1.589 GB, free: 58.22 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.276e-05/1.702, allocations: 68.67 kB / 1.589 GB, free: 58.14 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/1.705, allocations: 0.9674 MB / 1.59 GB, free: 57.17 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002495/1.705, allocations: 49.7 kB / 1.59 GB, free: 57.11 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009088/1.706, allocations: 1.304 MB / 1.592 GB, free: 55.79 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005797/1.707, allocations: 485 kB / 1.592 GB, free: 55.31 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/1.707, allocations: 36 kB / 1.592 GB, free: 55.28 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.707, allocations: 369.9 kB / 1.592 GB, free: 54.91 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/1.708, allocations: 0.8745 MB / 1.593 GB, free: 54.04 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/1.71, allocations: 1.335 MB / 1.595 GB, free: 52.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/1.711, allocations: 1.115 MB / 1.596 GB, free: 51.38 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/1.711, allocations: 4 kB / 1.596 GB, free: 51.38 MB / 0.9167 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.006005/1.717, allocations: 3.401 MB / 1.599 GB, free: 47.96 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/1.717, allocations: 12 kB / 1.599 GB, free: 47.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/1.717, allocations: 16 kB / 1.599 GB, free: 47.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003093/1.721, allocations: 1.153 MB / 1.6 GB, free: 46.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/1.722, allocations: 271.6 kB / 1.6 GB, free: 46.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/1.737, allocations: 12.95 MB / 1.613 GB, free: 33.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/1.738, allocations: 87.92 kB / 1.613 GB, free: 33.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003169/1.739, allocations: 79.97 kB / 1.613 GB, free: 33 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002607/1.741, allocations: 1.118 MB / 1.614 GB, free: 31.87 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004533/1.742, allocations: 154.1 kB / 1.615 GB, free: 31.71 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005145/1.747, allocations: 3.119 MB / 1.618 GB, free: 28.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/1.747, allocations: 16 kB / 1.618 GB, free: 28.56 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.624e-05/1.747, allocations: 12 kB / 1.618 GB, free: 28.55 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/1.747, allocations: 7.969 kB / 1.618 GB, free: 28.54 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/1.758, allocations: 6.132 MB / 1.624 GB, free: 22.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/1.758, allocations: 4 kB / 1.624 GB, free: 22.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/1.759, allocations: 151.8 kB / 1.624 GB, free: 22.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00238/1.761, allocations: 1.022 MB / 1.625 GB, free: 21.09 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/1.762, allocations: 27.98 kB / 1.625 GB, free: 21.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01291/1.775, allocations: 12.65 MB / 1.637 GB, free: 8.004 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.775, allocations: 12.08 kB / 1.637 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005073/1.78, allocations: 3.326 MB / 1.64 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.781, allocations: 423 kB / 1.641 GB, free: 4.004 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004344/1.781, allocations: 28 kB / 1.641 GB, free: 3.977 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/1.782, allocations: 83.89 kB / 1.641 GB, free: 3.895 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/1.783, allocations: 120.7 kB / 1.641 GB, free: 3.777 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.237e-05/1.783, allocations: 36 kB / 1.641 GB, free: 3.742 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001311/1.784, allocations: 0.7436 MB / 1.642 GB, free: 2.996 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.21e-07/1.784, allocations: 4 kB / 1.642 GB, free: 2.992 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002689/1.787, allocations: 0.6719 MB / 1.642 GB, free: 2.32 MB / 0.9167 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003196/1.787, allocations: 146.8 kB / 1.643 GB, free: 2.168 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004812/1.792, allocations: 3.085 MB / 1.646 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.597e-06/1.792, allocations: 4 kB / 1.646 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003302/1.795, allocations: 1.921 MB / 1.647 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/1.798, allocations: 429.2 kB / 1.648 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/1.811, allocations: 6.418 MB / 1.654 GB, free: 6.172 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003497/1.814, allocations: 2.391 MB / 1.656 GB, free: 3.742 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001408/1.815, allocations: 349.9 kB / 1.657 GB, free: 3.395 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/1.816, allocations: 87.42 kB / 1.657 GB, free: 3.309 MB / 0.9323 GB Notification: Performance of SimCode: time 1.252e-06/1.816, allocations: 0 / 1.657 GB, free: 3.309 MB / 0.9323 GB Notification: Performance of Templates: time 0.05532/1.871, allocations: 29.13 MB / 1.685 GB, free: 6.562 MB / 0.9636 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches