Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.493/2.493, allocations: 387.1 MB / 399.7 MB, free: 9.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.0009755/0.0009755, allocations: 188.1 kB / 492.3 MB, free: 0.5938 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.373/1.373, allocations: 221.3 MB / 0.7872 GB, free: 12.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.0008327/0.0008328, allocations: 87.89 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.949e-05/2.959e-05, allocations: 6.266 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2687, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9402/1.209, allocations: 197.7 MB / 1.405 GB, free: 2.422 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/1.209, allocations: 99.17 kB / 1.406 GB, free: 2.367 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.682/2.891, allocations: 384.6 MB / 1.781 GB, free: 233 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.282e-06/2.891, allocations: 0 / 1.781 GB, free: 233 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.001149/2.892, allocations: 171.7 kB / 1.781 GB, free: 233 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02934/2.922, allocations: 5.533 MB / 1.787 GB, free: 230.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/2.922, allocations: 9.906 kB / 1.787 GB, free: 230.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01646/2.938, allocations: 1.764 MB / 1.788 GB, free: 230.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0223/2.961, allocations: 5.053 MB / 1.793 GB, free: 229.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001117/2.962, allocations: 453.6 kB / 1.794 GB, free: 229.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005719/2.967, allocations: 0.5976 MB / 1.794 GB, free: 229.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0354/3.003, allocations: 9.877 MB / 1.804 GB, free: 228.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004716/3.003, allocations: 28.94 kB / 1.804 GB, free: 228.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003319/3.007, allocations: 269 kB / 1.804 GB, free: 228.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005381/3.007, allocations: 382.8 kB / 1.805 GB, free: 228.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02213/3.029, allocations: 7.697 MB / 1.812 GB, free: 228 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07348/3.103, allocations: 46.37 MB / 1.858 GB, free: 201.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006206/3.109, allocations: 4.147 MB / 1.862 GB, free: 201.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005396/3.115, allocations: 3.567 MB / 1.865 GB, free: 201.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004908/3.115, allocations: 38.33 kB / 1.865 GB, free: 201.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/3.115, allocations: 73.52 kB / 1.865 GB, free: 201.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=353): time 6.402e-06/3.115, allocations: 0 / 1.865 GB, free: 201.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=578): time 0.4193/3.535, allocations: 98.51 MB / 1.961 GB, free: 186.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/3.535, allocations: 111.9 kB / 1.961 GB, free: 185.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006285/3.541, allocations: 2.124 MB / 1.964 GB, free: 184 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.002218/3.543, allocations: 121.4 kB / 1.964 GB, free: 183.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002888/3.546, allocations: 2.703 MB / 1.966 GB, free: 181.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.004018/3.55, allocations: 1.951 MB / 1.968 GB, free: 179.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/3.552, allocations: 116 kB / 1.968 GB, free: 179.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0004949/3.552, allocations: 0.5302 MB / 1.969 GB, free: 179.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006252/3.558, allocations: 3.733 MB / 1.972 GB, free: 175.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006744/3.565, allocations: 4.834 MB / 1.977 GB, free: 170.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007/3.572, allocations: 4.535 MB / 1.982 GB, free: 167 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.53e-05/3.572, allocations: 12 kB / 1.982 GB, free: 166.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03642/3.609, allocations: 15.86 MB / 1.997 GB, free: 154 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.318e-05/3.609, allocations: 16.19 kB / 1.997 GB, free: 154 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-05/3.609, allocations: 36 kB / 1.997 GB, free: 154 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02499/3.634, allocations: 7.696 MB / 2.005 GB, free: 147.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/3.637, allocations: 0.5589 MB / 2.005 GB, free: 147.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0891/3.726, allocations: 67.26 MB / 2.071 GB, free: 86.69 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007104/3.733, allocations: 239.7 kB / 2.071 GB, free: 86.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001844/3.735, allocations: 200 kB / 2.071 GB, free: 86.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003137/3.738, allocations: 397.1 kB / 2.072 GB, free: 85.95 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002297/3.74, allocations: 470.4 kB / 2.072 GB, free: 85.49 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03683/3.777, allocations: 15.8 MB / 2.088 GB, free: 72.84 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-05/3.777, allocations: 52 kB / 2.088 GB, free: 72.79 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000238/3.778, allocations: 73.78 kB / 2.088 GB, free: 72.72 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000156/3.778, allocations: 33.11 kB / 2.088 GB, free: 72.72 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05762/3.835, allocations: 23.88 MB / 2.111 GB, free: 53.46 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.75e-05/3.835, allocations: 4 kB / 2.111 GB, free: 53.46 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/3.837, allocations: 320.2 kB / 2.111 GB, free: 53.21 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02101/3.858, allocations: 6.835 MB / 2.118 GB, free: 47.82 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001497/3.86, allocations: 114.5 kB / 2.118 GB, free: 47.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9161/4.776, allocations: 64.12 MB / 2.181 GB, free: 219.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-05/4.776, allocations: 20.17 kB / 2.181 GB, free: 219.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04887/4.825, allocations: 20.79 MB / 2.201 GB, free: 217.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005369/4.83, allocations: 1.26 MB / 2.202 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002871/4.833, allocations: 106.6 kB / 2.202 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005898/4.839, allocations: 233.7 kB / 2.203 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003493/4.843, allocations: 0.5193 MB / 2.203 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001346/4.844, allocations: 139 kB / 2.203 GB, free: 217.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005066/4.849, allocations: 1.593 MB / 2.205 GB, free: 217.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.21e-07/4.849, allocations: 8.531 kB / 2.205 GB, free: 217.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01471/4.864, allocations: 2.338 MB / 2.207 GB, free: 217.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001923/4.866, allocations: 229.2 kB / 2.207 GB, free: 217 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.03142/4.897, allocations: 13.58 MB / 2.221 GB, free: 215.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.651e-05/4.897, allocations: 1.031 kB / 2.221 GB, free: 215.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.01952/4.917, allocations: 8.878 MB / 2.229 GB, free: 213.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008344/4.925, allocations: 1.104 MB / 2.23 GB, free: 213.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02977/4.955, allocations: 12.97 MB / 2.243 GB, free: 211.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01049/4.966, allocations: 5.016 MB / 2.248 GB, free: 210.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004109/4.97, allocations: 0.7426 MB / 2.249 GB, free: 210.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008798/4.971, allocations: 194.4 kB / 2.249 GB, free: 210.3 MB / 1.167 GB Notification: Performance of SimCode: time 9.92e-07/4.971, allocations: 0 / 2.249 GB, free: 210.3 MB / 1.167 GB Notification: Performance of Templates: time 0.214/5.185, allocations: 125.1 MB / 2.371 GB, free: 206.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches