Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 179 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008961/0.0008959, allocations: 91.42 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005459/0.0005459, allocations: 14.25 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2996, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7893/1.089, allocations: 181.3 MB / 1.077 GB, free: 65.29 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003761/1.089, allocations: 103.3 kB / 1.077 GB, free: 65.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2291/1.319, allocations: 106.4 MB / 1.181 GB, free: 29.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.025e-06/1.319, allocations: 0 / 1.181 GB, free: 29.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001486/1.319, allocations: 60.19 kB / 1.181 GB, free: 29.59 MB / 0.698 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.008899/1.328, allocations: 2.502 MB / 1.184 GB, free: 27.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/1.328, allocations: 12.03 kB / 1.184 GB, free: 27.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/1.339, allocations: 1.911 MB / 1.185 GB, free: 25.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006661/1.346, allocations: 1.727 MB / 1.187 GB, free: 24.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/1.346, allocations: 230.3 kB / 1.187 GB, free: 24.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001869/1.348, allocations: 296.7 kB / 1.188 GB, free: 24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01806/1.366, allocations: 5.452 MB / 1.193 GB, free: 20.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001747/1.366, allocations: 0 / 1.193 GB, free: 20.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001465/1.368, allocations: 128.4 kB / 1.193 GB, free: 20.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004133/1.368, allocations: 199.1 kB / 1.193 GB, free: 19.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01426/1.382, allocations: 5.498 MB / 1.199 GB, free: 15.28 MB / 0.698 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.03234/1.415, allocations: 22.79 MB / 1.221 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005473/1.42, allocations: 2.501 MB / 1.223 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002749/1.421, allocations: 126 kB / 1.223 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/1.421, allocations: 51.5 kB / 1.224 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=123): time 3.577e-06/1.421, allocations: 0 / 1.224 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of matching and sorting (n=153): time 0.03768/1.458, allocations: 11.72 MB / 1.235 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/1.459, allocations: 222.9 kB / 1.235 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/1.46, allocations: 0.9643 MB / 1.236 GB, free: 6.66 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003845/1.461, allocations: 53.7 kB / 1.236 GB, free: 6.602 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009909/1.462, allocations: 1.258 MB / 1.237 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006801/1.463, allocations: 0.5238 MB / 1.238 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/1.463, allocations: 44 kB / 1.238 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002595/1.463, allocations: 427.2 kB / 1.238 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004331/1.467, allocations: 1.807 MB / 1.24 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004854/1.472, allocations: 2.49 MB / 1.243 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004693/1.477, allocations: 2.133 MB / 1.245 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/1.477, allocations: 4 kB / 1.245 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01226/1.489, allocations: 5.115 MB / 1.25 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.003455/1.493, allocations: 8.443 MB / 1.258 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.406e-05/1.493, allocations: 24 kB / 1.258 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/1.495, allocations: 0.7425 MB / 1.259 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003968/1.499, allocations: 0.772 MB / 1.259 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/1.514, allocations: 12.76 MB / 1.272 GB, free: 212 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00382/1.518, allocations: 474.9 kB / 1.272 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004192/1.518, allocations: 123.9 kB / 1.272 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.518, allocations: 7.938 kB / 1.272 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01164/1.53, allocations: 4.958 MB / 1.277 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.098e-05/1.53, allocations: 23.94 kB / 1.277 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/1.532, allocations: 0.6852 MB / 1.278 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003344/1.535, allocations: 0.7682 MB / 1.279 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/1.548, allocations: 12.65 MB / 1.291 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003572/1.551, allocations: 451.1 kB / 1.292 GB, free: 11.24 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004011/1.552, allocations: 123.9 kB / 1.292 GB, free: 11.12 MB / 0.7917 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 () * Number of clocked 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.003291/1.555, allocations: 1.324 MB / 1.293 GB, free: 9.781 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005386/1.556, allocations: 126.5 kB / 1.293 GB, free: 9.656 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/1.567, allocations: 4.553 MB / 1.297 GB, free: 5.039 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/1.567, allocations: 16 kB / 1.297 GB, free: 5.023 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/1.567, allocations: 11.95 kB / 1.298 GB, free: 5.012 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.373e-05/1.567, allocations: 15.97 kB / 1.298 GB, free: 4.996 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/1.586, allocations: 8.027 MB / 1.305 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/1.586, allocations: 4 kB / 1.305 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002565/1.588, allocations: 0.5349 MB / 1.306 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/1.59, allocations: 0.6376 MB / 1.307 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/1.59, allocations: 55.95 kB / 1.307 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01282/1.603, allocations: 12.31 MB / 1.319 GB, free: 14.44 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.603, allocations: 12 kB / 1.319 GB, free: 14.43 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/1.614, allocations: 4.536 MB / 1.323 GB, free: 9.609 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/1.615, allocations: 0.4955 MB / 1.324 GB, free: 9.094 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/1.616, allocations: 32 kB / 1.324 GB, free: 9.062 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/1.618, allocations: 399.2 kB / 1.324 GB, free: 8.672 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000381/1.619, allocations: 132.7 kB / 1.324 GB, free: 8.543 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/1.619, allocations: 59.95 kB / 1.324 GB, free: 8.484 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001221/1.62, allocations: 0.7644 MB / 1.325 GB, free: 7.719 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.4e-07/1.62, allocations: 0 / 1.325 GB, free: 7.719 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004944/1.625, allocations: 1.191 MB / 1.326 GB, free: 6.527 MB / 0.823 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 99 * 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.0003838/1.625, allocations: 170.9 kB / 1.326 GB, free: 6.352 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01962/1.645, allocations: 8.242 MB / 1.334 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.758e-05/1.645, allocations: 0 / 1.334 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.006221/1.651, allocations: 2.755 MB / 1.337 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/1.653, allocations: 151.3 kB / 1.337 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02159/1.674, allocations: 8.295 MB / 1.345 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002635/1.677, allocations: 2.385 MB / 1.347 GB, free: 156 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004429/1.681, allocations: 1.299 MB / 1.349 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006265/1.682, allocations: 131.3 kB / 1.349 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of SimCode: time 1.383e-06/1.682, allocations: 0 / 1.349 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of Templates: time 0.05056/1.733, allocations: 29.42 MB / 1.378 GB, free: 1.316 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches