Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.000976/0.0009762, allocations: 180.9 kB / 492.3 MB, free: 0.6289 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.472/1.472, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009041/0.000904, allocations: 91.94 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.523e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3214, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9811/1.303, allocations: 196.1 MB / 1.404 GB, free: 4.453 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/1.303, allocations: 96.55 kB / 1.404 GB, free: 4.398 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1192/1.422, allocations: 51.43 MB / 1.454 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.418e-06/1.422, allocations: 4 kB / 1.454 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.822e-05/1.422, allocations: 16 kB / 1.454 GB, free: 8.617 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.001975/1.424, allocations: 0.9778 MB / 1.455 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/1.424, allocations: 8.031 kB / 1.455 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009708/1.434, allocations: 1.62 MB / 1.457 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/1.435, allocations: 0.6241 MB / 1.457 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/1.435, allocations: 43.73 kB / 1.457 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/1.435, allocations: 62.59 kB / 1.458 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/1.438, allocations: 1.424 MB / 1.459 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/1.438, allocations: 3.953 kB / 1.459 GB, free: 4.234 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/1.438, allocations: 26.67 kB / 1.459 GB, free: 4.223 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003533/1.438, allocations: 148.3 kB / 1.459 GB, free: 4.082 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/1.441, allocations: 1.632 MB / 1.461 GB, free: 2.945 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009167/1.45, allocations: 6.673 MB / 1.467 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/1.451, allocations: 0.9272 MB / 1.468 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007571/1.452, allocations: 0.57 MB / 1.469 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001909/1.454, allocations: 1.486 MB / 1.47 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/1.454, allocations: 46.12 kB / 1.47 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.757e-06/1.454, allocations: 0 / 1.47 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of matching and sorting (n=107): time 0.01721/1.471, allocations: 5.655 MB / 1.476 GB, free: 5.852 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/1.471, allocations: 90.11 kB / 1.476 GB, free: 5.746 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007483/1.472, allocations: 0.5111 MB / 1.476 GB, free: 5.336 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/1.472, allocations: 40.64 kB / 1.476 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/1.473, allocations: 408 kB / 1.477 GB, free: 4.98 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/1.473, allocations: 376.7 kB / 1.477 GB, free: 4.656 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-05/1.473, allocations: 26.69 kB / 1.477 GB, free: 4.652 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.473, allocations: 389.6 kB / 1.477 GB, free: 4.293 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/1.474, allocations: 0.7497 MB / 1.478 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/1.476, allocations: 1.086 MB / 1.479 GB, free: 2.883 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/1.477, allocations: 0.8671 MB / 1.48 GB, free: 2.305 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.477, allocations: 4 kB / 1.48 GB, free: 2.301 MB / 0.8855 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006055/1.483, allocations: 3.019 MB / 1.483 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001422/1.484, allocations: 3.927 MB / 1.487 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/1.484, allocations: 8 kB / 1.487 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003894/1.488, allocations: 1.18 MB / 1.488 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/1.49, allocations: 458.2 kB / 1.488 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/1.501, allocations: 8.992 MB / 1.497 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/1.504, allocations: 311.5 kB / 1.498 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/1.504, allocations: 67.97 kB / 1.498 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/1.504, allocations: 0 / 1.498 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005798/1.51, allocations: 2.734 MB / 1.5 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/1.51, allocations: 16.19 kB / 1.5 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003189/1.513, allocations: 0.9563 MB / 1.501 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/1.515, allocations: 471.2 kB / 1.502 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/1.528, allocations: 10.07 MB / 1.511 GB, free: 2.906 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/1.53, allocations: 307.5 kB / 1.512 GB, free: 2.605 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003727/1.531, allocations: 67.97 kB / 1.512 GB, free: 2.539 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.0006053/1.531, allocations: 186.8 kB / 1.512 GB, free: 2.352 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/1.532, allocations: 86.97 kB / 1.512 GB, free: 2.266 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00691/1.539, allocations: 2.928 MB / 1.515 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/1.539, allocations: 12 kB / 1.515 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/1.539, allocations: 8 kB / 1.515 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/1.539, allocations: 11.97 kB / 1.515 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008944/1.548, allocations: 4.678 MB / 1.52 GB, free: 10.47 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/1.548, allocations: 8 kB / 1.52 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/1.549, allocations: 360.1 kB / 1.52 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003782/1.553, allocations: 1.104 MB / 1.521 GB, free: 8.992 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/1.553, allocations: 31.97 kB / 1.521 GB, free: 8.961 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/1.567, allocations: 10.48 MB / 1.531 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.567, allocations: 4 kB / 1.531 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006493/1.573, allocations: 3.113 MB / 1.534 GB, free: 10.57 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007894/1.574, allocations: 347.8 kB / 1.535 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/1.574, allocations: 20 kB / 1.535 GB, free: 10.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/1.577, allocations: 319.4 kB / 1.535 GB, free: 9.883 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/1.577, allocations: 104.1 kB / 1.535 GB, free: 9.781 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/1.577, allocations: 47.97 kB / 1.535 GB, free: 9.734 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006396/1.578, allocations: 405.5 kB / 1.536 GB, free: 9.34 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.4e-07/1.578, allocations: 0 / 1.536 GB, free: 9.34 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002629/1.58, allocations: 0.6015 MB / 1.536 GB, free: 8.738 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.0003402/1.581, allocations: 151 kB / 1.536 GB, free: 8.582 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008633/1.589, allocations: 4.362 MB / 1.54 GB, free: 4.129 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/1.589, allocations: 0 / 1.54 GB, free: 4.129 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003299/1.593, allocations: 1.693 MB / 1.542 GB, free: 2.387 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/1.594, allocations: 137.3 kB / 1.542 GB, free: 2.254 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00916/1.603, allocations: 2.787 MB / 1.545 GB, free: 15.36 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/1.604, allocations: 1.119 MB / 1.546 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002409/1.607, allocations: 0.5655 MB / 1.547 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/1.607, allocations: 75.39 kB / 1.547 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of SimCode: time 9.51e-07/1.607, allocations: 0 / 1.547 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of Templates: time 0.04205/1.649, allocations: 25.29 MB / 1.571 GB, free: 4.398 MB / 0.9792 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches