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_L.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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 249.3 MB / 261.8 MB, free: 5.793 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.001038/0.001038, allocations: 176.9 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.45/1.45, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008889/0.0008892, allocations: 86.5 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.361e-05, allocations: 8 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2039, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6667/0.8706, allocations: 164.5 MB / 1.052 GB, free: 3.953 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.871, allocations: 94.17 kB / 1.053 GB, free: 3.898 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.4154/1.286, allocations: 179.7 MB / 1.228 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.654e-06/1.286, allocations: 224 / 1.228 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002836/1.287, allocations: 119.9 kB / 1.228 GB, free: 4.805 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009911/1.297, allocations: 3.83 MB / 1.232 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/1.297, allocations: 8.031 kB / 1.232 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006199/1.303, allocations: 0.9387 MB / 1.233 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006298/1.309, allocations: 2.995 MB / 1.236 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/1.31, allocations: 341.3 kB / 1.236 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/1.311, allocations: 471.8 kB / 1.237 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01433/1.325, allocations: 7.228 MB / 1.244 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/1.325, allocations: 23.78 kB / 1.244 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005716/1.326, allocations: 212 kB / 1.244 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002939/1.326, allocations: 277 kB / 1.244 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01081/1.337, allocations: 5.087 MB / 1.249 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4724/1.809, allocations: 35.07 MB / 1.283 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002807/1.812, allocations: 2.122 MB / 1.285 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/1.814, allocations: 1.246 MB / 1.287 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.602e-05/1.814, allocations: 13.5 kB / 1.287 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/1.814, allocations: 45.88 kB / 1.287 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=133): time 5.31e-06/1.814, allocations: 0 / 1.287 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.008607/1.823, allocations: 4.555 MB / 1.291 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/1.823, allocations: 65.44 kB / 1.291 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/1.825, allocations: 1.254 MB / 1.292 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/1.825, allocations: 47.8 kB / 1.292 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001266/1.826, allocations: 1.987 MB / 1.294 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004197/1.827, allocations: 492.1 kB / 1.295 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.793e-05/1.827, allocations: 39.38 kB / 1.295 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.827, allocations: 382.4 kB / 1.295 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/1.828, allocations: 0.8815 MB / 1.296 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/1.83, allocations: 1.537 MB / 1.298 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/1.832, allocations: 1.159 MB / 1.299 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/1.832, allocations: 6.719 kB / 1.299 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006336/1.838, allocations: 3.454 MB / 1.302 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/1.838, allocations: 15.5 kB / 1.302 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/1.838, allocations: 21.72 kB / 1.302 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002562/1.841, allocations: 0.8981 MB / 1.303 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/1.842, allocations: 348.2 kB / 1.303 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01691/1.859, allocations: 21.17 MB / 1.324 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/1.861, allocations: 103.3 kB / 1.324 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/1.861, allocations: 84.42 kB / 1.324 GB, free: 170.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003327/1.861, allocations: 218.8 kB / 1.324 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/1.862, allocations: 204.2 kB / 1.325 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005248/1.867, allocations: 2.958 MB / 1.327 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/1.867, allocations: 15.56 kB / 1.327 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/1.867, allocations: 9.562 kB / 1.328 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/1.867, allocations: 13.05 kB / 1.328 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/1.88, allocations: 7.242 MB / 1.335 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.88, allocations: 3.688 kB / 1.335 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007427/1.88, allocations: 180 kB / 1.335 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002094/1.883, allocations: 0.8194 MB / 1.336 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.456e-05/1.883, allocations: 33.39 kB / 1.336 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/1.896, allocations: 20.25 MB / 1.355 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.896, allocations: 9.25 kB / 1.355 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/1.901, allocations: 3.269 MB / 1.359 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009421/1.902, allocations: 454.4 kB / 1.359 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/1.902, allocations: 32.53 kB / 1.359 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008007/1.903, allocations: 72.2 kB / 1.359 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003215/1.903, allocations: 126.9 kB / 1.359 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.551e-05/1.903, allocations: 35.19 kB / 1.359 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00118/1.904, allocations: 0.9517 MB / 1.36 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/1.904, allocations: 0 / 1.36 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002938/1.907, allocations: 0.8262 MB / 1.361 GB, free: 152.6 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 (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002651/1.907, allocations: 147.6 kB / 1.361 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004937/1.912, allocations: 3.932 MB / 1.365 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.912, allocations: 0 / 1.365 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002926/1.915, allocations: 2.694 MB / 1.368 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/1.918, allocations: 0.6425 MB / 1.368 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/1.928, allocations: 5.603 MB / 1.374 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003033/1.932, allocations: 3.191 MB / 1.377 GB, free: 147 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001625/1.933, allocations: 461.1 kB / 1.377 GB, free: 147 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/1.933, allocations: 111 kB / 1.377 GB, free: 147 MB / 0.8698 GB Notification: Performance of SimCode: time 1.172e-06/1.934, allocations: 0 / 1.377 GB, free: 147 MB / 0.8698 GB Notification: Performance of Templates: time 0.04996/1.983, allocations: 33.41 MB / 1.41 GB, free: 145.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches