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.306/2.306, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001054/0.001054, allocations: 180.8 kB / 487.4 MB, free: 5.055 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.466/1.466, 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.0009421/0.0009421, allocations: 95.84 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.639e-05/1.643e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2624, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.864/1.126, allocations: 197 MB / 1.398 GB, free: 11.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/1.127, allocations: 93.12 kB / 1.398 GB, free: 11.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.651/2.778, allocations: 383.2 MB / 1.773 GB, free: 232.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.487e-06/2.778, allocations: 0.6562 kB / 1.773 GB, free: 232.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0007782/2.779, allocations: 175 kB / 1.773 GB, free: 232.2 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.02804/2.807, allocations: 5.531 MB / 1.778 GB, free: 230 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/2.807, allocations: 9.531 kB / 1.778 GB, free: 230 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01652/2.824, allocations: 1.762 MB / 1.78 GB, free: 229.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01814/2.842, allocations: 5.059 MB / 1.785 GB, free: 228.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005711/2.842, allocations: 194.3 kB / 1.785 GB, free: 228.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003667/2.846, allocations: 354.5 kB / 1.785 GB, free: 228.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02129/2.867, allocations: 6.835 MB / 1.792 GB, free: 228.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03261/2.9, allocations: 8.984 MB / 1.801 GB, free: 227.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005478/2.901, allocations: 32.47 kB / 1.801 GB, free: 227.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003686/2.904, allocations: 11.56 kB / 1.801 GB, free: 227.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006574/2.905, allocations: 383.8 kB / 1.801 GB, free: 227.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0702/2.975, allocations: 45.11 MB / 1.845 GB, free: 200.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006997/2.982, allocations: 4.04 MB / 1.849 GB, free: 200.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005943/2.988, allocations: 3.45 MB / 1.853 GB, free: 200.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005459/2.989, allocations: 35.03 kB / 1.853 GB, free: 200.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.709e-05/2.989, allocations: 68.22 kB / 1.853 GB, free: 200.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=353): time 7.945e-06/2.989, allocations: 0 / 1.853 GB, free: 200.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=578): time 0.1072/3.096, allocations: 37.28 MB / 1.889 GB, free: 197.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/3.096, allocations: 113.5 kB / 1.889 GB, free: 197.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/3.099, allocations: 1.825 MB / 1.891 GB, free: 196.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001259/3.1, allocations: 25.7 kB / 1.891 GB, free: 196.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001498/3.102, allocations: 2.709 MB / 1.894 GB, free: 195.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.002611/3.105, allocations: 1.876 MB / 1.896 GB, free: 194.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004139/3.105, allocations: 0 / 1.896 GB, free: 194.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0003073/3.105, allocations: 0.5251 MB / 1.896 GB, free: 194 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004515/3.11, allocations: 3.615 MB / 1.9 GB, free: 192.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005416/3.115, allocations: 4.698 MB / 1.904 GB, free: 189.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006068/3.121, allocations: 4.409 MB / 1.909 GB, free: 187.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.779e-05/3.121, allocations: 7.562 kB / 1.909 GB, free: 187.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03384/3.155, allocations: 15.17 MB / 1.923 GB, free: 182.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/3.155, allocations: 18.72 kB / 1.923 GB, free: 182.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-05/3.155, allocations: 30.19 kB / 1.923 GB, free: 182.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02317/3.179, allocations: 7.315 MB / 1.931 GB, free: 180.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/3.181, allocations: 0.5572 MB / 1.931 GB, free: 180.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08191/3.263, allocations: 65.16 MB / 1.995 GB, free: 143.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006389/3.27, allocations: 130.2 kB / 1.995 GB, free: 143.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00159/3.271, allocations: 203.7 kB / 1.995 GB, free: 143.4 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.00122/3.273, allocations: 187.7 kB / 1.995 GB, free: 143.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/3.274, allocations: 451.2 kB / 1.996 GB, free: 143.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03234/3.307, allocations: 15.16 MB / 2.01 GB, free: 133.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.359e-05/3.307, allocations: 56 kB / 2.011 GB, free: 133.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001683/3.307, allocations: 72 kB / 2.011 GB, free: 133.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001335/3.307, allocations: 28.41 kB / 2.011 GB, free: 133.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04655/3.354, allocations: 22.29 MB / 2.032 GB, free: 116.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-05/3.354, allocations: 8 kB / 2.032 GB, free: 116.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/3.356, allocations: 319.3 kB / 2.033 GB, free: 115.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01986/3.375, allocations: 6.73 MB / 2.039 GB, free: 110.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001298/3.377, allocations: 19.19 kB / 2.039 GB, free: 110.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07252/3.449, allocations: 62.24 MB / 2.1 GB, free: 54.53 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/3.449, allocations: 8 kB / 2.1 GB, free: 54.52 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03469/3.484, allocations: 20.16 MB / 2.12 GB, free: 36.81 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004201/3.488, allocations: 1.235 MB / 2.121 GB, free: 35.68 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001592/3.49, allocations: 23.7 kB / 2.121 GB, free: 35.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004052/3.494, allocations: 142 kB / 2.121 GB, free: 35.59 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002147/3.496, allocations: 0.5171 MB / 2.122 GB, free: 35.26 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003745/3.497, allocations: 140 kB / 2.122 GB, free: 35.12 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002156/3.499, allocations: 1.331 MB / 2.123 GB, free: 33.94 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.31e-07/3.499, allocations: 0 / 2.123 GB, free: 33.94 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01077/3.51, allocations: 2.035 MB / 2.125 GB, free: 31.9 MB / 1.151 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.0009539/3.511, allocations: 145.8 kB / 2.125 GB, free: 31.76 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.02228/3.533, allocations: 13 MB / 2.138 GB, free: 19.88 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/3.533, allocations: 4 kB / 2.138 GB, free: 19.88 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01757/3.55, allocations: 8.502 MB / 2.146 GB, free: 12.23 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007323/3.558, allocations: 0.9753 MB / 2.147 GB, free: 11.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02217/3.58, allocations: 12.68 MB / 2.16 GB, free: 128 kB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0101/3.59, allocations: 5.18 MB / 2.165 GB, free: 12.73 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003364/3.594, allocations: 0.7208 MB / 2.165 GB, free: 12.23 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005271/3.594, allocations: 187.2 kB / 2.165 GB, free: 12.05 MB / 1.167 GB Notification: Performance of SimCode: time 1.182e-06/3.594, allocations: 0 / 2.165 GB, free: 12.05 MB / 1.167 GB Notification: Performance of Templates: time 0.9678/4.562, allocations: 119.9 MB / 2.283 GB, free: 212.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