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.236/2.236, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001161/0.001161, allocations: 185.2 kB / 498.1 MB, free: 5.762 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.578/1.578, allocations: 223.2 MB / 0.7949 GB, free: 17.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.001092/0.001092, allocations: 98.55 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004042, allocations: 6.969 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.338, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2641/0.6022, allocations: 197.7 MB / 1.416 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004588/0.6028, allocations: 99.92 kB / 1.416 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.596/2.199, allocations: 386.5 MB / 1.794 GB, free: 7.66 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.545e-06/2.199, allocations: 0 / 1.794 GB, free: 7.66 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.0006955/2.2, allocations: 171.9 kB / 1.794 GB, free: 7.492 MB / 1.073 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.02746/2.227, allocations: 6.169 MB / 1.8 GB, free: 1.242 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/2.227, allocations: 12.03 kB / 1.8 GB, free: 1.23 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01562/2.243, allocations: 1.779 MB / 1.801 GB, free: 15.44 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01748/2.261, allocations: 5.054 MB / 1.806 GB, free: 10.31 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005814/2.261, allocations: 460.1 kB / 1.807 GB, free: 9.855 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00376/2.265, allocations: 0.5935 MB / 1.807 GB, free: 9.262 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03009/2.295, allocations: 9.993 MB / 1.817 GB, free: 14.79 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002706/2.295, allocations: 19.78 kB / 1.817 GB, free: 14.77 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001622/2.297, allocations: 267.9 kB / 1.817 GB, free: 14.5 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004354/2.297, allocations: 384.1 kB / 1.818 GB, free: 14.12 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02174/2.319, allocations: 7.832 MB / 1.825 GB, free: 6.273 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8644/3.184, allocations: 46.36 MB / 1.871 GB, free: 177.2 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008534/3.192, allocations: 4.191 MB / 1.875 GB, free: 177.1 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00075/3.193, allocations: 42.31 kB / 1.875 GB, free: 177.1 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.678e-05/3.193, allocations: 71.16 kB / 1.875 GB, free: 177.1 MB / 1.12 GB Notification: Performance of pre-optimization done (n=353): time 6.101e-06/3.193, allocations: 3.828 kB / 1.875 GB, free: 177.1 MB / 1.12 GB Notification: Performance of matching and sorting (n=578): time 0.43/3.623, allocations: 106.4 MB / 1.979 GB, free: 169.3 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/3.623, allocations: 111.4 kB / 1.979 GB, free: 169.2 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00305/3.626, allocations: 2.144 MB / 1.981 GB, free: 169 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.001436/3.628, allocations: 118.3 kB / 1.981 GB, free: 168.9 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.001496/3.629, allocations: 2.702 MB / 1.984 GB, free: 168 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.002407/3.632, allocations: 1.953 MB / 1.986 GB, free: 167 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004015/3.632, allocations: 110.4 kB / 1.986 GB, free: 167 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0002449/3.632, allocations: 0.5354 MB / 1.986 GB, free: 166.7 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004734/3.637, allocations: 3.788 MB / 1.99 GB, free: 166.7 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005755/3.643, allocations: 4.905 MB / 1.995 GB, free: 165.5 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005907/3.649, allocations: 4.579 MB / 1.999 GB, free: 165.4 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.387e-05/3.649, allocations: 10.88 kB / 1.999 GB, free: 165.4 MB / 1.12 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.0326/3.681, allocations: 15.99 MB / 2.015 GB, free: 164.5 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/3.682, allocations: 21.2 kB / 2.015 GB, free: 164.5 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.98e-05/3.682, allocations: 33.09 kB / 2.015 GB, free: 164.5 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02391/3.706, allocations: 7.747 MB / 2.023 GB, free: 164.2 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/3.708, allocations: 0.5515 MB / 2.023 GB, free: 164.2 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08324/3.791, allocations: 70.52 MB / 2.092 GB, free: 107.3 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005395/3.797, allocations: 232.3 kB / 2.092 GB, free: 107.1 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/3.798, allocations: 208 kB / 2.092 GB, free: 106.9 MB / 1.12 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 () * Number of clocked 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.006116/3.804, allocations: 2.437 MB / 2.095 GB, free: 104.9 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001287/3.805, allocations: 466.5 kB / 2.095 GB, free: 104.4 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03144/3.837, allocations: 15.9 MB / 2.111 GB, free: 91.77 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.561e-05/3.837, allocations: 59.94 kB / 2.111 GB, free: 91.71 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002285/3.837, allocations: 72 kB / 2.111 GB, free: 91.64 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001391/3.837, allocations: 29.44 kB / 2.111 GB, free: 91.64 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04649/3.884, allocations: 23.97 MB / 2.134 GB, free: 72.62 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.247e-05/3.884, allocations: 12.19 kB / 2.134 GB, free: 72.61 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/3.886, allocations: 328.1 kB / 2.135 GB, free: 72.38 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02042/3.906, allocations: 6.866 MB / 2.141 GB, free: 67.06 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001219/3.907, allocations: 111.8 kB / 2.141 GB, free: 66.96 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07506/3.982, allocations: 67.36 MB / 2.207 GB, free: 6.316 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/3.983, allocations: 10.62 kB / 2.207 GB, free: 6.309 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05013/4.033, allocations: 21.85 MB / 2.229 GB, free: 6.645 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005003/4.038, allocations: 1.257 MB / 2.23 GB, free: 5.496 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001389/4.039, allocations: 111.8 kB / 2.23 GB, free: 5.391 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003242/4.042, allocations: 228.7 kB / 2.23 GB, free: 5.23 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001917/4.044, allocations: 0.5302 MB / 2.231 GB, free: 4.898 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004702/4.045, allocations: 140 kB / 2.231 GB, free: 4.762 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.002623/4.047, allocations: 1.623 MB / 2.232 GB, free: 3.152 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.3e-07/4.047, allocations: 0 / 2.232 GB, free: 3.152 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.009162/4.057, allocations: 2.333 MB / 2.235 GB, free: 0.8203 MB / 1.135 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 () * Number of clocked 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.001228/4.058, allocations: 250.9 kB / 2.235 GB, free: 0.5938 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0287/4.087, allocations: 13.82 MB / 2.248 GB, free: 2.691 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/4.087, allocations: 5.875 kB / 2.248 GB, free: 2.688 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.02004/4.107, allocations: 9.058 MB / 2.257 GB, free: 9.535 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005993/4.113, allocations: 1.096 MB / 2.258 GB, free: 8.496 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04649/4.159, allocations: 17.94 MB / 2.276 GB, free: 6.605 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01629/4.176, allocations: 5.01 MB / 2.281 GB, free: 1.551 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.006934/4.183, allocations: 0.7473 MB / 2.281 GB, free: 0.8516 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/4.184, allocations: 191.4 kB / 2.282 GB, free: 0.6641 MB / 1.182 GB Notification: Performance of SimCode: time 1.513e-06/4.184, allocations: 0 / 2.282 GB, free: 0.6641 MB / 1.182 GB Notification: Performance of Templates: time 0.8596/5.044, allocations: 125.1 MB / 2.404 GB, free: 241.1 MB / 1.198 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