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.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,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.414/1.414, allocations: 249.3 MB / 261.8 MB, free: 5.906 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.0009537/0.0009541, allocations: 176.8 kB / 321.3 MB, free: 14.66 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.305/1.305, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.000829/0.000829, allocations: 90.52 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.075e-05/3.089e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2068, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7727/0.9796, allocations: 188.7 MB / 1.076 GB, free: 12.66 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/0.98, allocations: 95.38 kB / 1.076 GB, free: 12.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3529/1.333, allocations: 145.7 MB / 1.218 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.164e-06/1.333, allocations: 4 kB / 1.218 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004317/1.333, allocations: 91.92 kB / 1.219 GB, free: 15.09 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01193/1.345, allocations: 3.22 MB / 1.222 GB, free: 11.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/1.345, allocations: 8.031 kB / 1.222 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006807/1.352, allocations: 0.8187 MB / 1.222 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008421/1.361, allocations: 2.561 MB / 1.225 GB, free: 8.363 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003619/1.361, allocations: 271.3 kB / 1.225 GB, free: 8.098 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002169/1.363, allocations: 383.8 kB / 1.226 GB, free: 7.723 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/1.379, allocations: 5.644 MB / 1.231 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002188/1.38, allocations: 19.84 kB / 1.231 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00131/1.381, allocations: 167.9 kB / 1.231 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002929/1.381, allocations: 211 kB / 1.231 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009724/1.391, allocations: 4.053 MB / 1.235 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.541/1.932, allocations: 27.67 MB / 1.262 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/1.934, allocations: 1.083 MB / 1.264 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/1.935, allocations: 0.9784 MB / 1.264 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.089e-05/1.935, allocations: 15.09 kB / 1.264 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/1.935, allocations: 42.16 kB / 1.265 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 2.665e-06/1.935, allocations: 0 / 1.265 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=131): time 0.0214/1.957, allocations: 7.978 MB / 1.272 GB, free: 226 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/1.957, allocations: 66.58 kB / 1.272 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/1.96, allocations: 1.266 MB / 1.274 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/1.96, allocations: 49.86 kB / 1.274 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001278/1.961, allocations: 1.668 MB / 1.275 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004593/1.962, allocations: 470 kB / 1.276 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/1.962, allocations: 33.31 kB / 1.276 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.962, allocations: 380 kB / 1.276 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/1.963, allocations: 0.8571 MB / 1.277 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/1.965, allocations: 1.445 MB / 1.278 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/1.967, allocations: 1.11 MB / 1.279 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/1.967, allocations: 9.109 kB / 1.279 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006238/1.973, allocations: 3.183 MB / 1.283 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/1.973, allocations: 16.16 kB / 1.283 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/1.973, allocations: 19.38 kB / 1.283 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002167/1.975, allocations: 0.7169 MB / 1.283 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/1.977, allocations: 402.1 kB / 1.284 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/1.99, allocations: 15.56 MB / 1.299 GB, free: 212.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/1.992, allocations: 102.1 kB / 1.299 GB, free: 212.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/1.992, allocations: 86.14 kB / 1.299 GB, free: 212.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003687/1.993, allocations: 216.3 kB / 1.299 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/1.993, allocations: 197.5 kB / 1.299 GB, free: 212 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005296/1.998, allocations: 2.715 MB / 1.302 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/1.998, allocations: 17.02 kB / 1.302 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.998, allocations: 10.14 kB / 1.302 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/1.998, allocations: 10.03 kB / 1.302 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/2.01, allocations: 6.056 MB / 1.308 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/2.01, allocations: 5.344 kB / 1.308 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/2.011, allocations: 241.9 kB / 1.308 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/2.013, allocations: 0.6454 MB / 1.309 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.963e-05/2.013, allocations: 31.5 kB / 1.309 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/2.024, allocations: 15.3 MB / 1.324 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/2.024, allocations: 10.11 kB / 1.324 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005777/2.03, allocations: 4.233 MB / 1.328 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/2.031, allocations: 451.2 kB / 1.328 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/2.032, allocations: 33.03 kB / 1.329 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008676/2.032, allocations: 81.05 kB / 1.329 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002985/2.033, allocations: 118.8 kB / 1.329 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.41e-05/2.033, allocations: 37.5 kB / 1.329 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001196/2.034, allocations: 0.9506 MB / 1.33 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/2.034, allocations: 2.531 kB / 1.33 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003059/2.037, allocations: 0.7041 MB / 1.33 GB, free: 198.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003151/2.037, allocations: 152.2 kB / 1.331 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004892/2.042, allocations: 3.394 MB / 1.334 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/2.042, allocations: 0 / 1.334 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00254/2.045, allocations: 2.217 MB / 1.336 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/2.048, allocations: 0.5813 MB / 1.337 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008496/2.056, allocations: 5.241 MB / 1.342 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002164/2.058, allocations: 2.736 MB / 1.344 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001618/2.06, allocations: 474.9 kB / 1.345 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/2.06, allocations: 117.9 kB / 1.345 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.212e-06/2.06, allocations: 0 / 1.345 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.04765/2.108, allocations: 30.24 MB / 1.374 GB, free: 192 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches