Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.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.TransformerStepDownDY,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.TransformerStepDownDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,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.TransformerStepDownDY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.154/2.154, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.00103/0.00103, allocations: 176.9 kB / 492.3 MB, free: 0.6172 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.51/1.51, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008633/0.0008632, allocations: 97.39 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.385e-05/2.387e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2556, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9756/1.231, allocations: 199.1 MB / 1.407 GB, free: 1.121 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/1.232, allocations: 93.75 kB / 1.407 GB, free: 1.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2665/1.498, allocations: 113.5 MB / 1.518 GB, free: 14.03 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.077e-06/1.498, allocations: 0 / 1.518 GB, free: 14.03 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000155/1.498, allocations: 56 kB / 1.518 GB, free: 13.98 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.008998/1.507, allocations: 2.42 MB / 1.52 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/1.507, allocations: 12.03 kB / 1.52 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/1.52, allocations: 1.908 MB / 1.522 GB, free: 9.574 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005202/1.525, allocations: 1.725 MB / 1.524 GB, free: 7.801 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002614/1.525, allocations: 226.1 kB / 1.524 GB, free: 7.578 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001602/1.527, allocations: 299.9 kB / 1.524 GB, free: 7.285 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01541/1.542, allocations: 4.93 MB / 1.529 GB, free: 2.266 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/1.543, allocations: 7.875 kB / 1.529 GB, free: 2.258 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001352/1.544, allocations: 124 kB / 1.529 GB, free: 2.137 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004197/1.544, allocations: 205 kB / 1.529 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009507/1.554, allocations: 4.505 MB / 1.534 GB, free: 13.42 MB / 0.948 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.02906/1.583, allocations: 22.76 MB / 1.556 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/1.586, allocations: 2.024 MB / 1.558 GB, free: 2.496 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/1.588, allocations: 1.332 MB / 1.559 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/1.588, allocations: 118 kB / 1.559 GB, free: 1.004 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/1.588, allocations: 47.5 kB / 1.559 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=123): time 4.087e-06/1.588, allocations: 4 kB / 1.559 GB, free: 0.9453 MB / 0.9636 GB Notification: Performance of matching and sorting (n=153): time 0.02611/1.614, allocations: 8.892 MB / 1.568 GB, free: 8 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/1.614, allocations: 230.9 kB / 1.568 GB, free: 7.727 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/1.616, allocations: 0.9527 MB / 1.569 GB, free: 6.766 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000185/1.616, allocations: 49.7 kB / 1.569 GB, free: 6.711 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008156/1.617, allocations: 1.262 MB / 1.57 GB, free: 5.43 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005952/1.617, allocations: 0.5199 MB / 1.571 GB, free: 4.902 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/1.618, allocations: 44 kB / 1.571 GB, free: 4.859 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.00023/1.618, allocations: 435.1 kB / 1.571 GB, free: 4.426 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/1.62, allocations: 1.312 MB / 1.573 GB, free: 3.109 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/1.622, allocations: 1.978 MB / 1.575 GB, free: 0.8242 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/1.625, allocations: 1.657 MB / 1.576 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/1.625, allocations: 8 kB / 1.576 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006914/1.632, allocations: 4.105 MB / 1.58 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003365/1.635, allocations: 8.443 MB / 1.589 GB, free: 1.926 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-05/1.635, allocations: 23.95 kB / 1.589 GB, free: 1.902 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002032/1.637, allocations: 0.735 MB / 1.589 GB, free: 1.148 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003652/1.641, allocations: 0.776 MB / 1.59 GB, free: 380 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/1.653, allocations: 12.47 MB / 1.602 GB, free: 3.102 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003666/1.657, allocations: 471 kB / 1.603 GB, free: 2.641 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003186/1.658, allocations: 112 kB / 1.603 GB, free: 2.531 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.658, allocations: 7.938 kB / 1.603 GB, free: 2.523 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006698/1.664, allocations: 3.971 MB / 1.607 GB, free: 14.53 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-05/1.664, allocations: 20 kB / 1.607 GB, free: 14.51 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/1.666, allocations: 0.6804 MB / 1.607 GB, free: 13.81 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003282/1.669, allocations: 0.7762 MB / 1.608 GB, free: 13.04 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/1.681, allocations: 12.34 MB / 1.62 GB, free: 15.89 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003582/1.685, allocations: 451.1 kB / 1.621 GB, free: 15.45 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/1.685, allocations: 115.9 kB / 1.621 GB, free: 15.34 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 234 * 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.0006529/1.686, allocations: 232.9 kB / 1.621 GB, free: 15.1 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000412/1.686, allocations: 130.5 kB / 1.621 GB, free: 14.97 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006488/1.693, allocations: 3.578 MB / 1.625 GB, free: 11.33 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/1.693, allocations: 19.95 kB / 1.625 GB, free: 11.31 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/1.693, allocations: 8 kB / 1.625 GB, free: 11.3 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/1.693, allocations: 11.97 kB / 1.625 GB, free: 11.29 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/1.705, allocations: 7.254 MB / 1.632 GB, free: 3.832 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/1.705, allocations: 11.95 kB / 1.632 GB, free: 3.82 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002647/1.708, allocations: 0.5303 MB / 1.632 GB, free: 3.289 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/1.71, allocations: 0.6262 MB / 1.633 GB, free: 2.645 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002235/1.71, allocations: 55.95 kB / 1.633 GB, free: 2.59 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/1.723, allocations: 12.01 MB / 1.645 GB, free: 5.777 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.723, allocations: 8 kB / 1.645 GB, free: 5.77 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005572/1.728, allocations: 3.638 MB / 1.648 GB, free: 1.82 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.73, allocations: 0.4993 MB / 1.649 GB, free: 1.301 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/1.73, allocations: 35.98 kB / 1.649 GB, free: 1.266 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/1.732, allocations: 387.4 kB / 1.649 GB, free: 0.8867 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003931/1.733, allocations: 140.7 kB / 1.649 GB, free: 0.7461 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/1.733, allocations: 59.95 kB / 1.649 GB, free: 0.6875 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001387/1.734, allocations: 0.7567 MB / 1.65 GB, free: 15.93 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.81e-07/1.734, allocations: 0 / 1.65 GB, free: 15.93 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.005339/1.74, allocations: 1.199 MB / 1.651 GB, free: 14.73 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 101 * 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.0004584/1.74, allocations: 162.9 kB / 1.651 GB, free: 14.56 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.752, allocations: 6.741 MB / 1.658 GB, free: 7.676 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/1.752, allocations: 4 kB / 1.658 GB, free: 7.672 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003722/1.756, allocations: 2.241 MB / 1.66 GB, free: 5.355 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/1.757, allocations: 164 kB / 1.66 GB, free: 5.199 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/1.776, allocations: 5.927 MB / 1.666 GB, free: 15.13 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002885/1.779, allocations: 2.382 MB / 1.668 GB, free: 12.71 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.00442/1.784, allocations: 1.315 MB / 1.67 GB, free: 11.39 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005073/1.784, allocations: 123.3 kB / 1.67 GB, free: 11.27 MB / 1.089 GB Notification: Performance of SimCode: time 7.92e-07/1.784, allocations: 0 / 1.67 GB, free: 11.27 MB / 1.089 GB Notification: Performance of Templates: time 0.05037/1.834, allocations: 30.18 MB / 1.699 GB, free: 13.18 MB / 1.12 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches