Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.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.ACACTransformer,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.ACACTransformer") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,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.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.434/2.434, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001153/0.001153, allocations: 179.3 kB / 498.1 MB, free: 5.754 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.744/1.744, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.001019/0.001019, allocations: 92.28 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004739, allocations: 6.938 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3324, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2435/0.5759, allocations: 192.1 MB / 1.41 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004525/0.5764, allocations: 91.94 kB / 1.411 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.858/1.434, allocations: 49.85 MB / 1.459 GB, free: 187.8 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.623e-06/1.435, allocations: 0 / 1.459 GB, free: 187.8 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.283e-05/1.435, allocations: 27.34 kB / 1.459 GB, free: 187.8 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.001952/1.437, allocations: 0.9559 MB / 1.46 GB, free: 187 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.437, allocations: 11.66 kB / 1.46 GB, free: 187 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008418/1.445, allocations: 1.555 MB / 1.462 GB, free: 186.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/1.446, allocations: 0.5493 MB / 1.462 GB, free: 185.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/1.446, allocations: 44.84 kB / 1.462 GB, free: 185.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/1.447, allocations: 63.12 kB / 1.462 GB, free: 185.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004339/1.451, allocations: 1.837 MB / 1.464 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/1.451, allocations: 3.938 kB / 1.464 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/1.451, allocations: 27.16 kB / 1.464 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002085/1.451, allocations: 109.3 kB / 1.464 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006649/1.458, allocations: 2.476 MB / 1.467 GB, free: 183.4 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00829/1.466, allocations: 6.384 MB / 1.473 GB, free: 178 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003068/1.47, allocations: 1.37 MB / 1.474 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002386/1.472, allocations: 2.227 MB / 1.476 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/1.472, allocations: 46.56 kB / 1.476 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=69): time 2.285e-06/1.472, allocations: 0 / 1.476 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=93): time 0.02021/1.492, allocations: 6.419 MB / 1.483 GB, free: 168.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.273e-05/1.492, allocations: 203.6 kB / 1.483 GB, free: 168.2 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/1.493, allocations: 480.8 kB / 1.483 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001557/1.493, allocations: 41.7 kB / 1.483 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/1.493, allocations: 384.1 kB / 1.484 GB, free: 167.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/1.494, allocations: 320.7 kB / 1.484 GB, free: 167 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.618e-05/1.494, allocations: 24 kB / 1.484 GB, free: 166.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.494, allocations: 374.8 kB / 1.484 GB, free: 166.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002413/1.496, allocations: 1.002 MB / 1.485 GB, free: 165.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002534/1.499, allocations: 1.271 MB / 1.487 GB, free: 164.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/1.502, allocations: 1.087 MB / 1.488 GB, free: 163.1 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.502, allocations: 4 kB / 1.488 GB, free: 163.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.008215/1.51, allocations: 3.215 MB / 1.491 GB, free: 159.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007475/1.511, allocations: 3.133 MB / 1.494 GB, free: 156.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/1.511, allocations: 8 kB / 1.494 GB, free: 156.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003683/1.514, allocations: 0.9748 MB / 1.495 GB, free: 155.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/1.516, allocations: 467.2 kB / 1.495 GB, free: 155 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0071/1.524, allocations: 7.587 MB / 1.503 GB, free: 147 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/1.526, allocations: 303.5 kB / 1.503 GB, free: 146.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003007/1.526, allocations: 63.95 kB / 1.503 GB, free: 146.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/1.526, allocations: 0 / 1.503 GB, free: 146.7 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007938/1.534, allocations: 2.93 MB / 1.506 GB, free: 143.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/1.534, allocations: 11.94 kB / 1.506 GB, free: 143.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002564/1.537, allocations: 0.6827 MB / 1.507 GB, free: 143 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/1.539, allocations: 491.2 kB / 1.507 GB, free: 142.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006812/1.546, allocations: 6.848 MB / 1.514 GB, free: 135.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/1.548, allocations: 291.6 kB / 1.514 GB, free: 135 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000337/1.549, allocations: 63.95 kB / 1.514 GB, free: 135 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (123): * Single equations (assignments): 119 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0009742/1.55, allocations: 348.8 kB / 1.514 GB, free: 134.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000388/1.55, allocations: 75.14 kB / 1.515 GB, free: 134.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008358/1.558, allocations: 3.011 MB / 1.518 GB, free: 131.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/1.559, allocations: 16 kB / 1.518 GB, free: 131.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/1.559, allocations: 4 kB / 1.518 GB, free: 131.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/1.559, allocations: 7.984 kB / 1.518 GB, free: 131.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/1.571, allocations: 4.925 MB / 1.522 GB, free: 126.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-05/1.571, allocations: 16.06 kB / 1.522 GB, free: 126.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/1.572, allocations: 359.4 kB / 1.523 GB, free: 126.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003418/1.576, allocations: 0.9315 MB / 1.524 GB, free: 125.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002103/1.576, allocations: 39.92 kB / 1.524 GB, free: 125.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009195/1.585, allocations: 8.906 MB / 1.532 GB, free: 115.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/1.585, allocations: 7.938 kB / 1.532 GB, free: 115.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009523/1.595, allocations: 3.428 MB / 1.536 GB, free: 112 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000906/1.596, allocations: 316 kB / 1.536 GB, free: 111.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/1.596, allocations: 31.94 kB / 1.536 GB, free: 111.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/1.598, allocations: 287.4 kB / 1.536 GB, free: 111.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003075/1.598, allocations: 95.53 kB / 1.536 GB, free: 111.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.598, allocations: 35.97 kB / 1.536 GB, free: 111.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004848/1.599, allocations: 366.8 kB / 1.537 GB, free: 110.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/1.599, allocations: 0 / 1.537 GB, free: 110.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002411/1.601, allocations: 0.5273 MB / 1.537 GB, free: 110.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 62 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003035/1.602, allocations: 143.8 kB / 1.537 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01183/1.613, allocations: 4.687 MB / 1.542 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-05/1.613, allocations: 0 / 1.542 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003711/1.617, allocations: 1.755 MB / 1.544 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/1.618, allocations: 114.2 kB / 1.544 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009648/1.628, allocations: 3.504 MB / 1.547 GB, free: 99.93 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006657/1.629, allocations: 1.055 MB / 1.548 GB, free: 98.84 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002003/1.631, allocations: 498.2 kB / 1.549 GB, free: 98.35 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/1.631, allocations: 79.38 kB / 1.549 GB, free: 98.27 MB / 0.9167 GB Notification: Performance of SimCode: time 9.11e-07/1.631, allocations: 4 kB / 1.549 GB, free: 98.27 MB / 0.9167 GB Notification: Performance of Templates: time 0.0282/1.659, allocations: 18.77 MB / 1.567 GB, free: 79.56 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches