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.326/2.326, allocations: 390.5 MB / 398 MB, free: 10.99 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.001006/0.001006, allocations: 180.8 kB / 491.2 MB, free: 1.566 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.658/1.658, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009712/0.0009712, allocations: 91.84 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.089e-05/2.093e-05, allocations: 7.984 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3381, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.5, allocations: 196.2 MB / 1.404 GB, free: 4.676 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/1.501, allocations: 89.81 kB / 1.404 GB, free: 4.625 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1242/1.625, allocations: 51.24 MB / 1.454 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.533e-06/1.625, allocations: 4 kB / 1.454 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.171e-05/1.625, allocations: 20 kB / 1.454 GB, free: 9.297 MB / 0.8698 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.002025/1.627, allocations: 0.9677 MB / 1.455 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.627, allocations: 12.03 kB / 1.455 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009676/1.637, allocations: 1.621 MB / 1.457 GB, free: 6.703 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/1.638, allocations: 0.6267 MB / 1.457 GB, free: 6.133 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/1.638, allocations: 24 kB / 1.457 GB, free: 6.109 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/1.638, allocations: 32 kB / 1.457 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002121/1.641, allocations: 1.311 MB / 1.459 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/1.643, allocations: 1.339 MB / 1.46 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/1.643, allocations: 3.938 kB / 1.46 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/1.643, allocations: 8 kB / 1.46 GB, free: 4.066 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003419/1.643, allocations: 144 kB / 1.46 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009667/1.653, allocations: 6.569 MB / 1.466 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/1.654, allocations: 0.8977 MB / 1.467 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/1.655, allocations: 0.5538 MB / 1.468 GB, free: 13 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002085/1.657, allocations: 1.465 MB / 1.469 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/1.657, allocations: 46.05 kB / 1.469 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 2.505e-06/1.657, allocations: 0 / 1.469 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=107): time 0.009996/1.667, allocations: 4.197 MB / 1.473 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/1.667, allocations: 90.05 kB / 1.474 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006215/1.668, allocations: 493.9 kB / 1.474 GB, free: 7.875 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/1.668, allocations: 25.7 kB / 1.474 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/1.668, allocations: 411.5 kB / 1.474 GB, free: 7.52 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/1.669, allocations: 353.5 kB / 1.475 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/1.669, allocations: 0 / 1.475 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001816/1.669, allocations: 391.9 kB / 1.475 GB, free: 6.852 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00098/1.67, allocations: 0.7215 MB / 1.476 GB, free: 6.398 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/1.671, allocations: 1.049 MB / 1.477 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/1.673, allocations: 0.9936 MB / 1.478 GB, free: 4.809 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/1.673, allocations: 4 kB / 1.478 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006455/1.679, allocations: 2.944 MB / 1.481 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001896/1.681, allocations: 3.916 MB / 1.485 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/1.681, allocations: 15.94 kB / 1.485 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003617/1.685, allocations: 1.007 MB / 1.486 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/1.687, allocations: 462.1 kB / 1.486 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/1.699, allocations: 8.701 MB / 1.494 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/1.701, allocations: 291.5 kB / 1.495 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/1.701, allocations: 59.97 kB / 1.495 GB, free: 5.117 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/1.701, allocations: 5.25 kB / 1.495 GB, free: 5.113 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004717/1.706, allocations: 2.274 MB / 1.497 GB, free: 2.824 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/1.706, allocations: 8 kB / 1.497 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/1.708, allocations: 0.5579 MB / 1.498 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/1.71, allocations: 487.1 kB / 1.498 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009203/1.719, allocations: 8.332 MB / 1.506 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/1.721, allocations: 267.6 kB / 1.506 GB, free: 8.715 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/1.721, allocations: 59.97 kB / 1.507 GB, free: 8.656 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 () * 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.0005096/1.722, allocations: 145.3 kB / 1.507 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003714/1.722, allocations: 82.97 kB / 1.507 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007253/1.73, allocations: 2.935 MB / 1.51 GB, free: 5.465 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/1.73, allocations: 12 kB / 1.51 GB, free: 5.453 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/1.73, allocations: 4 kB / 1.51 GB, free: 5.449 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/1.73, allocations: 7.969 kB / 1.51 GB, free: 5.441 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009471/1.739, allocations: 4.596 MB / 1.514 GB, free: 0.7109 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/1.739, allocations: 8 kB / 1.514 GB, free: 0.7031 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/1.741, allocations: 355.4 kB / 1.514 GB, free: 364 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003663/1.745, allocations: 1.092 MB / 1.516 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/1.745, allocations: 15.98 kB / 1.516 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/1.758, allocations: 10.13 MB / 1.525 GB, free: 4.645 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/1.758, allocations: 4.109 kB / 1.525 GB, free: 4.641 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006685/1.765, allocations: 3.147 MB / 1.529 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009259/1.766, allocations: 347.9 kB / 1.529 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/1.766, allocations: 8 kB / 1.529 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00204/1.768, allocations: 323.4 kB / 1.529 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004133/1.769, allocations: 108.1 kB / 1.529 GB, free: 480 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/1.769, allocations: 44.16 kB / 1.529 GB, free: 436 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006331/1.769, allocations: 358.9 kB / 1.53 GB, free: 76 kB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/1.769, allocations: 0 / 1.53 GB, free: 76 kB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002706/1.772, allocations: 0.5235 MB / 1.53 GB, free: 15.55 MB / 0.948 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 () * 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.0003076/1.772, allocations: 135 kB / 1.53 GB, free: 15.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007668/1.78, allocations: 3.994 MB / 1.534 GB, free: 11.36 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.78, allocations: 4.125 kB / 1.534 GB, free: 11.35 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003227/1.783, allocations: 1.618 MB / 1.536 GB, free: 9.691 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/1.784, allocations: 120.6 kB / 1.536 GB, free: 9.57 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008604/1.793, allocations: 2.747 MB / 1.539 GB, free: 6.727 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008861/1.794, allocations: 1.112 MB / 1.54 GB, free: 5.59 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002212/1.796, allocations: 0.5576 MB / 1.54 GB, free: 5.027 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/1.797, allocations: 71.39 kB / 1.54 GB, free: 4.957 MB / 0.948 GB Notification: Performance of SimCode: time 7.72e-07/1.797, allocations: 0 / 1.54 GB, free: 4.957 MB / 0.948 GB Notification: Performance of Templates: time 0.04084/1.837, allocations: 23.77 MB / 1.563 GB, free: 13.33 MB / 0.9792 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