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.532/1.532, allocations: 249.3 MB / 261.8 MB, free: 5.914 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.001066/0.001066, allocations: 182.5 kB / 321.3 MB, free: 14.64 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.542/1.542, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.001189/0.001189, allocations: 88.3 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.793e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2343, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8325/1.067, allocations: 178.3 MB / 1.066 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/1.067, allocations: 90.88 kB / 1.066 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1144/1.182, allocations: 46.63 MB / 1.111 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.343e-06/1.182, allocations: 0 / 1.111 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.651e-05/1.182, allocations: 23.98 kB / 1.112 GB, free: 14.07 MB / 0.7292 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.002021/1.184, allocations: 0.9657 MB / 1.112 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.184, allocations: 8.031 kB / 1.112 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009851/1.194, allocations: 1.629 MB / 1.114 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/1.195, allocations: 0.6186 MB / 1.115 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/1.195, allocations: 45.28 kB / 1.115 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/1.196, allocations: 59.89 kB / 1.115 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/1.198, allocations: 1.429 MB / 1.116 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/1.198, allocations: 11.89 kB / 1.116 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/1.198, allocations: 27.97 kB / 1.116 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003747/1.198, allocations: 141.4 kB / 1.116 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/1.201, allocations: 1.638 MB / 1.118 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009927/1.211, allocations: 6.662 MB / 1.124 GB, free: 324 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/1.213, allocations: 0.9302 MB / 1.125 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008204/1.213, allocations: 0.5762 MB / 1.126 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002085/1.216, allocations: 1.481 MB / 1.127 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/1.216, allocations: 42.56 kB / 1.127 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=73): time 3.035e-06/1.216, allocations: 0 / 1.127 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=107): time 0.01685/1.232, allocations: 5.647 MB / 1.133 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/1.233, allocations: 90.11 kB / 1.133 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006706/1.233, allocations: 0.5046 MB / 1.133 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/1.233, allocations: 45.7 kB / 1.134 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/1.234, allocations: 411 kB / 1.134 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/1.234, allocations: 366.7 kB / 1.134 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/1.234, allocations: 28 kB / 1.134 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.234, allocations: 394.7 kB / 1.135 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/1.235, allocations: 0.7444 MB / 1.135 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/1.237, allocations: 1.084 MB / 1.136 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/1.238, allocations: 0.8768 MB / 1.137 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/1.238, allocations: 4 kB / 1.137 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006491/1.244, allocations: 3.024 MB / 1.14 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001482/1.246, allocations: 3.919 MB / 1.144 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/1.246, allocations: 8 kB / 1.144 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004076/1.25, allocations: 1.182 MB / 1.145 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/1.252, allocations: 463.2 kB / 1.146 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/1.263, allocations: 9.001 MB / 1.154 GB, free: 452 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/1.265, allocations: 307.6 kB / 1.155 GB, free: 144 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/1.265, allocations: 63.97 kB / 1.155 GB, free: 80 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/1.265, allocations: 5.25 kB / 1.155 GB, free: 76 kB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005581/1.271, allocations: 2.726 MB / 1.158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/1.271, allocations: 19.92 kB / 1.158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002979/1.274, allocations: 0.9478 MB / 1.158 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/1.276, allocations: 475.2 kB / 1.159 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/1.288, allocations: 10.07 MB / 1.169 GB, free: 1.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002344/1.29, allocations: 303.4 kB / 1.169 GB, free: 0.9883 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/1.29, allocations: 63.97 kB / 1.169 GB, free: 0.9258 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.0003835/1.291, allocations: 187 kB / 1.169 GB, free: 0.7383 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/1.291, allocations: 79.06 kB / 1.169 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006585/1.297, allocations: 2.947 MB / 1.172 GB, free: 13.69 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/1.297, allocations: 8 kB / 1.172 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/1.297, allocations: 8 kB / 1.172 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.297, allocations: 3.984 kB / 1.172 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009388/1.307, allocations: 4.672 MB / 1.177 GB, free: 8.855 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/1.307, allocations: 4.469 kB / 1.177 GB, free: 8.852 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/1.309, allocations: 364.1 kB / 1.177 GB, free: 8.496 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003692/1.312, allocations: 1.111 MB / 1.178 GB, free: 7.367 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/1.312, allocations: 31.98 kB / 1.178 GB, free: 7.336 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/1.326, allocations: 10.5 MB / 1.189 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.326, allocations: 7.938 kB / 1.189 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006576/1.332, allocations: 3.125 MB / 1.192 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008147/1.333, allocations: 343.9 kB / 1.192 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/1.333, allocations: 24 kB / 1.192 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/1.335, allocations: 319.4 kB / 1.192 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003472/1.336, allocations: 100.1 kB / 1.192 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.336, allocations: 47.98 kB / 1.192 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0005254/1.336, allocations: 401.5 kB / 1.193 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.7e-07/1.336, allocations: 0 / 1.193 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002197/1.338, allocations: 0.5977 MB / 1.193 GB, free: 7.102 MB / 0.8073 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.000298/1.339, allocations: 154.9 kB / 1.193 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.008133/1.347, allocations: 4.349 MB / 1.198 GB, free: 2.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/1.347, allocations: 0 / 1.198 GB, free: 2.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00307/1.35, allocations: 1.693 MB / 1.199 GB, free: 0.7539 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008987/1.351, allocations: 135 kB / 1.2 GB, free: 0.6211 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008518/1.359, allocations: 2.794 MB / 1.202 GB, free: 13.73 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00078/1.36, allocations: 1.119 MB / 1.203 GB, free: 12.58 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002099/1.362, allocations: 0.5578 MB / 1.204 GB, free: 12.02 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/1.363, allocations: 75.39 kB / 1.204 GB, free: 11.95 MB / 0.823 GB Notification: Performance of SimCode: time 7.21e-07/1.363, allocations: 0 / 1.204 GB, free: 11.95 MB / 0.823 GB Notification: Performance of Templates: time 0.03849/1.401, allocations: 25.29 MB / 1.229 GB, free: 2.73 MB / 0.8386 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