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.TransformerStepDownDY.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 252 MB / 266.9 MB, free: 11.07 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.0011/0.0011, allocations: 183.7 kB / 326.5 MB, free: 2.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009006/0.0009004, allocations: 88.61 kB / 0.6821 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 12.81 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2986, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.849/1.148, allocations: 181.3 MB / 1.077 GB, free: 65.48 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.148, allocations: 100.5 kB / 1.077 GB, free: 65.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2367/1.385, allocations: 106.4 MB / 1.181 GB, free: 29.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.414e-06/1.385, allocations: 0 / 1.181 GB, free: 29.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001486/1.385, allocations: 58.31 kB / 1.181 GB, free: 29.79 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.009274/1.394, allocations: 2.498 MB / 1.184 GB, free: 27.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/1.394, allocations: 8.031 kB / 1.184 GB, free: 27.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/1.405, allocations: 1.915 MB / 1.185 GB, free: 25.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005/1.411, allocations: 1.731 MB / 1.187 GB, free: 24.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002491/1.411, allocations: 223.3 kB / 1.187 GB, free: 24.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001821/1.413, allocations: 298.9 kB / 1.188 GB, free: 24.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01465/1.427, allocations: 5.444 MB / 1.193 GB, free: 20.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.893e-05/1.427, allocations: 7.922 kB / 1.193 GB, free: 20.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003958/1.428, allocations: 125.5 kB / 1.193 GB, free: 20.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002883/1.428, allocations: 199.3 kB / 1.193 GB, free: 20.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01216/1.44, allocations: 5.497 MB / 1.199 GB, free: 15.44 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.02804/1.468, allocations: 22.79 MB / 1.221 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005429/1.474, allocations: 2.501 MB / 1.223 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/1.474, allocations: 118 kB / 1.223 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/1.474, allocations: 59.48 kB / 1.223 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=123): time 3.847e-06/1.474, allocations: 0 / 1.223 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of matching and sorting (n=153): time 0.03751/1.512, allocations: 11.71 MB / 1.235 GB, free: 8.062 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/1.512, allocations: 226.9 kB / 1.235 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/1.514, allocations: 0.9642 MB / 1.236 GB, free: 6.816 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005257/1.514, allocations: 53.7 kB / 1.236 GB, free: 6.758 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001048/1.515, allocations: 1.25 MB / 1.237 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007441/1.516, allocations: 0.5315 MB / 1.238 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/1.516, allocations: 44 kB / 1.238 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000247/1.516, allocations: 431.2 kB / 1.238 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004427/1.521, allocations: 1.811 MB / 1.24 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004892/1.526, allocations: 2.478 MB / 1.243 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004805/1.531, allocations: 2.141 MB / 1.245 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/1.531, allocations: 8 kB / 1.245 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.0121/1.543, allocations: 5.107 MB / 1.25 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.003868/1.547, allocations: 8.443 MB / 1.258 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.878e-05/1.547, allocations: 24 kB / 1.258 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002167/1.549, allocations: 0.7425 MB / 1.259 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003832/1.553, allocations: 0.7799 MB / 1.259 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01378/1.567, allocations: 12.76 MB / 1.272 GB, free: 364 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003861/1.57, allocations: 478.8 kB / 1.272 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003571/1.571, allocations: 112 kB / 1.272 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/1.571, allocations: 6.031 kB / 1.272 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01188/1.583, allocations: 4.966 MB / 1.277 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-05/1.583, allocations: 24 kB / 1.277 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0019/1.585, allocations: 0.6769 MB / 1.278 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004061/1.589, allocations: 0.776 MB / 1.279 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/1.602, allocations: 12.64 MB / 1.291 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00363/1.606, allocations: 455.1 kB / 1.291 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/1.606, allocations: 116 kB / 1.292 GB, free: 11.29 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.003226/1.61, allocations: 1.324 MB / 1.293 GB, free: 9.949 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005442/1.61, allocations: 134.5 kB / 1.293 GB, free: 9.816 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/1.621, allocations: 4.565 MB / 1.297 GB, free: 5.188 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.764e-05/1.621, allocations: 16 kB / 1.297 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/1.622, allocations: 11.95 kB / 1.297 GB, free: 5.16 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/1.622, allocations: 7.969 kB / 1.297 GB, free: 5.152 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01799/1.64, allocations: 8.024 MB / 1.305 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/1.64, allocations: 8.031 kB / 1.305 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002479/1.642, allocations: 0.5303 MB / 1.306 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/1.644, allocations: 0.6336 MB / 1.306 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001897/1.644, allocations: 51.95 kB / 1.307 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/1.657, allocations: 12.31 MB / 1.319 GB, free: 14.61 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-05/1.657, allocations: 15.92 kB / 1.319 GB, free: 14.59 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/1.669, allocations: 4.54 MB / 1.323 GB, free: 9.77 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001911/1.671, allocations: 0.4916 MB / 1.323 GB, free: 9.258 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002986/1.672, allocations: 35.98 kB / 1.324 GB, free: 9.223 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002454/1.674, allocations: 399.2 kB / 1.324 GB, free: 8.832 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003444/1.675, allocations: 128.7 kB / 1.324 GB, free: 8.707 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/1.675, allocations: 59.95 kB / 1.324 GB, free: 8.648 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001275/1.676, allocations: 0.7644 MB / 1.325 GB, free: 7.883 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.11e-07/1.676, allocations: 0 / 1.325 GB, free: 7.883 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004973/1.681, allocations: 1.195 MB / 1.326 GB, free: 6.688 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.0004074/1.681, allocations: 166.9 kB / 1.326 GB, free: 6.516 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01942/1.701, allocations: 8.246 MB / 1.334 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/1.701, allocations: 4 kB / 1.334 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.006279/1.707, allocations: 2.747 MB / 1.337 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/1.709, allocations: 146.4 kB / 1.337 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/1.73, allocations: 8.292 MB / 1.345 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002732/1.733, allocations: 2.389 MB / 1.347 GB, free: 328 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004393/1.737, allocations: 1.299 MB / 1.349 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005732/1.738, allocations: 127.3 kB / 1.349 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of SimCode: time 1.433e-06/1.738, allocations: 0 / 1.349 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of Templates: time 0.05177/1.79, allocations: 29.43 MB / 1.378 GB, free: 1.477 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches