Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.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.429/1.429, allocations: 249.3 MB / 261.8 MB, free: 5.883 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.0009502/0.0009502, allocations: 176.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.000847/0.0008474, allocations: 95.77 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.067e-05/5.07e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2119, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6985/0.9105, allocations: 160.7 MB / 1.049 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.9108, allocations: 96.11 kB / 1.049 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04325/0.9541, allocations: 18.12 MB / 1.066 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9542, allocations: 4 kB / 1.066 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.878e-05/0.9542, allocations: 4 kB / 1.066 GB, free: 8.723 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.0009026/0.9551, allocations: 0.5276 MB / 1.067 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.9551, allocations: 12.02 kB / 1.067 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008182/0.956, allocations: 98.73 kB / 1.067 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.9563, allocations: 260.1 kB / 1.067 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.9563, allocations: 15.75 kB / 1.067 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.9564, allocations: 15.56 kB / 1.067 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005464/0.957, allocations: 363 kB / 1.068 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.957, allocations: 0 / 1.068 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.957, allocations: 11.31 kB / 1.068 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.9571, allocations: 27.86 kB / 1.068 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005278/0.9576, allocations: 339.2 kB / 1.068 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.9596, allocations: 1.729 MB / 1.07 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005603/0.9601, allocations: 319.1 kB / 1.07 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.9604, allocations: 172.2 kB / 1.07 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.9606, allocations: 93.09 kB / 1.07 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.9606, allocations: 37.62 kB / 1.07 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.974e-06/0.9606, allocations: 0 / 1.07 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.006159/0.9668, allocations: 1.714 MB / 1.072 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.9669, allocations: 84.17 kB / 1.072 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.9671, allocations: 162.8 kB / 1.072 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.9671, allocations: 32.45 kB / 1.072 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.462e-05/0.9672, allocations: 152 kB / 1.072 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.9673, allocations: 120.1 kB / 1.073 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.9673, allocations: 10.5 kB / 1.073 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.9675, allocations: 329.8 kB / 1.073 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.9678, allocations: 220.2 kB / 1.073 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.9682, allocations: 301 kB / 1.073 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.9686, allocations: 259.8 kB / 1.074 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.9686, allocations: 11.98 kB / 1.074 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008919/0.9695, allocations: 0.5778 MB / 1.074 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003964/0.9699, allocations: 0.8732 MB / 1.075 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.9699, allocations: 4 kB / 1.075 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.9699, allocations: 4 kB / 1.075 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.9709, allocations: 179.1 kB / 1.075 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.971, allocations: 4 kB / 1.075 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.9713, allocations: 50.67 kB / 1.075 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.9714, allocations: 19.36 kB / 1.075 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.9714, allocations: 4 kB / 1.075 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007942/0.9722, allocations: 0.5198 MB / 1.076 GB, free: 212 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.9722, allocations: 4 kB / 1.076 GB, free: 208 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/0.9722, allocations: 4 kB / 1.076 GB, free: 204 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009459/0.9732, allocations: 166.9 kB / 1.076 GB, free: 40 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.9732, allocations: 12.22 kB / 1.076 GB, free: 28 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.9736, allocations: 47.75 kB / 1.076 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.9736, allocations: 15.94 kB / 1.076 GB, free: 15.97 MB / 0.698 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.0001769/0.9738, allocations: 123.4 kB / 1.076 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.9739, allocations: 19.81 kB / 1.076 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.9751, allocations: 0.6194 MB / 1.077 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.9751, allocations: 4 kB / 1.077 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.9752, allocations: 0 / 1.077 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.9752, allocations: 0 / 1.077 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.9773, allocations: 1.309 MB / 1.078 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.9773, allocations: 4 kB / 1.078 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005447/0.9778, allocations: 123.6 kB / 1.078 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.9779, allocations: 4 kB / 1.078 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.9779, allocations: 14.27 kB / 1.078 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.9779, allocations: 4 kB / 1.078 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.9779, allocations: 3.938 kB / 1.078 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00095/0.9789, allocations: 0.745 MB / 1.079 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.9791, allocations: 146.9 kB / 1.079 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.9792, allocations: 11.25 kB / 1.079 GB, free: 13.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.9795, allocations: 53.12 kB / 1.079 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.9796, allocations: 27.41 kB / 1.079 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.9797, allocations: 11.5 kB / 1.079 GB, free: 13.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001455/0.9798, allocations: 149 kB / 1.079 GB, free: 13.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9798, allocations: 0 / 1.079 GB, free: 13.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007905/0.9806, allocations: 168.8 kB / 1.079 GB, free: 12.92 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.0002667/0.9809, allocations: 152.7 kB / 1.08 GB, free: 12.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.9821, allocations: 0.762 MB / 1.08 GB, free: 12.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.9821, allocations: 4.75 kB / 1.08 GB, free: 12.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.9825, allocations: 227.2 kB / 1.081 GB, free: 12.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.9829, allocations: 35.17 kB / 1.081 GB, free: 12.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.984, allocations: 0.5624 MB / 1.081 GB, free: 11.56 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.9844, allocations: 0.7882 MB / 1.082 GB, free: 10.76 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005344/0.9849, allocations: 178.7 kB / 1.082 GB, free: 10.58 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.9851, allocations: 31.42 kB / 1.082 GB, free: 10.55 MB / 0.698 GB Notification: Performance of SimCode: time 3.8e-07/0.9851, allocations: 0 / 1.082 GB, free: 10.55 MB / 0.698 GB Notification: Performance of Templates: time 0.008557/0.9937, allocations: 4.513 MB / 1.087 GB, free: 6.074 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches