Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 249.3 MB / 261.8 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 186 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008115/0.0008115, allocations: 90.53 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.69e-05/2.691e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1705, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6612/0.8318, allocations: 179.7 MB / 1.067 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.8321, allocations: 100.5 kB / 1.067 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.299/2.131, allocations: 319.1 MB / 1.379 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.976e-06/2.131, allocations: 0 / 1.379 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0009969/2.132, allocations: 170.6 kB / 1.379 GB, free: 200.8 MB / 0.8698 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.02239/2.154, allocations: 5.501 MB / 1.384 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/2.154, allocations: 14.91 kB / 1.384 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01573/2.17, allocations: 1.761 MB / 1.386 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0175/2.188, allocations: 5.026 MB / 1.391 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005879/2.188, allocations: 456.2 kB / 1.392 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003984/2.192, allocations: 0.5921 MB / 1.392 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03692/2.229, allocations: 9.878 MB / 1.402 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005367/2.23, allocations: 31.25 kB / 1.402 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003773/2.234, allocations: 269.2 kB / 1.402 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005996/2.234, allocations: 377.5 kB / 1.402 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0206/2.255, allocations: 7.696 MB / 1.41 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06933/2.324, allocations: 46.39 MB / 1.455 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005995/2.33, allocations: 4.146 MB / 1.459 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005041/2.335, allocations: 3.568 MB / 1.463 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000424/2.336, allocations: 38.78 kB / 1.463 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.448e-05/2.336, allocations: 65.34 kB / 1.463 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=353): time 8.156e-06/2.336, allocations: 0 / 1.463 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=578): time 0.4026/2.739, allocations: 98.53 MB / 1.559 GB, free: 31.28 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.7e-05/2.739, allocations: 111.9 kB / 1.559 GB, free: 31.16 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005038/2.744, allocations: 2.12 MB / 1.561 GB, free: 29.04 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001606/2.745, allocations: 117.7 kB / 1.561 GB, free: 28.92 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001682/2.747, allocations: 2.691 MB / 1.564 GB, free: 26.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00282/2.75, allocations: 1.963 MB / 1.566 GB, free: 24.26 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/2.751, allocations: 115.9 kB / 1.566 GB, free: 24.14 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0004064/2.752, allocations: 0.5337 MB / 1.567 GB, free: 23.61 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006068/2.758, allocations: 3.721 MB / 1.57 GB, free: 19.88 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006873/2.765, allocations: 4.841 MB / 1.575 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007274/2.772, allocations: 4.536 MB / 1.579 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-05/2.772, allocations: 12 kB / 1.579 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.6134/3.385, allocations: 15.86 MB / 1.595 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.741e-05/3.385, allocations: 17.94 kB / 1.595 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.099e-05/3.385, allocations: 30.86 kB / 1.595 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02724/3.413, allocations: 7.696 MB / 1.602 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/3.416, allocations: 0.5604 MB / 1.603 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09185/3.507, allocations: 67.27 MB / 1.669 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005473/3.513, allocations: 237.7 kB / 1.669 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001386/3.514, allocations: 204.2 kB / 1.669 GB, free: 163.7 MB / 0.8698 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.00127/3.516, allocations: 403.4 kB / 1.669 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001403/3.517, allocations: 467.2 kB / 1.67 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03189/3.549, allocations: 15.8 MB / 1.685 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.626e-05/3.549, allocations: 54.53 kB / 1.685 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001545/3.549, allocations: 70.12 kB / 1.685 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001267/3.549, allocations: 28.17 kB / 1.685 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05745/3.607, allocations: 23.88 MB / 1.709 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.194e-05/3.607, allocations: 10.83 kB / 1.709 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002061/3.609, allocations: 327.4 kB / 1.709 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02195/3.631, allocations: 6.829 MB / 1.716 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001592/3.633, allocations: 111.5 kB / 1.716 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08489/3.717, allocations: 64.11 MB / 1.779 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/3.718, allocations: 8 kB / 1.779 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04096/3.759, allocations: 20.8 MB / 1.799 GB, free: 88.05 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004266/3.763, allocations: 1.255 MB / 1.8 GB, free: 86.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002083/3.765, allocations: 110.1 kB / 1.8 GB, free: 86.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004587/3.77, allocations: 236.9 kB / 1.8 GB, free: 86.62 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002643/3.772, allocations: 0.5222 MB / 1.801 GB, free: 86.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009214/3.773, allocations: 136.8 kB / 1.801 GB, free: 86.16 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003312/3.776, allocations: 1.59 MB / 1.803 GB, free: 84.73 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.7e-07/3.777, allocations: 4 kB / 1.803 GB, free: 84.72 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01119/3.788, allocations: 2.314 MB / 1.805 GB, free: 82.41 MB / 0.8698 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.001203/3.789, allocations: 236.5 kB / 1.805 GB, free: 82.19 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02525/3.814, allocations: 13.58 MB / 1.818 GB, free: 69.76 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.039e-05/3.814, allocations: 4 kB / 1.818 GB, free: 69.75 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01929/3.834, allocations: 8.879 MB / 1.827 GB, free: 61.73 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007567/3.841, allocations: 1.114 MB / 1.828 GB, free: 60.87 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0269/3.868, allocations: 12.95 MB / 1.841 GB, free: 49.28 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0078/3.876, allocations: 5.014 MB / 1.846 GB, free: 45.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003045/3.879, allocations: 0.7444 MB / 1.846 GB, free: 44.98 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005117/3.88, allocations: 195.4 kB / 1.847 GB, free: 44.79 MB / 0.8698 GB Notification: Performance of SimCode: time 1.753e-06/3.88, allocations: 0 / 1.847 GB, free: 44.79 MB / 0.8698 GB Notification: Performance of Templates: time 0.7192/4.599, allocations: 125 MB / 1.969 GB, free: 185.6 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches