Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 249.5 MB / 257 MB, free: 7.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009595/0.0009594, allocations: 176.8 kB / 316.3 MB, free: 3.238 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.605/1.605, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.001045/0.001045, allocations: 94.61 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.214e-05/2.216e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2236, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7817/1.005, allocations: 163.6 MB / 1.045 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.006, allocations: 93.11 kB / 1.045 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04405/1.05, allocations: 18.38 MB / 1.063 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.343e-06/1.05, allocations: 0 / 1.063 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.649e-05/1.05, allocations: 7.984 kB / 1.063 GB, free: 8.855 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008864/1.051, allocations: 0.5393 MB / 1.064 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/1.051, allocations: 8.031 kB / 1.064 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007612/1.051, allocations: 99.48 kB / 1.064 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/1.052, allocations: 252.7 kB / 1.064 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/1.052, allocations: 4 kB / 1.064 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/1.052, allocations: 12 kB / 1.064 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004112/1.052, allocations: 256.6 kB / 1.064 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000478/1.053, allocations: 336.2 kB / 1.065 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/1.053, allocations: 3.938 kB / 1.065 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/1.053, allocations: 0 / 1.065 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-05/1.053, allocations: 23.55 kB / 1.065 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/1.055, allocations: 1.687 MB / 1.066 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/1.055, allocations: 310.8 kB / 1.067 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/1.055, allocations: 167.5 kB / 1.067 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/1.056, allocations: 85.09 kB / 1.067 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.352e-05/1.056, allocations: 42.12 kB / 1.067 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/1.056, allocations: 0 / 1.067 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.002788/1.059, allocations: 1.095 MB / 1.068 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/1.059, allocations: 81.11 kB / 1.068 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/1.059, allocations: 145.8 kB / 1.068 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/1.059, allocations: 25.7 kB / 1.068 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/1.059, allocations: 149.5 kB / 1.068 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.834e-05/1.059, allocations: 116.4 kB / 1.068 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/1.059, allocations: 0 / 1.068 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.059, allocations: 333.6 kB / 1.069 GB, free: 3.609 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/1.059, allocations: 212.4 kB / 1.069 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/1.06, allocations: 297.8 kB / 1.069 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000563/1.06, allocations: 300.6 kB / 1.069 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.06, allocations: 3.938 kB / 1.069 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009926/1.061, allocations: 0.6008 MB / 1.07 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003636/1.062, allocations: 0.8741 MB / 1.071 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.062, allocations: 4 kB / 1.071 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.062, allocations: 7.953 kB / 1.071 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008022/1.063, allocations: 146.7 kB / 1.071 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.063, allocations: 7.938 kB / 1.071 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/1.063, allocations: 51.92 kB / 1.071 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/1.063, allocations: 23.81 kB / 1.071 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/1.063, allocations: 4 kB / 1.071 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007971/1.064, allocations: 449.8 kB / 1.072 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.064, allocations: 3.984 kB / 1.072 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.6e-06/1.064, allocations: 8.219 kB / 1.072 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/1.064, allocations: 138.1 kB / 1.072 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/1.065, allocations: 8 kB / 1.072 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/1.065, allocations: 31.95 kB / 1.072 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/1.065, allocations: 11.38 kB / 1.072 GB, free: 0.9219 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001158/1.065, allocations: 123.4 kB / 1.072 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/1.065, allocations: 19.81 kB / 1.072 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/1.066, allocations: 0.6084 MB / 1.072 GB, free: 364 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/1.066, allocations: 4 kB / 1.072 GB, free: 360 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.066, allocations: 8 kB / 1.072 GB, free: 352 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/1.066, allocations: 3.984 kB / 1.072 GB, free: 348 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/1.068, allocations: 1.27 MB / 1.074 GB, free: 15.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.068, allocations: 4 kB / 1.074 GB, free: 15.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005268/1.069, allocations: 119.3 kB / 1.074 GB, free: 15.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/1.069, allocations: 4 kB / 1.074 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/1.069, allocations: 4.25 kB / 1.074 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/1.069, allocations: 8 kB / 1.074 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.069, allocations: 4 kB / 1.074 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008388/1.07, allocations: 0.7649 MB / 1.075 GB, free: 14.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/1.07, allocations: 145.4 kB / 1.075 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/1.07, allocations: 11.95 kB / 1.075 GB, free: 14.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/1.07, allocations: 39.94 kB / 1.075 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/1.07, allocations: 31.59 kB / 1.075 GB, free: 14.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/1.07, allocations: 12 kB / 1.075 GB, free: 14.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.323e-05/1.07, allocations: 138.1 kB / 1.075 GB, free: 14.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.07, allocations: 0 / 1.075 GB, free: 14.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006342/1.071, allocations: 135.8 kB / 1.075 GB, free: 13.89 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.0002392/1.071, allocations: 155 kB / 1.075 GB, free: 13.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008884/1.072, allocations: 0.6877 MB / 1.076 GB, free: 13.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.072, allocations: 4.125 kB / 1.076 GB, free: 13.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002585/1.072, allocations: 215 kB / 1.076 GB, free: 13.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/1.073, allocations: 39.5 kB / 1.076 GB, free: 13.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008901/1.074, allocations: 0.5439 MB / 1.077 GB, free: 12.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/1.074, allocations: 0.7958 MB / 1.077 GB, free: 11.78 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005102/1.074, allocations: 163.1 kB / 1.078 GB, free: 11.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/1.075, allocations: 34.92 kB / 1.078 GB, free: 11.59 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/1.075, allocations: 0 / 1.078 GB, free: 11.59 MB / 0.698 GB Notification: Performance of Templates: time 0.007801/1.082, allocations: 4.399 MB / 1.082 GB, free: 7.246 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches