Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.175/2.175, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.00114/0.00114, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 221.3 MB / 0.7915 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009894/0.0009895, allocations: 95.89 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.671e-05/2.673e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3359, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.394, allocations: 183.2 MB / 1.398 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/1.394, allocations: 98.73 kB / 1.398 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.4828/1.877, allocations: 191.4 MB / 1.585 GB, free: 9.848 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.384e-06/1.877, allocations: 7.938 kB / 1.585 GB, free: 9.84 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0004917/1.878, allocations: 116 kB / 1.585 GB, free: 9.723 MB / 1.042 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.0153/1.893, allocations: 3.83 MB / 1.588 GB, free: 5.828 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/1.893, allocations: 12.23 kB / 1.589 GB, free: 5.816 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007754/1.901, allocations: 0.9386 MB / 1.589 GB, free: 4.871 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009283/1.91, allocations: 2.991 MB / 1.592 GB, free: 1.82 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003962/1.911, allocations: 345.3 kB / 1.593 GB, free: 1.48 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00244/1.913, allocations: 463.9 kB / 1.593 GB, free: 1.027 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02301/1.936, allocations: 7.236 MB / 1.6 GB, free: 9.332 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003137/1.936, allocations: 19.78 kB / 1.6 GB, free: 9.312 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00176/1.938, allocations: 215.9 kB / 1.6 GB, free: 9.102 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004605/1.939, allocations: 273 kB / 1.601 GB, free: 8.832 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/1.952, allocations: 5.091 MB / 1.606 GB, free: 3.727 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04721/2, allocations: 35.07 MB / 1.64 GB, free: 13.45 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/2.003, allocations: 2.12 MB / 1.642 GB, free: 11.21 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/2.004, allocations: 1.25 MB / 1.643 GB, free: 9.949 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/2.005, allocations: 13.31 kB / 1.643 GB, free: 9.938 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/2.005, allocations: 51.88 kB / 1.643 GB, free: 9.875 MB / 1.104 GB Notification: Performance of pre-optimization done (n=133): time 3.877e-06/2.005, allocations: 0 / 1.643 GB, free: 9.875 MB / 1.104 GB Notification: Performance of matching and sorting (n=136): time 0.009334/2.014, allocations: 4.548 MB / 1.648 GB, free: 5.277 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/2.014, allocations: 64.72 kB / 1.648 GB, free: 5.203 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/2.017, allocations: 1.26 MB / 1.649 GB, free: 3.891 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 9.86e-05/2.017, allocations: 45.7 kB / 1.649 GB, free: 3.84 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.001569/2.018, allocations: 1.988 MB / 1.651 GB, free: 1.824 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005159/2.019, allocations: 485.1 kB / 1.651 GB, free: 1.344 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/2.019, allocations: 36 kB / 1.651 GB, free: 1.309 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0002126/2.019, allocations: 377.9 kB / 1.652 GB, free: 0.9336 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/2.021, allocations: 0.8786 MB / 1.653 GB, free: 56 kB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/2.022, allocations: 1.539 MB / 1.654 GB, free: 14.21 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/2.024, allocations: 1.16 MB / 1.655 GB, free: 13.05 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/2.024, allocations: 4 kB / 1.655 GB, free: 13.05 MB / 1.12 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006395/2.031, allocations: 3.46 MB / 1.659 GB, free: 9.543 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/2.031, allocations: 16 kB / 1.659 GB, free: 9.527 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.082e-05/2.031, allocations: 20 kB / 1.659 GB, free: 9.508 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002831/2.034, allocations: 0.9002 MB / 1.66 GB, free: 8.57 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/2.035, allocations: 347.4 kB / 1.66 GB, free: 8.23 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02294/2.058, allocations: 21.18 MB / 1.681 GB, free: 1.453 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/2.06, allocations: 104 kB / 1.681 GB, free: 1.352 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004028/2.061, allocations: 84 kB / 1.681 GB, free: 1.27 MB / 1.135 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.0005964/2.061, allocations: 221.6 kB / 1.681 GB, free: 1.047 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006734/2.062, allocations: 205.5 kB / 1.681 GB, free: 0.8438 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006102/2.068, allocations: 2.951 MB / 1.684 GB, free: 13.84 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/2.068, allocations: 16 kB / 1.684 GB, free: 13.82 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.303e-05/2.068, allocations: 8 kB / 1.684 GB, free: 13.81 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/2.068, allocations: 7.969 kB / 1.684 GB, free: 13.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/2.083, allocations: 7.239 MB / 1.691 GB, free: 6.336 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/2.083, allocations: 8.125 kB / 1.691 GB, free: 6.328 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008182/2.084, allocations: 183.7 kB / 1.691 GB, free: 6.148 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002322/2.086, allocations: 0.818 MB / 1.692 GB, free: 5.293 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/2.086, allocations: 31.98 kB / 1.692 GB, free: 5.262 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7651/2.852, allocations: 20.24 MB / 1.712 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/2.852, allocations: 12.94 kB / 1.712 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006188/2.858, allocations: 3.281 MB / 1.715 GB, free: 279 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/2.859, allocations: 456 kB / 1.716 GB, free: 278.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/2.859, allocations: 29.98 kB / 1.716 GB, free: 278.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008543/2.86, allocations: 72.16 kB / 1.716 GB, free: 278.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00047/2.861, allocations: 123.8 kB / 1.716 GB, free: 278.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-05/2.861, allocations: 36.84 kB / 1.716 GB, free: 278.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001655/2.862, allocations: 0.9463 MB / 1.717 GB, free: 278.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.31e-07/2.862, allocations: 1.781 kB / 1.717 GB, free: 278.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00358/2.866, allocations: 0.8254 MB / 1.718 GB, free: 278.7 MB / 1.151 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.0002963/2.866, allocations: 148.2 kB / 1.718 GB, free: 278.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.006049/2.872, allocations: 3.927 MB / 1.722 GB, free: 277.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/2.872, allocations: 0.9688 kB / 1.722 GB, free: 277.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003804/2.876, allocations: 2.695 MB / 1.724 GB, free: 275.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/2.88, allocations: 0.6406 MB / 1.725 GB, free: 275.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/2.895, allocations: 5.612 MB / 1.73 GB, free: 274.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005183/2.9, allocations: 3.187 MB / 1.733 GB, free: 273.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002087/2.902, allocations: 457.5 kB / 1.734 GB, free: 273.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/2.902, allocations: 115.7 kB / 1.734 GB, free: 273.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.223e-06/2.902, allocations: 0 / 1.734 GB, free: 273.7 MB / 1.151 GB Notification: Performance of Templates: time 0.06817/2.971, allocations: 33.4 MB / 1.767 GB, free: 272.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches