Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.497/2.497, allocations: 387.1 MB / 399.7 MB, free: 9.434 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.0009587/0.0009587, allocations: 176.9 kB / 492.3 MB, free: 0.5977 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.437/1.437, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.0009113/0.0009116, allocations: 93.53 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.859e-05/2.862e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2601, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9592/1.219, allocations: 182.4 MB / 1.391 GB, free: 15.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/1.22, allocations: 91.34 kB / 1.391 GB, free: 15.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4452/1.665, allocations: 193.4 MB / 1.579 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of FrontEnd: time 5.51e-06/1.665, allocations: 7.938 kB / 1.58 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005179/1.665, allocations: 127.9 kB / 1.58 GB, free: 13.32 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01785/1.683, allocations: 4.148 MB / 1.584 GB, free: 9.105 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/1.683, allocations: 12.03 kB / 1.584 GB, free: 9.094 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007383/1.691, allocations: 1.009 MB / 1.585 GB, free: 8.078 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008839/1.7, allocations: 3.221 MB / 1.588 GB, free: 4.801 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003709/1.7, allocations: 361.7 kB / 1.588 GB, free: 4.445 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001864/1.702, allocations: 472 kB / 1.589 GB, free: 3.984 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/1.718, allocations: 7.414 MB / 1.596 GB, free: 12.1 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/1.719, allocations: 27.72 kB / 1.596 GB, free: 12.07 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006053/1.719, allocations: 216 kB / 1.596 GB, free: 11.86 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003101/1.72, allocations: 269.1 kB / 1.596 GB, free: 11.59 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/1.731, allocations: 5.307 MB / 1.602 GB, free: 6.273 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05612/1.787, allocations: 36.26 MB / 1.637 GB, free: 14.78 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004016/1.791, allocations: 2.117 MB / 1.639 GB, free: 12.65 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002401/1.794, allocations: 1.459 MB / 1.64 GB, free: 11.2 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/1.794, allocations: 13.31 kB / 1.64 GB, free: 11.18 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/1.794, allocations: 59.73 kB / 1.64 GB, free: 11.11 MB / 1.057 GB Notification: Performance of pre-optimization done (n=157): time 4.228e-06/1.794, allocations: 3.938 kB / 1.64 GB, free: 11.11 MB / 1.057 GB Notification: Performance of matching and sorting (n=160): time 0.01127/1.805, allocations: 4.973 MB / 1.645 GB, free: 6.082 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/1.806, allocations: 72.66 kB / 1.645 GB, free: 5.996 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003692/1.809, allocations: 1.543 MB / 1.647 GB, free: 4.426 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0002582/1.81, allocations: 49.7 kB / 1.647 GB, free: 4.371 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001879/1.811, allocations: 2.104 MB / 1.649 GB, free: 2.242 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007348/1.812, allocations: 0.5468 MB / 1.65 GB, free: 1.688 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/1.812, allocations: 44 kB / 1.65 GB, free: 1.645 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002671/1.813, allocations: 398 kB / 1.65 GB, free: 1.25 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/1.814, allocations: 0.9921 MB / 1.651 GB, free: 260 kB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/1.817, allocations: 1.709 MB / 1.653 GB, free: 14.21 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00221/1.819, allocations: 1.293 MB / 1.654 GB, free: 12.91 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.337e-05/1.819, allocations: 8 kB / 1.654 GB, free: 12.91 MB / 1.073 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.007405/1.827, allocations: 3.768 MB / 1.658 GB, free: 9.09 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/1.827, allocations: 16 kB / 1.658 GB, free: 9.074 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.354e-05/1.827, allocations: 24 kB / 1.658 GB, free: 9.051 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002512/1.829, allocations: 0.9082 MB / 1.658 GB, free: 8.105 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/1.831, allocations: 415.3 kB / 1.659 GB, free: 7.699 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02233/1.853, allocations: 21 MB / 1.679 GB, free: 1.098 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/1.856, allocations: 123.9 kB / 1.68 GB, free: 0.9766 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005277/1.857, allocations: 92 kB / 1.68 GB, free: 0.8867 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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%) 6,(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.0008532/1.857, allocations: 248.3 kB / 1.68 GB, free: 0.6367 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009169/1.858, allocations: 253.1 kB / 1.68 GB, free: 396 kB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006809/1.865, allocations: 3.225 MB / 1.683 GB, free: 13.11 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/1.865, allocations: 16 kB / 1.683 GB, free: 13.09 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-05/1.865, allocations: 8 kB / 1.683 GB, free: 13.09 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/1.865, allocations: 7.969 kB / 1.683 GB, free: 13.08 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01747/1.883, allocations: 7.486 MB / 1.691 GB, free: 5.438 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/1.883, allocations: 4 kB / 1.691 GB, free: 5.434 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/1.884, allocations: 224.2 kB / 1.691 GB, free: 5.215 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002347/1.886, allocations: 0.8726 MB / 1.692 GB, free: 4.305 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/1.886, allocations: 32 kB / 1.692 GB, free: 4.273 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02227/1.909, allocations: 20.97 MB / 1.712 GB, free: 13.7 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/1.909, allocations: 7.938 kB / 1.712 GB, free: 13.69 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007328/1.916, allocations: 3.663 MB / 1.716 GB, free: 9.785 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001858/1.918, allocations: 0.5331 MB / 1.716 GB, free: 9.23 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008748/1.919, allocations: 32 kB / 1.716 GB, free: 9.199 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/1.921, allocations: 91.89 kB / 1.716 GB, free: 9.109 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005006/1.921, allocations: 145 kB / 1.717 GB, free: 8.969 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.921, allocations: 44 kB / 1.717 GB, free: 8.926 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.002556/1.924, allocations: 1.161 MB / 1.718 GB, free: 7.746 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.8e-07/1.924, allocations: 0 / 1.718 GB, free: 7.746 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.004621/1.929, allocations: 0.9336 MB / 1.719 GB, free: 6.812 MB / 1.135 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 (109): * Single equations (assignments): 97 * 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%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004704/1.929, allocations: 164.9 kB / 1.719 GB, free: 6.645 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.007394/1.937, allocations: 4.283 MB / 1.723 GB, free: 2.211 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/1.937, allocations: 0 / 1.723 GB, free: 2.211 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.004878/1.941, allocations: 2.951 MB / 1.726 GB, free: 15.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004601/1.946, allocations: 0.7197 MB / 1.727 GB, free: 14.38 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/1.961, allocations: 5.988 MB / 1.732 GB, free: 8.289 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005447/1.967, allocations: 3.286 MB / 1.736 GB, free: 4.973 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002535/1.969, allocations: 0.5094 MB / 1.736 GB, free: 4.457 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005608/1.97, allocations: 143.4 kB / 1.736 GB, free: 4.316 MB / 1.151 GB Notification: Performance of SimCode: time 1.062e-06/1.97, allocations: 0 / 1.736 GB, free: 4.316 MB / 1.151 GB Notification: Performance of Templates: time 0.8744/2.844, allocations: 38.84 MB / 1.774 GB, free: 301 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches