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.208/2.208, allocations: 390.5 MB / 398 MB, free: 10.96 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.001132/0.001132, allocations: 176.7 kB / 491.2 MB, free: 1.578 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.611/1.611, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.000985/0.0009853, allocations: 91.61 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.544e-05/1.547e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3067, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/1.418, allocations: 182.7 MB / 1.391 GB, free: 14.74 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/1.419, allocations: 98.77 kB / 1.391 GB, free: 14.72 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5362/1.955, allocations: 210.7 MB / 1.597 GB, free: 12.3 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.314e-06/1.955, allocations: 0 / 1.597 GB, free: 12.3 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0006116/1.955, allocations: 139.9 kB / 1.597 GB, free: 12.16 MB / 1.01 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.0174/1.973, allocations: 4.451 MB / 1.601 GB, free: 7.648 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/1.973, allocations: 8.031 kB / 1.601 GB, free: 7.641 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008442/1.981, allocations: 1.051 MB / 1.602 GB, free: 6.582 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/1.992, allocations: 3.399 MB / 1.605 GB, free: 3.125 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004037/1.993, allocations: 180 kB / 1.606 GB, free: 2.949 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002776/1.995, allocations: 323.9 kB / 1.606 GB, free: 2.633 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01711/2.013, allocations: 5.442 MB / 1.611 GB, free: 13.18 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02693/2.04, allocations: 7.682 MB / 1.619 GB, free: 5.074 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004071/2.04, allocations: 27.7 kB / 1.619 GB, free: 5.047 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002447/2.043, allocations: 12 kB / 1.619 GB, free: 5.035 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004671/2.043, allocations: 314.8 kB / 1.619 GB, free: 4.727 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05857/2.102, allocations: 38.96 MB / 1.657 GB, free: 10.08 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004332/2.106, allocations: 3.012 MB / 1.66 GB, free: 6.926 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003038/2.109, allocations: 1.903 MB / 1.662 GB, free: 5.027 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/2.109, allocations: 22 kB / 1.662 GB, free: 5.004 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/2.109, allocations: 48.56 kB / 1.662 GB, free: 4.949 MB / 1.073 GB Notification: Performance of pre-optimization done (n=179): time 4.689e-06/2.109, allocations: 0 / 1.662 GB, free: 4.949 MB / 1.073 GB Notification: Performance of matching and sorting (n=182): time 0.01262/2.122, allocations: 5.799 MB / 1.668 GB, free: 15.12 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/2.122, allocations: 69.41 kB / 1.668 GB, free: 15.04 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002556/2.125, allocations: 1.097 MB / 1.669 GB, free: 13.95 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.0001982/2.125, allocations: 29.64 kB / 1.669 GB, free: 13.91 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.001937/2.127, allocations: 2.249 MB / 1.671 GB, free: 11.63 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007328/2.128, allocations: 0.6082 MB / 1.672 GB, free: 11.02 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/2.128, allocations: 0 / 1.672 GB, free: 11.02 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0002481/2.128, allocations: 390.3 kB / 1.672 GB, free: 10.63 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/2.13, allocations: 1.113 MB / 1.673 GB, free: 9.512 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/2.132, allocations: 1.764 MB / 1.675 GB, free: 7.441 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/2.134, allocations: 1.442 MB / 1.676 GB, free: 6 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/2.134, allocations: 4 kB / 1.676 GB, free: 5.996 MB / 1.089 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008636/2.143, allocations: 4.208 MB / 1.68 GB, free: 1.766 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/2.143, allocations: 23.94 kB / 1.68 GB, free: 1.742 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.517e-05/2.143, allocations: 20.09 kB / 1.68 GB, free: 1.723 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003847/2.147, allocations: 1.453 MB / 1.682 GB, free: 264 kB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/2.148, allocations: 343.4 kB / 1.682 GB, free: 15.92 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0248/2.173, allocations: 16.4 MB / 1.698 GB, free: 15.05 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/2.175, allocations: 71.89 kB / 1.698 GB, free: 14.98 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004982/2.176, allocations: 96 kB / 1.698 GB, free: 14.89 MB / 1.12 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.0006885/2.177, allocations: 160.4 kB / 1.698 GB, free: 14.72 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006889/2.177, allocations: 209.7 kB / 1.699 GB, free: 14.52 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007545/2.185, allocations: 3.852 MB / 1.702 GB, free: 10.63 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/2.185, allocations: 16 kB / 1.702 GB, free: 10.62 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-05/2.185, allocations: 16 kB / 1.702 GB, free: 10.6 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/2.185, allocations: 11.97 kB / 1.702 GB, free: 10.59 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01882/2.204, allocations: 8.356 MB / 1.711 GB, free: 2.012 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/2.204, allocations: 8 kB / 1.711 GB, free: 2.004 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009289/2.205, allocations: 184.3 kB / 1.711 GB, free: 1.824 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003338/2.208, allocations: 1.323 MB / 1.712 GB, free: 0.4922 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/2.208, allocations: 8 kB / 1.712 GB, free: 496 kB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02031/2.229, allocations: 15.33 MB / 1.727 GB, free: 0.6953 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/2.229, allocations: 8 kB / 1.727 GB, free: 0.6875 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007673/2.237, allocations: 4.146 MB / 1.731 GB, free: 12.35 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/2.238, allocations: 0.5179 MB / 1.732 GB, free: 11.81 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006215/2.239, allocations: 11.98 kB / 1.732 GB, free: 11.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/2.24, allocations: 55.91 kB / 1.732 GB, free: 11.74 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005204/2.241, allocations: 161.7 kB / 1.732 GB, free: 11.59 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/2.241, allocations: 48 kB / 1.732 GB, free: 11.54 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001711/2.242, allocations: 0.8022 MB / 1.733 GB, free: 10.75 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/2.243, allocations: 4 kB / 1.733 GB, free: 10.74 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004648/2.247, allocations: 0.9258 MB / 1.734 GB, free: 9.816 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.0004182/2.248, allocations: 116.4 kB / 1.734 GB, free: 9.695 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007077/2.255, allocations: 4 MB / 1.738 GB, free: 5.652 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/2.255, allocations: 7.938 kB / 1.738 GB, free: 5.645 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.004643/2.259, allocations: 2.504 MB / 1.74 GB, free: 3.105 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003975/2.263, allocations: 0.6201 MB / 1.741 GB, free: 2.492 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7016/2.965, allocations: 6.79 MB / 1.747 GB, free: 280.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005951/2.971, allocations: 3.661 MB / 1.751 GB, free: 279.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00183/2.973, allocations: 457.2 kB / 1.751 GB, free: 279.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/2.973, allocations: 114 kB / 1.751 GB, free: 279.8 MB / 1.151 GB Notification: Performance of SimCode: time 9.52e-07/2.973, allocations: 0 / 1.751 GB, free: 279.8 MB / 1.151 GB Notification: Performance of Templates: time 0.09112/3.064, allocations: 38.53 MB / 1.789 GB, free: 279 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