Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.324/2.324, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001021/0.001021, allocations: 183.7 kB / 487.4 MB, free: 5.047 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.543/1.543, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 91.91 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/1.999e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3006, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.311, allocations: 181.9 MB / 1.384 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/1.311, allocations: 94.44 kB / 1.384 GB, free: 17.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4819/1.793, allocations: 210.7 MB / 1.589 GB, free: 4.781 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.714e-06/1.793, allocations: 0 / 1.589 GB, free: 4.781 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005229/1.793, allocations: 135.9 kB / 1.59 GB, free: 4.648 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01695/1.81, allocations: 4.451 MB / 1.594 GB, free: 132 kB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/1.81, allocations: 15.97 kB / 1.594 GB, free: 116 kB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007952/1.818, allocations: 1.039 MB / 1.595 GB, free: 15.06 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/1.829, allocations: 3.402 MB / 1.598 GB, free: 11.61 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004635/1.829, allocations: 180 kB / 1.598 GB, free: 11.43 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003492/1.833, allocations: 331.9 kB / 1.599 GB, free: 11.11 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01586/1.849, allocations: 5.434 MB / 1.604 GB, free: 5.668 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02485/1.873, allocations: 7.686 MB / 1.612 GB, free: 13.55 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003633/1.874, allocations: 23.69 kB / 1.612 GB, free: 13.53 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002415/1.876, allocations: 12 kB / 1.612 GB, free: 13.52 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004298/1.877, allocations: 314.8 kB / 1.612 GB, free: 13.21 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05029/1.927, allocations: 38.97 MB / 1.65 GB, free: 2.551 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003963/1.931, allocations: 3.001 MB / 1.653 GB, free: 15.41 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002585/1.934, allocations: 1.899 MB / 1.655 GB, free: 13.5 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/1.934, allocations: 18 kB / 1.655 GB, free: 13.48 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/1.934, allocations: 56.56 kB / 1.655 GB, free: 13.42 MB / 1.073 GB Notification: Performance of pre-optimization done (n=179): time 7.224e-06/1.934, allocations: 3.984 kB / 1.655 GB, free: 13.42 MB / 1.073 GB Notification: Performance of matching and sorting (n=182): time 0.0131/1.947, allocations: 5.795 MB / 1.661 GB, free: 7.598 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/1.947, allocations: 73.41 kB / 1.661 GB, free: 7.512 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/1.949, allocations: 1.093 MB / 1.662 GB, free: 6.422 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/1.949, allocations: 25.7 kB / 1.662 GB, free: 6.391 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001527/1.951, allocations: 2.245 MB / 1.664 GB, free: 4.117 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006232/1.952, allocations: 0.6043 MB / 1.664 GB, free: 3.504 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/1.952, allocations: 4 kB / 1.664 GB, free: 3.5 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002074/1.952, allocations: 394.3 kB / 1.665 GB, free: 3.109 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/1.954, allocations: 1.102 MB / 1.666 GB, free: 2.004 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/1.955, allocations: 1.772 MB / 1.668 GB, free: 15.93 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/1.958, allocations: 1.442 MB / 1.669 GB, free: 14.48 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/1.958, allocations: 8 kB / 1.669 GB, free: 14.47 MB / 1.089 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007481/1.965, allocations: 4.212 MB / 1.673 GB, free: 10.24 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/1.965, allocations: 19.95 kB / 1.673 GB, free: 10.22 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/1.965, allocations: 23.94 kB / 1.673 GB, free: 10.2 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00356/1.969, allocations: 1.449 MB / 1.675 GB, free: 8.738 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/1.97, allocations: 351.4 kB / 1.675 GB, free: 8.395 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0212/1.991, allocations: 16.41 MB / 1.691 GB, free: 7.512 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/1.994, allocations: 71.89 kB / 1.691 GB, free: 7.441 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005177/1.994, allocations: 104 kB / 1.691 GB, free: 7.34 MB / 1.104 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 (174): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007012/1.995, allocations: 162.6 kB / 1.691 GB, free: 7.176 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006521/1.995, allocations: 209.6 kB / 1.692 GB, free: 6.969 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007386/2.003, allocations: 3.845 MB / 1.695 GB, free: 3.094 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/2.003, allocations: 23.94 kB / 1.695 GB, free: 3.07 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-05/2.003, allocations: 19.98 kB / 1.695 GB, free: 3.051 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/2.003, allocations: 7.969 kB / 1.695 GB, free: 3.043 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/2.019, allocations: 8.341 MB / 1.703 GB, free: 10.48 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/2.019, allocations: 8.031 kB / 1.703 GB, free: 10.47 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008359/2.02, allocations: 183.7 kB / 1.704 GB, free: 10.29 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003245/2.024, allocations: 1.323 MB / 1.705 GB, free: 8.957 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/2.024, allocations: 4 kB / 1.705 GB, free: 8.953 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01933/2.043, allocations: 15.31 MB / 1.72 GB, free: 9.176 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.255e-05/2.043, allocations: 15.89 kB / 1.72 GB, free: 9.16 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006769/2.05, allocations: 4.143 MB / 1.724 GB, free: 4.828 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/2.051, allocations: 0.5179 MB / 1.724 GB, free: 4.289 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002365/2.051, allocations: 7.953 kB / 1.724 GB, free: 4.281 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009128/2.052, allocations: 59.89 kB / 1.725 GB, free: 4.223 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004637/2.053, allocations: 161.7 kB / 1.725 GB, free: 4.066 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/2.053, allocations: 48 kB / 1.725 GB, free: 4.02 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001196/2.054, allocations: 0.806 MB / 1.726 GB, free: 3.223 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.4e-07/2.054, allocations: 4 kB / 1.726 GB, free: 3.219 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003652/2.058, allocations: 0.9258 MB / 1.726 GB, free: 2.293 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 (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002932/2.058, allocations: 119.1 kB / 1.727 GB, free: 2.168 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.006347/2.064, allocations: 3.988 MB / 1.73 GB, free: 14.14 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/2.064, allocations: 1.562 kB / 1.73 GB, free: 14.14 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003833/2.068, allocations: 2.51 MB / 1.733 GB, free: 11.59 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003039/2.071, allocations: 0.6197 MB / 1.733 GB, free: 10.98 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/2.085, allocations: 6.797 MB / 1.74 GB, free: 4.082 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004095/2.089, allocations: 3.66 MB / 1.744 GB, free: 392 kB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.686/2.775, allocations: 454.7 kB / 1.744 GB, free: 282.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008274/2.776, allocations: 110.2 kB / 1.744 GB, free: 282.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.443e-06/2.776, allocations: 0.9375 kB / 1.744 GB, free: 282.1 MB / 1.151 GB Notification: Performance of Templates: time 0.1/2.876, allocations: 38.55 MB / 1.782 GB, free: 281.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches