Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.456/2.456, allocations: 390.5 MB / 398 MB, free: 10.93 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.001288/0.001288, allocations: 195.4 kB / 491.2 MB, free: 1.551 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.917/1.917, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009826/0.0009827, allocations: 95.89 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.932e-05/1.92e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2812, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.296, allocations: 181.3 MB / 1.389 GB, free: 15.68 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/1.296, allocations: 91.28 kB / 1.389 GB, free: 15.67 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04544/1.341, allocations: 20.23 MB / 1.409 GB, free: 17.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/1.342, allocations: 0 / 1.409 GB, free: 17.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.166e-05/1.342, allocations: 8 kB / 1.409 GB, free: 17.83 MB / 0.8386 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.0009448/1.342, allocations: 0.5318 MB / 1.41 GB, free: 17.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.343, allocations: 12.03 kB / 1.41 GB, free: 17.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009039/1.343, allocations: 103.5 kB / 1.41 GB, free: 17.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/1.344, allocations: 260.2 kB / 1.41 GB, free: 16.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/1.344, allocations: 7.984 kB / 1.41 GB, free: 16.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/1.344, allocations: 16 kB / 1.41 GB, free: 16.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004172/1.344, allocations: 251.5 kB / 1.41 GB, free: 16.69 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/1.345, allocations: 335.1 kB / 1.411 GB, free: 16.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/1.345, allocations: 3.984 kB / 1.411 GB, free: 16.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/1.345, allocations: 0 / 1.411 GB, free: 16.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/1.345, allocations: 27.77 kB / 1.411 GB, free: 16.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/1.347, allocations: 1.668 MB / 1.412 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005725/1.347, allocations: 316.4 kB / 1.413 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/1.348, allocations: 168 kB / 1.413 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/1.348, allocations: 89.52 kB / 1.413 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/1.348, allocations: 37.75 kB / 1.413 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/1.348, allocations: 0 / 1.413 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.003/1.351, allocations: 1.095 MB / 1.414 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/1.351, allocations: 81.11 kB / 1.414 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/1.351, allocations: 150.7 kB / 1.414 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/1.351, allocations: 33.69 kB / 1.414 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.078e-05/1.351, allocations: 148.3 kB / 1.414 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.376e-05/1.351, allocations: 115.8 kB / 1.415 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/1.351, allocations: 0 / 1.415 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.351, allocations: 329.9 kB / 1.415 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/1.352, allocations: 209.9 kB / 1.415 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/1.352, allocations: 303.9 kB / 1.415 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/1.353, allocations: 298.5 kB / 1.416 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.353, allocations: 3.953 kB / 1.416 GB, free: 12.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001072/1.354, allocations: 0.5975 MB / 1.416 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004097/1.354, allocations: 0.8753 MB / 1.417 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/1.354, allocations: 4 kB / 1.417 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/1.354, allocations: 7.938 kB / 1.417 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008584/1.355, allocations: 158.8 kB / 1.417 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/1.355, allocations: 8 kB / 1.417 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/1.356, allocations: 39.94 kB / 1.417 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/1.356, allocations: 18.92 kB / 1.417 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.356, allocations: 4 kB / 1.417 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008697/1.356, allocations: 460 kB / 1.418 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.356, allocations: 4 kB / 1.418 GB, free: 10.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/1.357, allocations: 4 kB / 1.418 GB, free: 10.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/1.357, allocations: 127.8 kB / 1.418 GB, free: 9.953 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/1.357, allocations: 7.984 kB / 1.418 GB, free: 9.945 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/1.357, allocations: 35.94 kB / 1.418 GB, free: 9.914 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/1.358, allocations: 19.92 kB / 1.418 GB, free: 9.895 MB / 0.8386 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.0001465/1.358, allocations: 120.7 kB / 1.418 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.033e-05/1.358, allocations: 19.72 kB / 1.418 GB, free: 9.754 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/1.359, allocations: 0.6163 MB / 1.419 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.359, allocations: 4 kB / 1.419 GB, free: 9.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/1.359, allocations: 0 / 1.419 GB, free: 9.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/1.359, allocations: 7.984 kB / 1.419 GB, free: 9.312 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/1.361, allocations: 1.261 MB / 1.42 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.361, allocations: 4 kB / 1.42 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/1.362, allocations: 124 kB / 1.42 GB, free: 8.082 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.699e-06/1.362, allocations: 8.031 kB / 1.42 GB, free: 8.074 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/1.362, allocations: 4 kB / 1.42 GB, free: 8.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/1.362, allocations: 11.89 kB / 1.42 GB, free: 8.059 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.362, allocations: 8 kB / 1.42 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009872/1.363, allocations: 0.7617 MB / 1.421 GB, free: 7.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/1.363, allocations: 144 kB / 1.421 GB, free: 7.195 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/1.363, allocations: 4 kB / 1.421 GB, free: 7.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/1.363, allocations: 39.94 kB / 1.421 GB, free: 7.152 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/1.363, allocations: 27.84 kB / 1.421 GB, free: 7.129 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/1.364, allocations: 11.88 kB / 1.421 GB, free: 7.121 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001256/1.364, allocations: 141.7 kB / 1.421 GB, free: 7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.924e-06/1.364, allocations: 0 / 1.421 GB, free: 7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007767/1.364, allocations: 143.8 kB / 1.421 GB, free: 6.859 MB / 0.8386 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.0002607/1.365, allocations: 155 kB / 1.421 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009558/1.366, allocations: 0.6868 MB / 1.422 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.366, allocations: 0 / 1.422 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002899/1.366, allocations: 216.3 kB / 1.422 GB, free: 6.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/1.366, allocations: 36.86 kB / 1.422 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009953/1.367, allocations: 0.5432 MB / 1.423 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/1.368, allocations: 0.7932 MB / 1.424 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005318/1.368, allocations: 167.1 kB / 1.424 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/1.369, allocations: 31.42 kB / 1.424 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.369, allocations: 0 / 1.424 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of Templates: time 0.008085/1.377, allocations: 4.406 MB / 1.428 GB, free: 208 kB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches