Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.342/2.342, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001314/0.001314, allocations: 176.8 kB / 496.1 MB, free: 12.91 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.0008687/0.0008686, allocations: 83.95 kB / 0.9317 GB, free: 5.762 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.592e-05/3.631e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3006, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.122/1.423, allocations: 183.4 MB / 1.398 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/1.423, allocations: 97.62 kB / 1.398 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.5333/1.957, allocations: 211.5 MB / 1.604 GB, free: 5.316 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.733e-06/1.957, allocations: 4 kB / 1.605 GB, free: 5.312 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0005144/1.957, allocations: 139.9 kB / 1.605 GB, free: 5.176 MB / 1.057 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.01888/1.976, allocations: 4.447 MB / 1.609 GB, free: 0.6641 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 6.758e-05/1.976, allocations: 12.03 kB / 1.609 GB, free: 0.6523 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009513/1.986, allocations: 1.043 MB / 1.61 GB, free: 15.6 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/1.997, allocations: 3.403 MB / 1.613 GB, free: 12.14 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004701/1.998, allocations: 411.1 kB / 1.614 GB, free: 11.74 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002925/2.001, allocations: 0.5389 MB / 1.614 GB, free: 11.2 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02485/2.025, allocations: 8.493 MB / 1.623 GB, free: 2.277 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002228/2.026, allocations: 27.77 kB / 1.623 GB, free: 2.25 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009237/2.027, allocations: 240 kB / 1.623 GB, free: 2.016 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003649/2.027, allocations: 310.8 kB / 1.623 GB, free: 1.711 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01479/2.042, allocations: 6.039 MB / 1.629 GB, free: 11.66 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0704/2.112, allocations: 40.11 MB / 1.668 GB, free: 15.83 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00456/2.117, allocations: 3.073 MB / 1.671 GB, free: 12.61 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00293/2.12, allocations: 1.952 MB / 1.673 GB, free: 10.67 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/2.12, allocations: 18 kB / 1.673 GB, free: 10.65 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/2.12, allocations: 52.56 kB / 1.673 GB, free: 10.59 MB / 1.135 GB Notification: Performance of pre-optimization done (n=179): time 3.927e-06/2.12, allocations: 0 / 1.673 GB, free: 10.59 MB / 1.135 GB Notification: Performance of matching and sorting (n=182): time 0.01368/2.134, allocations: 6.031 MB / 1.679 GB, free: 4.531 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.721e-05/2.134, allocations: 77.39 kB / 1.679 GB, free: 4.441 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003605/2.138, allocations: 1.295 MB / 1.68 GB, free: 3.102 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.000242/2.138, allocations: 49.7 kB / 1.68 GB, free: 3.047 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.002232/2.14, allocations: 2.242 MB / 1.683 GB, free: 0.7734 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.001011/2.141, allocations: 0.6277 MB / 1.683 GB, free: 140 kB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/2.141, allocations: 44 kB / 1.683 GB, free: 96 kB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0003588/2.142, allocations: 398.3 kB / 1.684 GB, free: 15.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/2.144, allocations: 1.148 MB / 1.685 GB, free: 14.55 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002541/2.146, allocations: 1.823 MB / 1.687 GB, free: 12.41 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002419/2.149, allocations: 1.493 MB / 1.688 GB, free: 10.92 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.166e-05/2.149, allocations: 8 kB / 1.688 GB, free: 10.91 MB / 1.151 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008648/2.157, allocations: 4.492 MB / 1.692 GB, free: 6.395 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/2.157, allocations: 16 kB / 1.692 GB, free: 6.379 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.801e-05/2.157, allocations: 20 kB / 1.692 GB, free: 6.359 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003964/2.161, allocations: 1.576 MB / 1.694 GB, free: 4.777 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/2.163, allocations: 343.4 kB / 1.694 GB, free: 4.441 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8436/3.006, allocations: 16.99 MB / 1.711 GB, free: 277.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/3.008, allocations: 117.9 kB / 1.711 GB, free: 277.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/3.009, allocations: 97.73 kB / 1.711 GB, free: 277.3 MB / 1.151 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.0004469/3.009, allocations: 232.5 kB / 1.711 GB, free: 277.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004641/3.01, allocations: 226.5 kB / 1.712 GB, free: 277.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008141/3.018, allocations: 4.046 MB / 1.715 GB, free: 277 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/3.018, allocations: 20.5 kB / 1.715 GB, free: 277 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.404e-05/3.018, allocations: 17.48 kB / 1.716 GB, free: 277 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-05/3.018, allocations: 8.344 kB / 1.716 GB, free: 277 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01858/3.037, allocations: 9.376 MB / 1.725 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/3.037, allocations: 5.422 kB / 1.725 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008702/3.037, allocations: 186 kB / 1.725 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003702/3.041, allocations: 1.343 MB / 1.726 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/3.041, allocations: 36.41 kB / 1.726 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02066/3.062, allocations: 15.87 MB / 1.742 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/3.062, allocations: 7.781 kB / 1.742 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007936/3.07, allocations: 4.316 MB / 1.746 GB, free: 269.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/3.072, allocations: 0.5276 MB / 1.746 GB, free: 269.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/3.072, allocations: 40.28 kB / 1.746 GB, free: 269.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009857/3.073, allocations: 91.55 kB / 1.747 GB, free: 269.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006544/3.074, allocations: 157.8 kB / 1.747 GB, free: 269.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/3.074, allocations: 52.16 kB / 1.747 GB, free: 269.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00164/3.075, allocations: 0.9694 MB / 1.748 GB, free: 269.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.3e-07/3.075, allocations: 0 / 1.748 GB, free: 269.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00431/3.08, allocations: 1.034 MB / 1.749 GB, free: 269.5 MB / 1.151 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.0003679/3.08, allocations: 156.8 kB / 1.749 GB, free: 269.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007403/3.087, allocations: 4.188 MB / 1.753 GB, free: 268.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/3.088, allocations: 0 / 1.753 GB, free: 268.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.004733/3.092, allocations: 2.619 MB / 1.756 GB, free: 268.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003676/3.096, allocations: 0.679 MB / 1.756 GB, free: 268.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/3.113, allocations: 6.896 MB / 1.763 GB, free: 266.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004677/3.117, allocations: 3.664 MB / 1.766 GB, free: 265.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001773/3.119, allocations: 467.2 kB / 1.767 GB, free: 265.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/3.12, allocations: 110.5 kB / 1.767 GB, free: 265.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.203e-06/3.12, allocations: 0 / 1.767 GB, free: 265.8 MB / 1.151 GB Notification: Performance of Templates: time 0.07606/3.196, allocations: 41.15 MB / 1.807 GB, free: 264.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches