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.206/2.206, allocations: 390.5 MB / 398 MB, free: 10.96 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.001226/0.001226, allocations: 184.2 kB / 491.2 MB, free: 1.594 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.705/1.705, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001077/0.001077, allocations: 95.89 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.805e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3195, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.112/1.431, allocations: 182.5 MB / 1.391 GB, free: 15.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/1.432, allocations: 93.81 kB / 1.391 GB, free: 15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4686/1.9, allocations: 190.6 MB / 1.577 GB, free: 0.8359 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.284e-06/1.901, allocations: 0 / 1.577 GB, free: 0.8359 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.000461/1.901, allocations: 119.9 kB / 1.577 GB, free: 0.7188 MB / 0.9792 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.01544/1.916, allocations: 3.826 MB / 1.581 GB, free: 12.83 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/1.917, allocations: 8.031 kB / 1.581 GB, free: 12.82 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008024/1.925, allocations: 0.9466 MB / 1.582 GB, free: 11.87 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009146/1.934, allocations: 2.983 MB / 1.585 GB, free: 8.824 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003214/1.934, allocations: 151.9 kB / 1.585 GB, free: 8.676 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002257/1.936, allocations: 275.9 kB / 1.585 GB, free: 8.406 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01246/1.949, allocations: 4.525 MB / 1.589 GB, free: 3.875 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02241/1.971, allocations: 6.554 MB / 1.596 GB, free: 12.87 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003376/1.972, allocations: 19.78 kB / 1.596 GB, free: 12.85 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001863/1.974, allocations: 12 kB / 1.596 GB, free: 12.84 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003965/1.974, allocations: 281 kB / 1.596 GB, free: 12.56 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0432/2.017, allocations: 34.07 MB / 1.629 GB, free: 7.309 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/2.02, allocations: 2.093 MB / 1.631 GB, free: 5.098 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/2.022, allocations: 1.207 MB / 1.633 GB, free: 3.891 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/2.022, allocations: 13.31 kB / 1.633 GB, free: 3.879 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/2.022, allocations: 43.88 kB / 1.633 GB, free: 3.824 MB / 1.042 GB Notification: Performance of pre-optimization done (n=133): time 3.136e-06/2.022, allocations: 0 / 1.633 GB, free: 3.824 MB / 1.042 GB Notification: Performance of matching and sorting (n=136): time 0.00932/2.031, allocations: 4.375 MB / 1.637 GB, free: 15.4 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/2.031, allocations: 64.72 kB / 1.637 GB, free: 15.32 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002546/2.034, allocations: 1.066 MB / 1.638 GB, free: 14.26 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0001385/2.034, allocations: 25.7 kB / 1.638 GB, free: 14.23 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001655/2.036, allocations: 1.991 MB / 1.64 GB, free: 12.21 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005944/2.036, allocations: 469.1 kB / 1.64 GB, free: 11.75 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/2.037, allocations: 0 / 1.64 GB, free: 11.75 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002272/2.037, allocations: 385.9 kB / 1.641 GB, free: 11.36 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/2.038, allocations: 0.8473 MB / 1.642 GB, free: 10.52 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/2.04, allocations: 1.488 MB / 1.643 GB, free: 8.727 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/2.041, allocations: 1.119 MB / 1.644 GB, free: 7.609 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/2.041, allocations: 8 kB / 1.644 GB, free: 7.602 MB / 1.057 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005883/2.047, allocations: 3.21 MB / 1.647 GB, free: 4.344 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/2.047, allocations: 15.94 kB / 1.647 GB, free: 4.328 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.585e-05/2.047, allocations: 27.98 kB / 1.647 GB, free: 4.301 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/2.05, allocations: 0.8732 MB / 1.648 GB, free: 3.391 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/2.051, allocations: 343.4 kB / 1.648 GB, free: 3.055 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01837/2.07, allocations: 20.36 MB / 1.668 GB, free: 13.32 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/2.072, allocations: 59.92 kB / 1.668 GB, free: 13.26 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004333/2.072, allocations: 87.98 kB / 1.669 GB, free: 13.17 MB / 1.089 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.0005395/2.073, allocations: 166.5 kB / 1.669 GB, free: 13 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005304/2.073, allocations: 189.8 kB / 1.669 GB, free: 12.82 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005043/2.078, allocations: 2.811 MB / 1.672 GB, free: 9.945 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/2.078, allocations: 16 kB / 1.672 GB, free: 9.93 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/2.078, allocations: 12.12 kB / 1.672 GB, free: 9.918 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/2.078, allocations: 7.969 kB / 1.672 GB, free: 9.91 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/2.09, allocations: 6.388 MB / 1.678 GB, free: 3.309 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/2.09, allocations: 4 kB / 1.678 GB, free: 3.305 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008168/2.091, allocations: 179.7 kB / 1.678 GB, free: 3.129 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002228/2.093, allocations: 0.8065 MB / 1.679 GB, free: 2.285 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-05/2.093, allocations: 4 kB / 1.679 GB, free: 2.281 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01702/2.11, allocations: 19.46 MB / 1.698 GB, free: 13.43 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/2.11, allocations: 7.953 kB / 1.698 GB, free: 13.43 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005274/2.115, allocations: 3.144 MB / 1.701 GB, free: 10.06 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/2.116, allocations: 442.6 kB / 1.701 GB, free: 9.605 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/2.117, allocations: 4 kB / 1.701 GB, free: 9.602 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007908/2.117, allocations: 51.91 kB / 1.701 GB, free: 9.551 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003752/2.118, allocations: 129 kB / 1.702 GB, free: 9.422 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.109e-05/2.118, allocations: 36 kB / 1.702 GB, free: 9.387 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.001267/2.119, allocations: 0.781 MB / 1.702 GB, free: 8.613 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.844e-06/2.119, allocations: 0 / 1.702 GB, free: 8.613 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.003225/2.122, allocations: 0.7499 MB / 1.703 GB, free: 7.863 MB / 1.12 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.0002782/2.123, allocations: 119.1 kB / 1.703 GB, free: 7.738 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.005485/2.128, allocations: 3.735 MB / 1.707 GB, free: 3.887 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/2.128, allocations: 4 kB / 1.707 GB, free: 3.883 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.003458/2.132, allocations: 2.577 MB / 1.709 GB, free: 1.188 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/2.135, allocations: 0.6011 MB / 1.71 GB, free: 0.5938 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/2.149, allocations: 5.535 MB / 1.715 GB, free: 10.96 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003582/2.152, allocations: 3.192 MB / 1.718 GB, free: 7.734 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001691/2.154, allocations: 444.9 kB / 1.719 GB, free: 7.297 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/2.154, allocations: 111.4 kB / 1.719 GB, free: 7.188 MB / 1.135 GB Notification: Performance of SimCode: time 7.42e-07/2.154, allocations: 3.938 kB / 1.719 GB, free: 7.184 MB / 1.135 GB Notification: Performance of Templates: time 0.7389/2.893, allocations: 30.96 MB / 1.749 GB, free: 294.2 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