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.372/2.372, allocations: 393.5 MB / 408.4 MB, free: 11.09 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.001032/0.001032, allocations: 187.8 kB / 0.4902 GB, free: 2.238 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.39/1.39, allocations: 223.2 MB / 0.7992 GB, free: 15.71 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.0009368/0.0009368, allocations: 96.25 kB / 0.9396 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.0004959, allocations: 9.25 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2912, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8947/1.186, allocations: 183.3 MB / 1.408 GB, free: 70.91 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/1.186, allocations: 97.64 kB / 1.408 GB, free: 70.91 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.4691/1.655, allocations: 192.2 MB / 1.596 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.967e-06/1.656, allocations: 3.938 kB / 1.596 GB, free: 8.266 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000626/1.656, allocations: 112 kB / 1.596 GB, free: 8.156 MB / 0.9167 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.02112/1.677, allocations: 4.105 MB / 1.6 GB, free: 3.98 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/1.677, allocations: 16.5 kB / 1.6 GB, free: 3.965 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008387/1.686, allocations: 0.9542 MB / 1.601 GB, free: 3.004 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/1.697, allocations: 2.987 MB / 1.604 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000453/1.697, allocations: 349.3 kB / 1.604 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002837/1.7, allocations: 463.9 kB / 1.605 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02583/1.726, allocations: 7.31 MB / 1.612 GB, free: 7.395 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004337/1.727, allocations: 27.69 kB / 1.612 GB, free: 7.367 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002674/1.729, allocations: 212 kB / 1.612 GB, free: 7.16 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004292/1.73, allocations: 277 kB / 1.612 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/1.745, allocations: 5.184 MB / 1.617 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05835/1.804, allocations: 35.07 MB / 1.652 GB, free: 11.4 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00355/1.807, allocations: 2.133 MB / 1.654 GB, free: 9.152 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/1.808, allocations: 13.31 kB / 1.654 GB, free: 9.141 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/1.808, allocations: 51.88 kB / 1.654 GB, free: 9.082 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=133): time 4.769e-06/1.808, allocations: 0 / 1.654 GB, free: 9.082 MB / 0.9792 GB Notification: Performance of matching and sorting (n=136): time 0.01685/1.824, allocations: 7.065 MB / 1.661 GB, free: 1.746 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/1.825, allocations: 68.66 kB / 1.661 GB, free: 1.664 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/1.828, allocations: 1.268 MB / 1.662 GB, free: 364 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001893/1.828, allocations: 49.7 kB / 1.662 GB, free: 308 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001596/1.829, allocations: 1.984 MB / 1.664 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006348/1.83, allocations: 497 kB / 1.664 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/1.83, allocations: 36 kB / 1.665 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.00022/1.83, allocations: 381.9 kB / 1.665 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/1.832, allocations: 0.894 MB / 1.666 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/1.834, allocations: 1.555 MB / 1.667 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/1.836, allocations: 1.17 MB / 1.668 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/1.836, allocations: 4 kB / 1.668 GB, free: 9.457 MB / 0.9948 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.0083/1.844, allocations: 3.491 MB / 1.672 GB, free: 5.918 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 6.715e-05/1.844, allocations: 13.41 kB / 1.672 GB, free: 5.906 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-05/1.844, allocations: 24 kB / 1.672 GB, free: 5.883 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002915/1.847, allocations: 0.904 MB / 1.673 GB, free: 4.941 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/1.849, allocations: 351.4 kB / 1.673 GB, free: 4.598 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02357/1.872, allocations: 21.56 MB / 1.694 GB, free: 13.43 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/1.875, allocations: 104 kB / 1.694 GB, free: 13.33 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005116/1.875, allocations: 80 kB / 1.694 GB, free: 13.25 MB / 1.026 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.005361/1.881, allocations: 1.609 MB / 1.696 GB, free: 11.63 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008203/1.881, allocations: 213.5 kB / 1.696 GB, free: 11.42 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006407/1.888, allocations: 2.971 MB / 1.699 GB, free: 8.398 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/1.888, allocations: 12 kB / 1.699 GB, free: 8.387 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.907e-05/1.888, allocations: 12 kB / 1.699 GB, free: 8.375 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/1.888, allocations: 3.984 kB / 1.699 GB, free: 8.371 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02019/1.908, allocations: 7.259 MB / 1.706 GB, free: 0.8828 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.237e-05/1.908, allocations: 4 kB / 1.706 GB, free: 0.8789 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009339/1.909, allocations: 183.9 kB / 1.706 GB, free: 0.6992 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00257/1.912, allocations: 0.8259 MB / 1.707 GB, free: 15.84 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002036/1.912, allocations: 27.98 kB / 1.707 GB, free: 15.81 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02032/1.932, allocations: 20.62 MB / 1.727 GB, free: 9.59 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/1.932, allocations: 7.938 kB / 1.727 GB, free: 9.582 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006728/1.939, allocations: 3.295 MB / 1.73 GB, free: 6.004 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/1.941, allocations: 462.4 kB / 1.731 GB, free: 5.531 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007957/1.942, allocations: 27.98 kB / 1.731 GB, free: 5.504 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/1.944, allocations: 71.92 kB / 1.731 GB, free: 5.434 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005108/1.944, allocations: 132.6 kB / 1.731 GB, free: 5.301 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/1.944, allocations: 36 kB / 1.731 GB, free: 5.266 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.002239/1.946, allocations: 0.9677 MB / 1.732 GB, free: 4.273 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.7e-07/1.946, allocations: 0 / 1.732 GB, free: 4.273 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.004745/1.951, allocations: 0.8203 MB / 1.733 GB, free: 3.453 MB / 1.057 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.0003995/1.952, allocations: 160.5 kB / 1.733 GB, free: 3.289 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.006405/1.958, allocations: 3.968 MB / 1.737 GB, free: 15.17 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.958, allocations: 0 / 1.737 GB, free: 15.17 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.004101/1.962, allocations: 2.745 MB / 1.74 GB, free: 12.27 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003917/1.966, allocations: 0.6354 MB / 1.74 GB, free: 11.64 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/1.985, allocations: 8.71 MB / 1.749 GB, free: 2.84 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006653/1.992, allocations: 3.185 MB / 1.752 GB, free: 15.62 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.002249/1.994, allocations: 457.8 kB / 1.752 GB, free: 15.18 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000599/1.995, allocations: 115.4 kB / 1.752 GB, free: 15.06 MB / 1.089 GB Notification: Performance of SimCode: time 1.232e-06/1.995, allocations: 0 / 1.752 GB, free: 15.06 MB / 1.089 GB Notification: Performance of Templates: time 0.07372/2.069, allocations: 33.4 MB / 1.785 GB, free: 14.04 MB / 1.12 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