Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.187/2.187, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001051/0.001051, allocations: 172.9 kB / 487.4 MB, free: 5.062 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.497/1.497, allocations: 221.5 MB / 0.7824 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009174/0.0009178, allocations: 95.72 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.534e-05/1.555e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2988, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.359, allocations: 198.8 MB / 1.4 GB, free: 9.527 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/1.359, allocations: 98.3 kB / 1.4 GB, free: 9.473 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2711/1.631, allocations: 112.1 MB / 1.51 GB, free: 7.98 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.573e-06/1.631, allocations: 0 / 1.51 GB, free: 7.98 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001839/1.631, allocations: 55.98 kB / 1.51 GB, free: 7.926 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: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.009909/1.641, allocations: 2.357 MB / 1.512 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/1.641, allocations: 12.02 kB / 1.512 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/1.653, allocations: 1.904 MB / 1.514 GB, free: 3.59 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005419/1.659, allocations: 1.674 MB / 1.515 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/1.659, allocations: 100 kB / 1.516 GB, free: 1.773 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001861/1.661, allocations: 167.9 kB / 1.516 GB, free: 1.609 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01117/1.672, allocations: 3.94 MB / 1.52 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/1.687, allocations: 4.381 MB / 1.524 GB, free: 9.191 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001659/1.687, allocations: 7.891 kB / 1.524 GB, free: 9.184 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/1.689, allocations: 4 kB / 1.524 GB, free: 9.18 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004456/1.689, allocations: 192.9 kB / 1.524 GB, free: 8.988 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.03789/1.727, allocations: 22.12 MB / 1.546 GB, free: 0.832 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003604/1.731, allocations: 1.98 MB / 1.548 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/1.733, allocations: 1.142 MB / 1.549 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002649/1.733, allocations: 114.4 kB / 1.549 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.375e-05/1.733, allocations: 59.84 kB / 1.549 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=116): time 4.398e-06/1.733, allocations: 0 / 1.549 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of matching and sorting (n=146): time 0.01753/1.751, allocations: 7.022 MB / 1.556 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/1.751, allocations: 226.9 kB / 1.556 GB, free: 6.039 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/1.753, allocations: 0.89 MB / 1.557 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003357/1.753, allocations: 29.69 kB / 1.557 GB, free: 5.105 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009798/1.754, allocations: 1.235 MB / 1.558 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008029/1.755, allocations: 492.8 kB / 1.559 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002972/1.755, allocations: 4.031 kB / 1.559 GB, free: 3.359 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003471/1.756, allocations: 431 kB / 1.559 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/1.758, allocations: 1.234 MB / 1.56 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/1.761, allocations: 1.906 MB / 1.562 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003998/1.765, allocations: 1.852 MB / 1.564 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.899e-05/1.765, allocations: 8 kB / 1.564 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.008939/1.774, allocations: 4.116 MB / 1.568 GB, free: 9.469 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.004319/1.778, allocations: 8.622 MB / 1.576 GB, free: 180 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.424e-05/1.778, allocations: 20 kB / 1.576 GB, free: 160 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002403/1.781, allocations: 0.7505 MB / 1.577 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003803/1.784, allocations: 0.7643 MB / 1.578 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/1.8, allocations: 12.26 MB / 1.59 GB, free: 1.672 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/1.804, allocations: 435 kB / 1.59 GB, free: 1.246 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008998/1.805, allocations: 119.9 kB / 1.59 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.805, allocations: 11.89 kB / 1.59 GB, free: 1.117 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009952/1.815, allocations: 3.851 MB / 1.594 GB, free: 13.25 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/1.815, allocations: 27.94 kB / 1.594 GB, free: 13.22 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/1.817, allocations: 0.657 MB / 1.595 GB, free: 12.54 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003657/1.821, allocations: 0.7604 MB / 1.595 GB, free: 11.78 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/1.834, allocations: 11.75 MB / 1.607 GB, free: 15.34 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00369/1.838, allocations: 403.2 kB / 1.607 GB, free: 14.95 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007222/1.838, allocations: 123.9 kB / 1.607 GB, free: 14.82 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 226 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001111/1.839, allocations: 164.3 kB / 1.608 GB, free: 14.66 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006943/1.84, allocations: 122.5 kB / 1.608 GB, free: 14.54 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008456/1.849, allocations: 3.419 MB / 1.611 GB, free: 11.06 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.831e-05/1.849, allocations: 15.98 kB / 1.611 GB, free: 11.05 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-05/1.849, allocations: 12 kB / 1.611 GB, free: 11.04 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/1.849, allocations: 7.969 kB / 1.611 GB, free: 11.03 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/1.864, allocations: 6.699 MB / 1.618 GB, free: 4.125 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/1.864, allocations: 4 kB / 1.618 GB, free: 4.121 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002599/1.866, allocations: 0.5113 MB / 1.618 GB, free: 3.609 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/1.868, allocations: 0.6298 MB / 1.619 GB, free: 2.961 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/1.868, allocations: 31.95 kB / 1.619 GB, free: 2.93 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01315/1.882, allocations: 11.56 MB / 1.63 GB, free: 6.672 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-05/1.882, allocations: 15.92 kB / 1.63 GB, free: 6.656 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00698/1.889, allocations: 3.595 MB / 1.634 GB, free: 2.781 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/1.89, allocations: 487.4 kB / 1.634 GB, free: 2.285 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004299/1.89, allocations: 19.89 kB / 1.634 GB, free: 2.266 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002834/1.893, allocations: 379.3 kB / 1.634 GB, free: 1.895 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003716/1.894, allocations: 121 kB / 1.635 GB, free: 1.777 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/1.894, allocations: 59.95 kB / 1.635 GB, free: 1.719 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001362/1.895, allocations: 0.6748 MB / 1.635 GB, free: 1.051 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.895, allocations: 0 / 1.635 GB, free: 1.051 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.006401/1.902, allocations: 1.047 MB / 1.636 GB, free: 4 kB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005114/1.902, allocations: 135.3 kB / 1.636 GB, free: 15.86 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01377/1.916, allocations: 6.301 MB / 1.643 GB, free: 9.449 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.381e-05/1.916, allocations: 4 kB / 1.643 GB, free: 9.445 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.004391/1.92, allocations: 2.152 MB / 1.645 GB, free: 7.234 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/1.922, allocations: 122.2 kB / 1.645 GB, free: 7.117 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/1.942, allocations: 5.736 MB / 1.65 GB, free: 1.254 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003563/1.945, allocations: 2.327 MB / 1.653 GB, free: 14.89 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.00493/1.95, allocations: 1.265 MB / 1.654 GB, free: 13.62 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006615/1.951, allocations: 123.3 kB / 1.654 GB, free: 13.5 MB / 1.073 GB Notification: Performance of SimCode: time 1.302e-06/1.951, allocations: 0 / 1.654 GB, free: 13.5 MB / 1.073 GB Notification: Performance of Templates: time 0.0554/2.006, allocations: 28.96 MB / 1.682 GB, free: 0.6016 MB / 1.089 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches