Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 249.5 MB / 257 MB, free: 6.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000963/0.0009631, allocations: 176.9 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008593/0.0008593, allocations: 90.47 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.432e-05/1.433e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2018, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6709/0.8728, allocations: 164.8 MB / 1.046 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.8731, allocations: 92.94 kB / 1.046 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.4141/1.287, allocations: 178.9 MB / 1.221 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.994e-06/1.287, allocations: 0 / 1.221 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000242/1.287, allocations: 123.9 kB / 1.221 GB, free: 12.18 MB / 0.8386 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.007439/1.295, allocations: 3.826 MB / 1.225 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.295, allocations: 12.03 kB / 1.225 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004931/1.3, allocations: 0.9387 MB / 1.226 GB, free: 7.332 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005169/1.305, allocations: 2.987 MB / 1.229 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/1.305, allocations: 148 kB / 1.229 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000581/1.306, allocations: 279.8 kB / 1.229 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007469/1.313, allocations: 4.529 MB / 1.234 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0096/1.323, allocations: 6.551 MB / 1.24 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/1.323, allocations: 23.78 kB / 1.24 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003833/1.323, allocations: 12 kB / 1.24 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002646/1.324, allocations: 277 kB / 1.24 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4638/1.787, allocations: 34.08 MB / 1.274 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/1.79, allocations: 2.079 MB / 1.276 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/1.792, allocations: 1.207 MB / 1.277 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.747e-05/1.792, allocations: 14.09 kB / 1.277 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/1.792, allocations: 49.89 kB / 1.277 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=133): time 4.088e-06/1.792, allocations: 1.094 kB / 1.277 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.008571/1.801, allocations: 4.371 MB / 1.281 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/1.801, allocations: 65.72 kB / 1.281 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/1.802, allocations: 1.071 MB / 1.282 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.846e-05/1.803, allocations: 27.48 kB / 1.282 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/1.804, allocations: 1.989 MB / 1.284 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004204/1.804, allocations: 470.7 kB / 1.285 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-05/1.804, allocations: 0 / 1.285 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.805, allocations: 382.2 kB / 1.285 GB, free: 201 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/1.806, allocations: 0.8458 MB / 1.286 GB, free: 201 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/1.807, allocations: 1.486 MB / 1.287 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/1.809, allocations: 1.117 MB / 1.288 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/1.809, allocations: 10.59 kB / 1.288 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005619/1.814, allocations: 3.203 MB / 1.291 GB, free: 200 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/1.814, allocations: 17.75 kB / 1.291 GB, free: 200 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.412e-05/1.815, allocations: 21.62 kB / 1.291 GB, free: 200 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002515/1.817, allocations: 0.8784 MB / 1.292 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/1.818, allocations: 349.6 kB / 1.293 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/1.834, allocations: 20.35 MB / 1.313 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/1.836, allocations: 63.58 kB / 1.313 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/1.836, allocations: 89 kB / 1.313 GB, free: 185.3 MB / 0.8698 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.000325/1.836, allocations: 166.8 kB / 1.313 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/1.836, allocations: 193.8 kB / 1.313 GB, free: 185 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004987/1.841, allocations: 2.811 MB / 1.316 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/1.842, allocations: 13.69 kB / 1.316 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/1.842, allocations: 10.41 kB / 1.316 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/1.842, allocations: 7.781 kB / 1.316 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/1.852, allocations: 6.382 MB / 1.322 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/1.852, allocations: 4.406 kB / 1.322 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009019/1.853, allocations: 184.6 kB / 1.322 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002279/1.855, allocations: 0.8011 MB / 1.323 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.091e-05/1.855, allocations: 8.719 kB / 1.323 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/1.868, allocations: 19.47 MB / 1.342 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.868, allocations: 3.906 kB / 1.342 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004535/1.873, allocations: 3.154 MB / 1.345 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.874, allocations: 438.9 kB / 1.346 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004616/1.875, allocations: 6.75 kB / 1.346 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.876, allocations: 51.39 kB / 1.346 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/1.876, allocations: 125.4 kB / 1.346 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-05/1.876, allocations: 40 kB / 1.346 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001214/1.877, allocations: 0.7787 MB / 1.347 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.6e-07/1.877, allocations: 0 / 1.347 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003285/1.881, allocations: 0.7505 MB / 1.347 GB, free: 168.1 MB / 0.8698 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.0002405/1.881, allocations: 122.8 kB / 1.347 GB, free: 168 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004378/1.885, allocations: 3.738 MB / 1.351 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.885, allocations: 3.688 kB / 1.351 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00276/1.888, allocations: 2.582 MB / 1.354 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/1.891, allocations: 0.5863 MB / 1.354 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009016/1.9, allocations: 5.548 MB / 1.36 GB, free: 164 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002821/1.903, allocations: 3.186 MB / 1.363 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00151/1.904, allocations: 450.9 kB / 1.363 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/1.904, allocations: 107.1 kB / 1.363 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.032e-06/1.904, allocations: 7.375 kB / 1.363 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.0455/1.95, allocations: 30.96 MB / 1.393 GB, free: 162 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches