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.ACACTransformerFull.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.474/1.474, allocations: 249.5 MB / 257 MB, free: 6.895 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.0009663/0.0009663, allocations: 176.9 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008703/0.0008702, allocations: 95.17 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.466e-05/1.468e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2323, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7901/1.022, allocations: 178.5 MB / 1.06 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/1.023, allocations: 95.12 kB / 1.06 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.113/1.136, allocations: 46.44 MB / 1.105 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.397e-06/1.136, allocations: 0 / 1.105 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.015e-05/1.136, allocations: 23.94 kB / 1.105 GB, free: 3.055 MB / 0.7136 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.002358/1.138, allocations: 0.9764 MB / 1.106 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/1.138, allocations: 8.031 kB / 1.106 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009935/1.148, allocations: 1.624 MB / 1.108 GB, free: 464 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/1.15, allocations: 0.633 MB / 1.108 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/1.15, allocations: 16 kB / 1.108 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/1.15, allocations: 39.91 kB / 1.108 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00207/1.152, allocations: 1.298 MB / 1.11 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/1.154, allocations: 1.346 MB / 1.111 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/1.154, allocations: 7.938 kB / 1.111 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/1.154, allocations: 0 / 1.111 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003352/1.155, allocations: 147 kB / 1.111 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009584/1.164, allocations: 6.566 MB / 1.117 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/1.166, allocations: 0.902 MB / 1.118 GB, free: 6.855 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007541/1.166, allocations: 0.5489 MB / 1.119 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002196/1.169, allocations: 1.463 MB / 1.12 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/1.169, allocations: 38.56 kB / 1.12 GB, free: 4.723 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 2.715e-06/1.169, allocations: 0 / 1.12 GB, free: 4.723 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.01002/1.179, allocations: 4.204 MB / 1.124 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/1.179, allocations: 98.05 kB / 1.124 GB, free: 392 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006648/1.18, allocations: 478 kB / 1.125 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/1.18, allocations: 25.7 kB / 1.125 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/1.18, allocations: 407.1 kB / 1.125 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003297/1.18, allocations: 358.7 kB / 1.126 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/1.18, allocations: 0 / 1.126 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.181, allocations: 386.8 kB / 1.126 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009906/1.182, allocations: 0.721 MB / 1.127 GB, free: 14 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/1.183, allocations: 1.058 MB / 1.128 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/1.185, allocations: 0.9919 MB / 1.129 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.185, allocations: 0 / 1.129 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006511/1.191, allocations: 2.957 MB / 1.132 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001635/1.193, allocations: 3.917 MB / 1.135 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/1.193, allocations: 8 kB / 1.135 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003699/1.197, allocations: 1.014 MB / 1.136 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/1.199, allocations: 467.2 kB / 1.137 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/1.21, allocations: 8.69 MB / 1.145 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/1.212, allocations: 287.6 kB / 1.146 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/1.213, allocations: 67.92 kB / 1.146 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.213, allocations: 4 kB / 1.146 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004645/1.217, allocations: 2.27 MB / 1.148 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/1.217, allocations: 12.5 kB / 1.148 GB, free: 7.406 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/1.219, allocations: 0.5535 MB / 1.149 GB, free: 6.84 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002102/1.221, allocations: 487.2 kB / 1.149 GB, free: 6.363 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008815/1.23, allocations: 8.344 MB / 1.157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/1.232, allocations: 267.5 kB / 1.157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/1.232, allocations: 63.97 kB / 1.157 GB, free: 13.23 MB / 0.7761 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.0004338/1.233, allocations: 139.2 kB / 1.158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/1.233, allocations: 83 kB / 1.158 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006855/1.24, allocations: 2.939 MB / 1.161 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/1.24, allocations: 12 kB / 1.161 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/1.24, allocations: 8 kB / 1.161 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/1.24, allocations: 7.984 kB / 1.161 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009107/1.249, allocations: 4.573 MB / 1.165 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.249, allocations: 4 kB / 1.165 GB, free: 5.309 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/1.251, allocations: 367.9 kB / 1.165 GB, free: 4.949 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003654/1.255, allocations: 1.084 MB / 1.166 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/1.255, allocations: 23.97 kB / 1.166 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/1.267, allocations: 10.11 MB / 1.176 GB, free: 9.254 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/1.267, allocations: 8 kB / 1.176 GB, free: 9.246 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00641/1.274, allocations: 3.147 MB / 1.179 GB, free: 5.859 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008126/1.275, allocations: 339.9 kB / 1.18 GB, free: 5.508 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/1.275, allocations: 11.98 kB / 1.18 GB, free: 5.496 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/1.277, allocations: 323.4 kB / 1.18 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/1.277, allocations: 104.2 kB / 1.18 GB, free: 5.078 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/1.277, allocations: 43.94 kB / 1.18 GB, free: 5.035 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005202/1.278, allocations: 366.8 kB / 1.181 GB, free: 4.676 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.1e-07/1.278, allocations: 0 / 1.181 GB, free: 4.676 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002355/1.28, allocations: 0.5201 MB / 1.181 GB, free: 4.156 MB / 0.7917 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.0002931/1.28, allocations: 139 kB / 1.181 GB, free: 4.012 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.006943/1.287, allocations: 3.981 MB / 1.185 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.257e-05/1.287, allocations: 4 kB / 1.185 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002854/1.29, allocations: 1.627 MB / 1.187 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009189/1.291, allocations: 126.1 kB / 1.187 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00812/1.299, allocations: 2.732 MB / 1.189 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008076/1.3, allocations: 1.119 MB / 1.191 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002209/1.302, allocations: 0.5537 MB / 1.191 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/1.303, allocations: 83.31 kB / 1.191 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of SimCode: time 1.202e-06/1.303, allocations: 4 kB / 1.191 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of Templates: time 0.03776/1.341, allocations: 23.74 MB / 1.214 GB, free: 1.887 MB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches