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.256/2.256, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001178/0.001178, allocations: 184.4 kB / 492.3 MB, free: 0.6406 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.745/1.745, allocations: 221.3 MB / 0.7872 GB, free: 12.9 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.000889/0.0008889, allocations: 83.95 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.439e-05/2.441e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2518, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.253, allocations: 207.9 MB / 1.415 GB, free: 8.648 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/1.254, allocations: 93.78 kB / 1.416 GB, free: 8.598 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.2894/1.543, allocations: 120.6 MB / 1.533 GB, free: 13.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.174e-06/1.543, allocations: 0 / 1.533 GB, free: 13.71 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002679/1.544, allocations: 79.92 kB / 1.533 GB, free: 13.63 MB / 0.948 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.009824/1.553, allocations: 2.665 MB / 1.536 GB, free: 10.91 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/1.553, allocations: 8.031 kB / 1.536 GB, free: 10.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005682/1.559, allocations: 0.6636 MB / 1.537 GB, free: 10.23 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005749/1.565, allocations: 2.071 MB / 1.539 GB, free: 8.102 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/1.565, allocations: 222 kB / 1.539 GB, free: 7.883 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001105/1.566, allocations: 299.8 kB / 1.539 GB, free: 7.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008422/1.575, allocations: 4.556 MB / 1.544 GB, free: 2.777 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-05/1.575, allocations: 11.92 kB / 1.544 GB, free: 2.766 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003212/1.575, allocations: 136 kB / 1.544 GB, free: 2.633 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001874/1.575, allocations: 169.8 kB / 1.544 GB, free: 2.465 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005528/1.581, allocations: 3.345 MB / 1.547 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02414/1.605, allocations: 21.59 MB / 1.568 GB, free: 7.523 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/1.607, allocations: 1.27 MB / 1.569 GB, free: 6.242 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/1.608, allocations: 1.031 MB / 1.57 GB, free: 5.215 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 7.607e-05/1.608, allocations: 12.98 kB / 1.571 GB, free: 5.203 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/1.608, allocations: 43.56 kB / 1.571 GB, free: 5.148 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=107): time 3.457e-06/1.608, allocations: 0 / 1.571 GB, free: 5.148 MB / 0.9792 GB Notification: Performance of matching and sorting (n=138): time 0.01856/1.627, allocations: 6.656 MB / 1.577 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/1.627, allocations: 76.61 kB / 1.577 GB, free: 14.4 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/1.628, allocations: 0.9499 MB / 1.578 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.22e-05/1.629, allocations: 45.7 kB / 1.578 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008491/1.629, allocations: 1.304 MB / 1.579 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003993/1.63, allocations: 485.1 kB / 1.58 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.102e-05/1.63, allocations: 32 kB / 1.58 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.63, allocations: 369.9 kB / 1.58 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/1.631, allocations: 0.859 MB / 1.581 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/1.633, allocations: 1.327 MB / 1.582 GB, free: 8.805 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/1.634, allocations: 1.102 MB / 1.583 GB, free: 7.707 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/1.634, allocations: 4 kB / 1.583 GB, free: 7.703 MB / 0.9948 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.005914/1.64, allocations: 3.374 MB / 1.587 GB, free: 4.309 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/1.64, allocations: 16.03 kB / 1.587 GB, free: 4.293 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/1.64, allocations: 12 kB / 1.587 GB, free: 4.281 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00294/1.643, allocations: 1.14 MB / 1.588 GB, free: 3.137 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/1.644, allocations: 267.5 kB / 1.588 GB, free: 2.875 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/1.66, allocations: 12.44 MB / 1.6 GB, free: 6.035 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/1.662, allocations: 95.97 kB / 1.6 GB, free: 5.941 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/1.662, allocations: 64 kB / 1.6 GB, free: 5.879 MB / 1.01 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 () * 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.000333/1.662, allocations: 200.5 kB / 1.601 GB, free: 5.676 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/1.662, allocations: 162.1 kB / 1.601 GB, free: 5.516 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005727/1.668, allocations: 3.087 MB / 1.604 GB, free: 2.402 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/1.668, allocations: 16 kB / 1.604 GB, free: 2.387 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/1.668, allocations: 15.94 kB / 1.604 GB, free: 2.371 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/1.668, allocations: 7.969 kB / 1.604 GB, free: 2.363 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/1.679, allocations: 6.089 MB / 1.61 GB, free: 12.14 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/1.679, allocations: 8.062 kB / 1.61 GB, free: 12.13 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006384/1.68, allocations: 151.8 kB / 1.61 GB, free: 11.98 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002632/1.682, allocations: 1.016 MB / 1.611 GB, free: 10.96 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/1.682, allocations: 31.92 kB / 1.611 GB, free: 10.93 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01591/1.698, allocations: 12.14 MB / 1.623 GB, free: 14.38 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/1.698, allocations: 4 kB / 1.623 GB, free: 14.38 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006017/1.704, allocations: 3.318 MB / 1.626 GB, free: 10.83 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.706, allocations: 427 kB / 1.626 GB, free: 10.39 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004638/1.706, allocations: 24 kB / 1.626 GB, free: 10.37 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009604/1.707, allocations: 75.91 kB / 1.627 GB, free: 10.3 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004038/1.708, allocations: 128.7 kB / 1.627 GB, free: 10.17 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.609e-05/1.708, allocations: 40 kB / 1.627 GB, free: 10.13 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001139/1.709, allocations: 0.7339 MB / 1.627 GB, free: 9.395 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.51e-07/1.709, allocations: 0 / 1.627 GB, free: 9.395 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.002463/1.711, allocations: 0.668 MB / 1.628 GB, free: 8.727 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 () * 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.0002758/1.712, allocations: 139.8 kB / 1.628 GB, free: 8.578 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.004778/1.716, allocations: 3.025 MB / 1.631 GB, free: 5.508 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.716, allocations: 0 / 1.631 GB, free: 5.508 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.002945/1.719, allocations: 1.898 MB / 1.633 GB, free: 3.574 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/1.722, allocations: 433.4 kB / 1.633 GB, free: 3.156 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/1.732, allocations: 4.304 MB / 1.638 GB, free: 14.76 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002449/1.735, allocations: 2.387 MB / 1.64 GB, free: 12.33 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.001415/1.736, allocations: 350 kB / 1.64 GB, free: 11.98 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/1.737, allocations: 87.42 kB / 1.64 GB, free: 11.9 MB / 1.057 GB Notification: Performance of SimCode: time 9.62e-07/1.737, allocations: 0 / 1.64 GB, free: 11.9 MB / 1.057 GB Notification: Performance of Templates: time 0.05041/1.787, allocations: 29.14 MB / 1.669 GB, free: 15.14 MB / 1.089 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