Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ACACTransformerFull,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.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,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.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.404/2.404, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001134/0.001134, allocations: 175.6 kB / 0.4902 GB, free: 2.238 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.599/1.599, allocations: 223.2 MB / 0.7992 GB, free: 14.7 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.001364/0.001364, allocations: 96.31 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005644/0.000564, allocations: 12.92 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2807, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2436/0.5243, allocations: 197 MB / 1.422 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.5247, allocations: 99.81 kB / 1.422 GB, free: 4.352 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.7879/1.313, allocations: 51.7 MB / 1.472 GB, free: 176 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.252e-06/1.313, allocations: 4 kB / 1.472 GB, free: 176 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.481e-05/1.313, allocations: 23.98 kB / 1.472 GB, free: 175.9 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.00336/1.316, allocations: 1.045 MB / 1.473 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/1.316, allocations: 20.5 kB / 1.473 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009142/1.325, allocations: 1.621 MB / 1.475 GB, free: 173.2 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/1.327, allocations: 0.6263 MB / 1.475 GB, free: 172.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/1.327, allocations: 45.28 kB / 1.475 GB, free: 172.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003421/1.327, allocations: 59.98 kB / 1.476 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004921/1.332, allocations: 1.925 MB / 1.477 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/1.332, allocations: 7.922 kB / 1.477 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001677/1.333, allocations: 35.92 kB / 1.477 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003225/1.333, allocations: 141.4 kB / 1.478 GB, free: 170.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007179/1.34, allocations: 2.616 MB / 1.48 GB, free: 167.6 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009947/1.35, allocations: 6.68 MB / 1.487 GB, free: 160.6 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002911/1.353, allocations: 1.258 MB / 1.488 GB, free: 159.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002165/1.355, allocations: 1.487 MB / 1.489 GB, free: 157.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/1.355, allocations: 38.56 kB / 1.489 GB, free: 157.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=73): time 2.786e-06/1.355, allocations: 4 kB / 1.489 GB, free: 157.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=107): time 0.02528/1.381, allocations: 8.041 MB / 1.497 GB, free: 149.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/1.381, allocations: 94.11 kB / 1.497 GB, free: 149.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006823/1.381, allocations: 0.5059 MB / 1.498 GB, free: 149 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/1.382, allocations: 41.7 kB / 1.498 GB, free: 148.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/1.382, allocations: 411 kB / 1.498 GB, free: 148.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000288/1.382, allocations: 370.7 kB / 1.499 GB, free: 148.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/1.382, allocations: 28 kB / 1.499 GB, free: 148.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.382, allocations: 390.8 kB / 1.499 GB, free: 147.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/1.385, allocations: 1.103 MB / 1.5 GB, free: 146.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002808/1.388, allocations: 1.439 MB / 1.501 GB, free: 145 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002858/1.391, allocations: 1.222 MB / 1.503 GB, free: 143.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/1.391, allocations: 4 kB / 1.503 GB, free: 143.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.009675/1.4, allocations: 3.765 MB / 1.506 GB, free: 140 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008474/1.401, allocations: 3.915 MB / 1.51 GB, free: 135.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/1.401, allocations: 8 kB / 1.51 GB, free: 135.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004619/1.406, allocations: 1.267 MB / 1.511 GB, free: 134.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002012/1.408, allocations: 459.2 kB / 1.512 GB, free: 134.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00933/1.417, allocations: 9.281 MB / 1.521 GB, free: 124.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/1.42, allocations: 315.4 kB / 1.521 GB, free: 124.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000288/1.42, allocations: 63.97 kB / 1.521 GB, free: 124 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/1.42, allocations: 4 kB / 1.521 GB, free: 124 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008664/1.429, allocations: 3.483 MB / 1.525 GB, free: 120.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.919e-05/1.429, allocations: 8.5 kB / 1.525 GB, free: 120.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003426/1.432, allocations: 1.022 MB / 1.526 GB, free: 119.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/1.434, allocations: 475.2 kB / 1.526 GB, free: 119 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009993/1.444, allocations: 10.39 MB / 1.536 GB, free: 108.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/1.447, allocations: 307.5 kB / 1.537 GB, free: 107.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003155/1.447, allocations: 63.97 kB / 1.537 GB, free: 107.7 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (122): * Single equations (assignments): 118 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008756/1.448, allocations: 392.6 kB / 1.537 GB, free: 107.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/1.448, allocations: 83 kB / 1.537 GB, free: 107.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009429/1.458, allocations: 3.676 MB / 1.541 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.458, allocations: 12 kB / 1.541 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/1.458, allocations: 4 kB / 1.541 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/1.458, allocations: 11.97 kB / 1.541 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/1.469, allocations: 5.418 MB / 1.546 GB, free: 97.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.469, allocations: 4 kB / 1.546 GB, free: 97.92 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/1.47, allocations: 363.4 kB / 1.546 GB, free: 97.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00395/1.474, allocations: 1.166 MB / 1.548 GB, free: 96.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/1.475, allocations: 39.97 kB / 1.548 GB, free: 96.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/1.485, allocations: 10.85 MB / 1.558 GB, free: 84.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.485, allocations: 4 kB / 1.558 GB, free: 84.95 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008857/1.494, allocations: 3.853 MB / 1.562 GB, free: 80.86 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008491/1.495, allocations: 347.9 kB / 1.562 GB, free: 80.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002598/1.495, allocations: 24 kB / 1.562 GB, free: 80.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/1.497, allocations: 319.3 kB / 1.563 GB, free: 80.16 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002918/1.498, allocations: 105.2 kB / 1.563 GB, free: 80.06 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/1.498, allocations: 47.92 kB / 1.563 GB, free: 80.01 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000496/1.498, allocations: 402.8 kB / 1.563 GB, free: 79.62 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.41e-07/1.498, allocations: 4 kB / 1.563 GB, free: 79.61 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002574/1.501, allocations: 0.6055 MB / 1.564 GB, free: 79.01 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003054/1.501, allocations: 148.2 kB / 1.564 GB, free: 78.86 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01198/1.513, allocations: 5.428 MB / 1.569 GB, free: 73.34 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.513, allocations: 4 kB / 1.569 GB, free: 73.34 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004263/1.517, allocations: 2.058 MB / 1.571 GB, free: 71.23 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009599/1.518, allocations: 134.9 kB / 1.571 GB, free: 71.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009306/1.528, allocations: 3.809 MB / 1.575 GB, free: 67.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006399/1.528, allocations: 1.123 MB / 1.576 GB, free: 66.04 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001923/1.53, allocations: 0.5382 MB / 1.577 GB, free: 65.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/1.531, allocations: 83.31 kB / 1.577 GB, free: 65.41 MB / 0.9167 GB Notification: Performance of SimCode: time 1.503e-06/1.531, allocations: 4 kB / 1.577 GB, free: 65.41 MB / 0.9167 GB Notification: Performance of Templates: time 0.03222/1.563, allocations: 24.6 MB / 1.601 GB, free: 40.96 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches