Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001253/0.001254, allocations: 185.8 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0008466/0.0008464, allocations: 98.58 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003667, allocations: 10.75 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3768, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.289/0.6659, allocations: 182.5 MB / 1.401 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/0.6663, allocations: 99.92 kB / 1.401 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.177/1.843, allocations: 192.2 MB / 1.589 GB, free: 36.81 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.957e-06/1.843, allocations: 0 / 1.589 GB, free: 36.81 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003714/1.844, allocations: 126.6 kB / 1.589 GB, free: 36.7 MB / 0.9167 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.01446/1.858, allocations: 4.103 MB / 1.593 GB, free: 32.55 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/1.858, allocations: 8.031 kB / 1.593 GB, free: 32.54 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008345/1.867, allocations: 0.954 MB / 1.594 GB, free: 31.58 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008712/1.875, allocations: 2.989 MB / 1.597 GB, free: 28.57 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002931/1.876, allocations: 348.9 kB / 1.597 GB, free: 28.23 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002102/1.878, allocations: 463.5 kB / 1.598 GB, free: 27.79 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01759/1.895, allocations: 7.312 MB / 1.605 GB, free: 20.05 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002464/1.896, allocations: 35.7 kB / 1.605 GB, free: 20.02 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001367/1.897, allocations: 207.2 kB / 1.605 GB, free: 19.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003176/1.897, allocations: 281 kB / 1.605 GB, free: 19.55 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/1.909, allocations: 5.172 MB / 1.61 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04423/1.953, allocations: 35.08 MB / 1.645 GB, free: 8.227 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003061/1.956, allocations: 2.133 MB / 1.647 GB, free: 5.977 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/1.956, allocations: 13.31 kB / 1.647 GB, free: 5.965 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/1.956, allocations: 47.88 kB / 1.647 GB, free: 5.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=133): time 3.617e-06/1.956, allocations: 4 kB / 1.647 GB, free: 5.906 MB / 0.948 GB Notification: Performance of matching and sorting (n=136): time 0.0153/1.972, allocations: 7.065 MB / 1.654 GB, free: 14.57 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/1.972, allocations: 64.72 kB / 1.654 GB, free: 14.49 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002767/1.974, allocations: 1.272 MB / 1.655 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/1.975, allocations: 45.7 kB / 1.655 GB, free: 13.13 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/1.976, allocations: 1.988 MB / 1.657 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005423/1.977, allocations: 483.6 kB / 1.657 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/1.977, allocations: 36 kB / 1.657 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002068/1.977, allocations: 385.8 kB / 1.658 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/1.978, allocations: 0.9057 MB / 1.659 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/1.98, allocations: 1.555 MB / 1.66 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/1.982, allocations: 1.162 MB / 1.661 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/1.982, allocations: 8 kB / 1.661 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006491/1.989, allocations: 3.495 MB / 1.665 GB, free: 2.766 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/1.989, allocations: 16 kB / 1.665 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-05/1.989, allocations: 20 kB / 1.665 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002606/1.991, allocations: 0.8922 MB / 1.666 GB, free: 1.801 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/1.993, allocations: 351.3 kB / 1.666 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02055/2.013, allocations: 21.56 MB / 1.687 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/2.015, allocations: 95.92 kB / 1.687 GB, free: 10.22 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004309/2.016, allocations: 87.98 kB / 1.687 GB, free: 10.14 MB / 0.9948 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 () * Number of clocked 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.004236/2.02, allocations: 1.603 MB / 1.689 GB, free: 8.523 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006822/2.021, allocations: 209.5 kB / 1.689 GB, free: 8.316 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005827/2.026, allocations: 2.971 MB / 1.692 GB, free: 5.289 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/2.026, allocations: 12 kB / 1.692 GB, free: 5.277 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.952e-05/2.026, allocations: 12 kB / 1.692 GB, free: 5.266 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/2.026, allocations: 11.91 kB / 1.692 GB, free: 5.254 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/2.042, allocations: 7.267 MB / 1.699 GB, free: 13.79 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/2.042, allocations: 4 kB / 1.699 GB, free: 13.78 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007747/2.043, allocations: 179.7 kB / 1.699 GB, free: 13.61 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002389/2.045, allocations: 0.8258 MB / 1.7 GB, free: 12.74 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/2.045, allocations: 32 kB / 1.7 GB, free: 12.71 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01914/2.065, allocations: 20.62 MB / 1.72 GB, free: 6.5 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/2.065, allocations: 12 kB / 1.72 GB, free: 6.488 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005923/2.071, allocations: 3.3 MB / 1.723 GB, free: 2.906 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/2.072, allocations: 454.5 kB / 1.724 GB, free: 2.441 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/2.072, allocations: 28 kB / 1.724 GB, free: 2.414 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008158/2.073, allocations: 71.91 kB / 1.724 GB, free: 2.344 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004392/2.074, allocations: 124.7 kB / 1.724 GB, free: 2.223 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/2.074, allocations: 36 kB / 1.724 GB, free: 2.188 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001581/2.075, allocations: 0.9677 MB / 1.725 GB, free: 1.195 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.51e-07/2.075, allocations: 0 / 1.725 GB, free: 1.195 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.00344/2.079, allocations: 0.8281 MB / 1.726 GB, free: 376 kB / 1.026 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 () * Number of clocked 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.0003205/2.079, allocations: 146.8 kB / 1.726 GB, free: 216 kB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.005715/2.085, allocations: 3.991 MB / 1.73 GB, free: 12.07 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/2.085, allocations: 0 / 1.73 GB, free: 12.07 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.003554/2.088, allocations: 2.73 MB / 1.732 GB, free: 9.184 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/2.092, allocations: 0.6493 MB / 1.733 GB, free: 8.539 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/2.108, allocations: 8.702 MB / 1.742 GB, free: 15.75 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003582/2.111, allocations: 3.189 MB / 1.745 GB, free: 12.54 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.001847/2.113, allocations: 457.8 kB / 1.745 GB, free: 12.09 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/2.114, allocations: 115.4 kB / 1.745 GB, free: 11.97 MB / 1.057 GB Notification: Performance of SimCode: time 1.362e-06/2.114, allocations: 0 / 1.745 GB, free: 11.97 MB / 1.057 GB Notification: Performance of Templates: time 0.09748/2.211, allocations: 33.4 MB / 1.778 GB, free: 10.97 MB / 1.089 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches