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.379/1.379, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001251/0.00125, allocations: 187.5 kB / 326.5 MB, free: 2.258 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.749/1.749, allocations: 205.4 MB / 0.5775 GB, free: 20.5 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.0008515/0.0008514, allocations: 90.34 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003451, allocations: 12.16 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2375, allocations: 106.3 MB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6709/0.9085, allocations: 164.6 MB / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/0.9089, allocations: 96.88 kB / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3995/1.308, allocations: 180.5 MB / 1.237 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.629e-06/1.308, allocations: 0 / 1.237 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004997/1.309, allocations: 116 kB / 1.237 GB, free: 7.203 MB / 0.7136 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.01754/1.327, allocations: 4.112 MB / 1.241 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/1.327, allocations: 8.031 kB / 1.241 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007923/1.335, allocations: 0.9464 MB / 1.242 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01066/1.345, allocations: 2.991 MB / 1.245 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004443/1.346, allocations: 349.3 kB / 1.246 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00249/1.348, allocations: 463.9 kB / 1.246 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02375/1.372, allocations: 7.306 MB / 1.253 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003503/1.372, allocations: 31.72 kB / 1.253 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002236/1.375, allocations: 208 kB / 1.253 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004366/1.375, allocations: 277 kB / 1.254 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/1.389, allocations: 5.18 MB / 1.259 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05102/1.44, allocations: 35.08 MB / 1.293 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003787/1.444, allocations: 2.14 MB / 1.295 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/1.444, allocations: 21.25 kB / 1.295 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/1.444, allocations: 51.8 kB / 1.295 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=133): time 4.569e-06/1.444, allocations: 0 / 1.295 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of matching and sorting (n=136): time 0.01593/1.46, allocations: 7.065 MB / 1.302 GB, free: 0.7852 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/1.46, allocations: 68.72 kB / 1.302 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/1.463, allocations: 1.276 MB / 1.303 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002283/1.463, allocations: 45.7 kB / 1.303 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001587/1.465, allocations: 1.98 MB / 1.305 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006754/1.466, allocations: 493 kB / 1.306 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/1.466, allocations: 36 kB / 1.306 GB, free: 12.81 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002261/1.466, allocations: 377.9 kB / 1.306 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/1.467, allocations: 0.8979 MB / 1.307 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/1.469, allocations: 1.559 MB / 1.309 GB, free: 9.672 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/1.471, allocations: 1.166 MB / 1.31 GB, free: 8.508 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.099e-05/1.471, allocations: 8 kB / 1.31 GB, free: 8.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006654/1.478, allocations: 3.484 MB / 1.313 GB, free: 4.969 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/1.478, allocations: 16.03 kB / 1.313 GB, free: 4.953 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.692e-05/1.478, allocations: 24 kB / 1.313 GB, free: 4.93 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/1.481, allocations: 0.8921 MB / 1.314 GB, free: 4 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/1.482, allocations: 351.4 kB / 1.314 GB, free: 3.656 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0211/1.503, allocations: 21.56 MB / 1.335 GB, free: 12.49 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/1.505, allocations: 108 kB / 1.335 GB, free: 12.39 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/1.506, allocations: 84 kB / 1.336 GB, free: 12.3 MB / 0.823 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.00379/1.509, allocations: 1.606 MB / 1.337 GB, free: 10.69 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005539/1.51, allocations: 205.6 kB / 1.337 GB, free: 10.48 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005505/1.515, allocations: 2.971 MB / 1.34 GB, free: 7.461 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/1.515, allocations: 20 kB / 1.34 GB, free: 7.441 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/1.515, allocations: 8 kB / 1.34 GB, free: 7.434 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/1.515, allocations: 7.969 kB / 1.34 GB, free: 7.426 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/1.53, allocations: 7.259 MB / 1.347 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/1.53, allocations: 8 kB / 1.347 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008169/1.531, allocations: 187.8 kB / 1.348 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002493/1.533, allocations: 0.8217 MB / 1.348 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/1.533, allocations: 31.95 kB / 1.348 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02043/1.554, allocations: 20.61 MB / 1.369 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.554, allocations: 4 kB / 1.369 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005762/1.56, allocations: 3.294 MB / 1.372 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/1.561, allocations: 466.4 kB / 1.372 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/1.561, allocations: 31.94 kB / 1.372 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000822/1.562, allocations: 71.91 kB / 1.372 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003987/1.563, allocations: 128.7 kB / 1.372 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.511e-05/1.563, allocations: 40 kB / 1.372 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001438/1.564, allocations: 0.9561 MB / 1.373 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/1.564, allocations: 3.938 kB / 1.373 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003551/1.568, allocations: 0.8203 MB / 1.374 GB, free: 2.512 MB / 0.8542 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.0003304/1.568, allocations: 152.9 kB / 1.374 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.5455/2.114, allocations: 3.986 MB / 1.378 GB, free: 198 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/2.114, allocations: 0 / 1.378 GB, free: 198 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003758/2.118, allocations: 2.727 MB / 1.381 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003287/2.121, allocations: 0.6433 MB / 1.381 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/2.137, allocations: 8.704 MB / 1.39 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005456/2.142, allocations: 3.188 MB / 1.393 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002128/2.144, allocations: 457.2 kB / 1.394 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/2.145, allocations: 112.2 kB / 1.394 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of SimCode: time 2.946e-06/2.145, allocations: 0.6875 kB / 1.394 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.0622/2.207, allocations: 33.41 MB / 1.426 GB, free: 191 MB / 0.8542 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