Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.3 MB / 405.3 MB, free: 13.54 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.001096/0.001096, allocations: 177.2 kB / 498.1 MB, free: 5.766 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.699/1.699, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.0009169/0.0009169, allocations: 84.39 kB / 0.9346 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.0004169, allocations: 6.266 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3745, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2308/0.6054, allocations: 168.1 MB / 1.387 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003986/0.6059, allocations: 103.9 kB / 1.387 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.09744/0.7033, allocations: 37.86 MB / 1.424 GB, free: 3.621 MB / 0.9167 GB Notification: Performance of FrontEnd: time 4.388e-06/0.7035, allocations: 0 / 1.424 GB, free: 3.621 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.995e-05/0.7036, allocations: 24 kB / 1.424 GB, free: 3.598 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005005/0.7086, allocations: 1.152 MB / 1.425 GB, free: 2.395 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 7.307e-05/0.7087, allocations: 16.02 kB / 1.425 GB, free: 2.379 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002359/0.7111, allocations: 274.4 kB / 1.426 GB, free: 2.109 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.7135, allocations: 0.7162 MB / 1.426 GB, free: 1.352 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.7137, allocations: 94.48 kB / 1.426 GB, free: 1.258 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006236/0.7143, allocations: 120 kB / 1.426 GB, free: 1.141 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8104/1.525, allocations: 1.917 MB / 1.428 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/1.525, allocations: 0.6094 kB / 1.428 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/1.525, allocations: 49.42 kB / 1.428 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/1.525, allocations: 56.2 kB / 1.428 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003395/1.529, allocations: 1.647 MB / 1.43 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/1.54, allocations: 7.708 MB / 1.438 GB, free: 177 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/1.54, allocations: 131.3 kB / 1.438 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/1.54, allocations: 88.08 kB / 1.438 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/1.54, allocations: 33.86 kB / 1.438 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/1.54, allocations: 4.25 kB / 1.438 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0006558/1.541, allocations: 266.4 kB / 1.438 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/1.541, allocations: 137.3 kB / 1.438 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/1.542, allocations: 0.8336 MB / 1.439 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/1.542, allocations: 25.7 kB / 1.439 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005842/1.543, allocations: 0.7651 MB / 1.44 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.01e-05/1.543, allocations: 54.94 kB / 1.44 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/1.543, allocations: 24.09 kB / 1.44 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.543, allocations: 372.6 kB / 1.44 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008344/1.544, allocations: 424.1 kB / 1.441 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/1.545, allocations: 1.157 MB / 1.442 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/1.546, allocations: 0.7222 MB / 1.442 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-05/1.546, allocations: 11.72 kB / 1.442 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002958/1.549, allocations: 1.533 MB / 1.444 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/1.549, allocations: 16.09 kB / 1.444 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.687e-05/1.55, allocations: 27.09 kB / 1.444 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.905e-05/1.55, allocations: 38.62 kB / 1.444 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008918/1.55, allocations: 287.2 kB / 1.444 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-05/1.551, allocations: 52.86 kB / 1.444 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/1.552, allocations: 191.1 kB / 1.445 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/1.552, allocations: 72.66 kB / 1.445 GB, free: 174.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 (147): * Single equations (assignments): 147 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009999/1.553, allocations: 0.6419 MB / 1.445 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/1.553, allocations: 58.2 kB / 1.445 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/1.553, allocations: 140.6 kB / 1.445 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/1.553, allocations: 1.688 kB / 1.445 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.553, allocations: 4.844 kB / 1.445 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.553, allocations: 0 / 1.445 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/1.555, allocations: 0.7709 MB / 1.446 GB, free: 174 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.555, allocations: 1.281 kB / 1.446 GB, free: 174 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/1.555, allocations: 6.094 kB / 1.446 GB, free: 174 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/1.555, allocations: 1.219 kB / 1.446 GB, free: 174 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/1.555, allocations: 1.156 kB / 1.446 GB, free: 174 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.555, allocations: 5.641 kB / 1.446 GB, free: 174 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.555, allocations: 0 / 1.446 GB, free: 174 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/1.555, allocations: 393.8 kB / 1.447 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/1.555, allocations: 152.2 kB / 1.447 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.88e-05/1.555, allocations: 5.203 kB / 1.447 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/1.556, allocations: 13.14 kB / 1.447 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/1.556, allocations: 10.16 kB / 1.447 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/1.556, allocations: 1.812 kB / 1.447 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008962/1.556, allocations: 0.6353 MB / 1.447 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.21e-07/1.556, allocations: 0 / 1.447 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001517/1.558, allocations: 304.7 kB / 1.448 GB, free: 173.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001966/1.558, allocations: 115.9 kB / 1.448 GB, free: 173.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001261/1.559, allocations: 0.7193 MB / 1.448 GB, free: 173.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.559, allocations: 0 / 1.448 GB, free: 173.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3e-05/1.56, allocations: 15.64 kB / 1.448 GB, free: 173.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/1.56, allocations: 40.58 kB / 1.449 GB, free: 173.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/1.563, allocations: 1.987 MB / 1.45 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/1.564, allocations: 1.3 MB / 1.452 GB, free: 171.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009456/1.565, allocations: 362.8 kB / 1.452 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.623e-05/1.565, allocations: 47.56 kB / 1.452 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/1.565, allocations: 1.25 kB / 1.452 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of Templates: time 0.01228/1.577, allocations: 4.691 MB / 1.457 GB, free: 171.3 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches