Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.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.TransformerStepUpDY,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.TransformerStepUpDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY,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.TransformerStepUpDY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.368/2.368, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.000965/0.0009651, allocations: 184.2 kB / 492.3 MB, free: 0.6094 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.336/1.336, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.000843/0.0008428, allocations: 95.94 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.834e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2235, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.943/1.167, allocations: 199.1 MB / 1.407 GB, free: 1.148 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/1.167, allocations: 94.88 kB / 1.407 GB, free: 1.098 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2806/1.448, allocations: 113.5 MB / 1.518 GB, free: 14.01 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.556e-06/1.448, allocations: 0 / 1.518 GB, free: 14.01 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001205/1.448, allocations: 56 kB / 1.518 GB, free: 13.96 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.008472/1.456, allocations: 2.424 MB / 1.52 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/1.456, allocations: 8.031 kB / 1.52 GB, free: 11.47 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/1.468, allocations: 1.908 MB / 1.522 GB, free: 9.555 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004457/1.473, allocations: 1.721 MB / 1.524 GB, free: 7.785 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002706/1.473, allocations: 230.1 kB / 1.524 GB, free: 7.559 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001586/1.475, allocations: 292 kB / 1.524 GB, free: 7.273 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/1.488, allocations: 4.933 MB / 1.529 GB, free: 2.254 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.266e-05/1.488, allocations: 3.938 kB / 1.529 GB, free: 2.25 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004164/1.488, allocations: 132 kB / 1.529 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003493/1.488, allocations: 197 kB / 1.529 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009103/1.498, allocations: 4.501 MB / 1.534 GB, free: 13.41 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.03451/1.532, allocations: 22.77 MB / 1.556 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/1.535, allocations: 2.021 MB / 1.558 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002376/1.538, allocations: 1.34 MB / 1.559 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002426/1.538, allocations: 122 kB / 1.559 GB, free: 0.9844 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/1.538, allocations: 47.5 kB / 1.559 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=123): time 3.707e-06/1.538, allocations: 4 kB / 1.559 GB, free: 0.9258 MB / 0.9636 GB Notification: Performance of matching and sorting (n=153): time 0.02907/1.567, allocations: 8.888 MB / 1.568 GB, free: 7.984 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/1.567, allocations: 227 kB / 1.568 GB, free: 7.715 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/1.569, allocations: 0.9604 MB / 1.569 GB, free: 6.746 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003177/1.57, allocations: 53.64 kB / 1.569 GB, free: 6.688 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008966/1.571, allocations: 1.258 MB / 1.571 GB, free: 5.41 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007274/1.571, allocations: 0.5238 MB / 1.571 GB, free: 4.879 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/1.572, allocations: 44 kB / 1.571 GB, free: 4.836 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002861/1.572, allocations: 431.1 kB / 1.571 GB, free: 4.406 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/1.574, allocations: 1.316 MB / 1.573 GB, free: 3.086 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002831/1.577, allocations: 1.982 MB / 1.575 GB, free: 0.7969 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/1.58, allocations: 1.653 MB / 1.576 GB, free: 15.14 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-05/1.58, allocations: 8 kB / 1.576 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008021/1.588, allocations: 4.101 MB / 1.58 GB, free: 11 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.004847/1.593, allocations: 8.447 MB / 1.589 GB, free: 1.898 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.81e-05/1.593, allocations: 23.95 kB / 1.589 GB, free: 1.875 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002821/1.596, allocations: 0.7348 MB / 1.589 GB, free: 1.125 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004231/1.6, allocations: 0.776 MB / 1.59 GB, free: 356 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0148/1.615, allocations: 12.47 MB / 1.602 GB, free: 3.078 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003662/1.618, allocations: 475 kB / 1.603 GB, free: 2.613 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005634/1.619, allocations: 111.9 kB / 1.603 GB, free: 2.504 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/1.619, allocations: 4 kB / 1.603 GB, free: 2.5 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007717/1.627, allocations: 3.968 MB / 1.607 GB, free: 14.51 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.981e-05/1.627, allocations: 24 kB / 1.607 GB, free: 14.48 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001775/1.629, allocations: 0.688 MB / 1.607 GB, free: 13.78 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003548/1.632, allocations: 0.7721 MB / 1.608 GB, free: 13.01 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/1.644, allocations: 12.33 MB / 1.62 GB, free: 15.87 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/1.648, allocations: 455.1 kB / 1.621 GB, free: 15.43 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005906/1.649, allocations: 112 kB / 1.621 GB, free: 15.32 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.0008957/1.65, allocations: 240.2 kB / 1.621 GB, free: 15.07 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005893/1.65, allocations: 134.5 kB / 1.621 GB, free: 14.94 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006854/1.657, allocations: 3.582 MB / 1.625 GB, free: 11.3 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/1.657, allocations: 15.95 kB / 1.625 GB, free: 11.29 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.197e-05/1.657, allocations: 15.98 kB / 1.625 GB, free: 11.27 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/1.657, allocations: 3.984 kB / 1.625 GB, free: 11.27 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/1.67, allocations: 7.254 MB / 1.632 GB, free: 3.812 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/1.67, allocations: 7.953 kB / 1.632 GB, free: 3.805 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002575/1.673, allocations: 0.5343 MB / 1.632 GB, free: 3.27 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/1.675, allocations: 0.6377 MB / 1.633 GB, free: 2.613 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/1.675, allocations: 47.95 kB / 1.633 GB, free: 2.566 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01231/1.687, allocations: 12 MB / 1.645 GB, free: 5.762 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/1.687, allocations: 8 kB / 1.645 GB, free: 5.754 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005954/1.693, allocations: 3.642 MB / 1.648 GB, free: 1.797 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/1.694, allocations: 0.5031 MB / 1.649 GB, free: 1.273 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003411/1.695, allocations: 28 kB / 1.649 GB, free: 1.246 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002743/1.698, allocations: 403.3 kB / 1.649 GB, free: 0.8516 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/1.698, allocations: 132.7 kB / 1.649 GB, free: 0.7188 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/1.698, allocations: 59.95 kB / 1.649 GB, free: 0.6602 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001237/1.699, allocations: 0.7529 MB / 1.65 GB, free: 15.91 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.453e-06/1.699, allocations: 0 / 1.65 GB, free: 15.91 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.00495/1.704, allocations: 1.203 MB / 1.651 GB, free: 14.7 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.0005191/1.705, allocations: 169 kB / 1.651 GB, free: 14.53 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01239/1.717, allocations: 6.734 MB / 1.658 GB, free: 7.652 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/1.717, allocations: 4 kB / 1.658 GB, free: 7.648 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003703/1.721, allocations: 2.244 MB / 1.66 GB, free: 5.328 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/1.722, allocations: 146.8 kB / 1.66 GB, free: 5.191 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/1.74, allocations: 5.935 MB / 1.666 GB, free: 15.11 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003177/1.744, allocations: 2.382 MB / 1.668 GB, free: 12.7 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.004773/1.748, allocations: 1.327 MB / 1.67 GB, free: 11.36 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006665/1.749, allocations: 119.3 kB / 1.67 GB, free: 11.25 MB / 1.089 GB Notification: Performance of SimCode: time 1.062e-06/1.749, allocations: 0 / 1.67 GB, free: 11.25 MB / 1.089 GB Notification: Performance of Templates: time 0.0543/1.803, allocations: 30.17 MB / 1.699 GB, free: 13.16 MB / 1.12 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches