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_RL_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_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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.386/1.386, allocations: 249.5 MB / 257 MB, free: 6.855 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.001012/0.001012, allocations: 184.8 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.3 MB / 0.5671 GB, free: 15.93 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.0007876/0.0007878, allocations: 80.55 kB / 0.6714 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.38e-05/1.382e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1803, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6798/0.8601, allocations: 190.3 MB / 1.071 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.8604, allocations: 96 kB / 1.071 GB, free: 14.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2556/1.116, allocations: 112.7 MB / 1.181 GB, free: 5.895 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.262e-06/1.116, allocations: 0 / 1.181 GB, free: 5.895 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001669/1.116, allocations: 79.92 kB / 1.181 GB, free: 5.816 MB / 0.7917 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.006326/1.123, allocations: 2.668 MB / 1.184 GB, free: 3.09 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/1.123, allocations: 8.031 kB / 1.184 GB, free: 3.082 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003816/1.126, allocations: 0.6635 MB / 1.185 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003773/1.13, allocations: 2.071 MB / 1.187 GB, free: 288 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.362e-05/1.13, allocations: 96 kB / 1.187 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003931/1.131, allocations: 168 kB / 1.187 GB, free: 24 kB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00505/1.136, allocations: 2.976 MB / 1.19 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006394/1.142, allocations: 4.118 MB / 1.194 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-05/1.142, allocations: 15.84 kB / 1.194 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/1.143, allocations: 8 kB / 1.194 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/1.143, allocations: 169.8 kB / 1.194 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02063/1.163, allocations: 20.99 MB / 1.214 GB, free: 1.508 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/1.165, allocations: 1.24 MB / 1.216 GB, free: 264 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/1.166, allocations: 0.988 MB / 1.217 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.138e-05/1.166, allocations: 13.31 kB / 1.217 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/1.166, allocations: 43.88 kB / 1.217 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=107): time 3.237e-06/1.166, allocations: 0 / 1.217 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=138): time 0.008688/1.175, allocations: 4.722 MB / 1.221 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/1.175, allocations: 68.72 kB / 1.221 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/1.176, allocations: 0.8267 MB / 1.222 GB, free: 9.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.803e-05/1.176, allocations: 29.7 kB / 1.222 GB, free: 9.535 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007644/1.177, allocations: 1.303 MB / 1.223 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/1.177, allocations: 461.1 kB / 1.224 GB, free: 7.758 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.513e-05/1.178, allocations: 0 / 1.224 GB, free: 7.758 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.178, allocations: 373.9 kB / 1.224 GB, free: 7.387 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/1.179, allocations: 0.8277 MB / 1.225 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/1.18, allocations: 1.28 MB / 1.226 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/1.182, allocations: 1.068 MB / 1.227 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/1.182, allocations: 4 kB / 1.227 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.005409/1.187, allocations: 3.176 MB / 1.23 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/1.187, allocations: 16.17 kB / 1.23 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/1.187, allocations: 20 kB / 1.23 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002841/1.19, allocations: 1.076 MB / 1.232 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009834/1.191, allocations: 267.5 kB / 1.232 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/1.205, allocations: 12.04 MB / 1.244 GB, free: 3.047 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/1.207, allocations: 55.92 kB / 1.244 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/1.207, allocations: 68.05 kB / 1.244 GB, free: 2.926 MB / 0.8542 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.0002924/1.207, allocations: 148.5 kB / 1.244 GB, free: 2.773 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/1.208, allocations: 154.2 kB / 1.244 GB, free: 2.621 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005402/1.213, allocations: 2.938 MB / 1.247 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/1.213, allocations: 16 kB / 1.247 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/1.213, allocations: 16 kB / 1.247 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/1.213, allocations: 7.969 kB / 1.247 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009456/1.223, allocations: 5.515 MB / 1.252 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.223, allocations: 4.562 kB / 1.252 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005979/1.223, allocations: 155.7 kB / 1.252 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002492/1.226, allocations: 1.001 MB / 1.253 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.224e-05/1.226, allocations: 11.95 kB / 1.253 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.477/1.703, allocations: 11.72 MB / 1.265 GB, free: 247 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/1.703, allocations: 9 kB / 1.265 GB, free: 247 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006197/1.709, allocations: 3.185 MB / 1.268 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.71, allocations: 410 kB / 1.268 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/1.711, allocations: 7.109 kB / 1.268 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007682/1.711, allocations: 54.75 kB / 1.268 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004552/1.712, allocations: 126.8 kB / 1.269 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.392e-05/1.712, allocations: 36.06 kB / 1.269 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001082/1.713, allocations: 0.6225 MB / 1.269 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.31e-07/1.713, allocations: 0 / 1.269 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002719/1.716, allocations: 0.5938 MB / 1.27 GB, free: 246.2 MB / 0.8698 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.0002744/1.716, allocations: 116.8 kB / 1.27 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004957/1.721, allocations: 2.885 MB / 1.273 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.721, allocations: 1 kB / 1.273 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002752/1.724, allocations: 1.825 MB / 1.274 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/1.726, allocations: 391.6 kB / 1.275 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007956/1.734, allocations: 4.228 MB / 1.279 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003155/1.737, allocations: 2.393 MB / 1.281 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00157/1.739, allocations: 342.5 kB / 1.282 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/1.739, allocations: 80.73 kB / 1.282 GB, free: 243.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.433e-06/1.739, allocations: 0 / 1.282 GB, free: 243.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.05168/1.79, allocations: 27.31 MB / 1.308 GB, free: 242.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches