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.411/1.411, allocations: 249.3 MB / 261.8 MB, free: 5.824 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.001034/0.001035, allocations: 178.5 kB / 321.3 MB, free: 14.65 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.548/1.548, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0009201/0.0009201, allocations: 86.47 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.888e-05/3.892e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2352, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8045/1.04, allocations: 163.4 MB / 1.051 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/1.04, allocations: 97.36 kB / 1.051 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04334/1.083, allocations: 18.44 MB / 1.069 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.643e-06/1.083, allocations: 0 / 1.069 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.564e-05/1.083, allocations: 4 kB / 1.069 GB, free: 5.828 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.000785/1.084, allocations: 0.5418 MB / 1.07 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.084, allocations: 8.031 kB / 1.07 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007471/1.085, allocations: 99.23 kB / 1.07 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/1.085, allocations: 258.4 kB / 1.07 GB, free: 4.879 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/1.085, allocations: 19.11 kB / 1.07 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/1.085, allocations: 15.44 kB / 1.07 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/1.086, allocations: 365.6 kB / 1.071 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/1.086, allocations: 0 / 1.071 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/1.086, allocations: 9.938 kB / 1.071 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/1.086, allocations: 19.98 kB / 1.071 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004931/1.087, allocations: 341.8 kB / 1.071 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/1.088, allocations: 1.727 MB / 1.073 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005291/1.089, allocations: 325.6 kB / 1.073 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/1.089, allocations: 169.3 kB / 1.073 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/1.089, allocations: 93.09 kB / 1.073 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/1.089, allocations: 34.38 kB / 1.073 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/1.089, allocations: 0 / 1.073 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.005839/1.095, allocations: 1.72 MB / 1.075 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/1.095, allocations: 81.11 kB / 1.075 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/1.095, allocations: 162.6 kB / 1.075 GB, free: 416 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/1.095, allocations: 28.89 kB / 1.075 GB, free: 384 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/1.095, allocations: 157 kB / 1.075 GB, free: 236 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.575e-05/1.096, allocations: 115.5 kB / 1.076 GB, free: 132 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/1.096, allocations: 10.94 kB / 1.076 GB, free: 128 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.096, allocations: 329.9 kB / 1.076 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/1.096, allocations: 220.7 kB / 1.076 GB, free: 15.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/1.096, allocations: 303.8 kB / 1.076 GB, free: 15.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/1.097, allocations: 252 kB / 1.077 GB, free: 15.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/1.097, allocations: 11.98 kB / 1.077 GB, free: 15.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008092/1.098, allocations: 0.5875 MB / 1.077 GB, free: 14.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002983/1.098, allocations: 0.8699 MB / 1.078 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.098, allocations: 7.984 kB / 1.078 GB, free: 13.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/1.098, allocations: 4 kB / 1.078 GB, free: 13.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.099, allocations: 175.2 kB / 1.078 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/1.099, allocations: 7.938 kB / 1.078 GB, free: 13.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/1.099, allocations: 46.06 kB / 1.078 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/1.099, allocations: 18.81 kB / 1.078 GB, free: 13.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/1.099, allocations: 9.078 kB / 1.078 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007465/1.1, allocations: 0.5157 MB / 1.079 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/1.1, allocations: 0 / 1.079 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.45e-06/1.1, allocations: 4 kB / 1.079 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009143/1.101, allocations: 174.4 kB / 1.079 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/1.101, allocations: 4.281 kB / 1.079 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/1.101, allocations: 50.23 kB / 1.079 GB, free: 13.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/1.101, allocations: 15.98 kB / 1.079 GB, free: 13.08 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.0001148/1.102, allocations: 130.7 kB / 1.079 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/1.102, allocations: 23.8 kB / 1.079 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/1.103, allocations: 0.612 MB / 1.08 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.103, allocations: 4 kB / 1.08 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.103, allocations: 0 / 1.08 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/1.103, allocations: 0 / 1.08 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/1.104, allocations: 1.31 MB / 1.081 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.104, allocations: 7.984 kB / 1.081 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005229/1.105, allocations: 116.1 kB / 1.081 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/1.105, allocations: 4 kB / 1.081 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/1.105, allocations: 14.2 kB / 1.081 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/1.105, allocations: 11.92 kB / 1.081 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.105, allocations: 4 kB / 1.081 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007131/1.106, allocations: 0.75 MB / 1.082 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/1.106, allocations: 143.2 kB / 1.082 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/1.106, allocations: 15.42 kB / 1.082 GB, free: 10.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/1.106, allocations: 51.14 kB / 1.082 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/1.106, allocations: 23.16 kB / 1.082 GB, free: 10.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/1.107, allocations: 11.98 kB / 1.082 GB, free: 10.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001115/1.107, allocations: 150 kB / 1.082 GB, free: 10.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/1.107, allocations: 0 / 1.082 GB, free: 10.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006084/1.107, allocations: 165.2 kB / 1.082 GB, free: 10.02 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.0002311/1.107, allocations: 161.2 kB / 1.083 GB, free: 9.859 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001026/1.109, allocations: 0.7592 MB / 1.083 GB, free: 9.352 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.109, allocations: 0 / 1.083 GB, free: 9.352 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002939/1.109, allocations: 228.8 kB / 1.084 GB, free: 9.195 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/1.109, allocations: 37.67 kB / 1.084 GB, free: 9.168 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009117/1.11, allocations: 0.5611 MB / 1.084 GB, free: 8.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/1.11, allocations: 0.7868 MB / 1.085 GB, free: 7.855 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005066/1.111, allocations: 170.8 kB / 1.085 GB, free: 7.688 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/1.111, allocations: 30.05 kB / 1.085 GB, free: 7.66 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/1.111, allocations: 0 / 1.085 GB, free: 7.66 MB / 0.698 GB Notification: Performance of Templates: time 0.007801/1.119, allocations: 4.526 MB / 1.09 GB, free: 3.16 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