Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.63/2.63, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001164/0.001164, allocations: 176 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.001032/0.001032, allocations: 95.88 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.683e-05/2.702e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2656, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.894/1.16, allocations: 199.9 MB / 1.414 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/1.16, allocations: 96.62 kB / 1.414 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2797/1.44, allocations: 113.5 MB / 1.525 GB, free: 8.207 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.214e-06/1.44, allocations: 0 / 1.525 GB, free: 8.207 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001542/1.44, allocations: 56 kB / 1.525 GB, free: 8.152 MB / 0.9792 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.008817/1.449, allocations: 2.424 MB / 1.527 GB, free: 5.672 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/1.449, allocations: 8.031 kB / 1.527 GB, free: 5.664 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/1.461, allocations: 1.904 MB / 1.529 GB, free: 3.754 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004529/1.466, allocations: 1.725 MB / 1.531 GB, free: 1.984 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002357/1.466, allocations: 226.1 kB / 1.531 GB, free: 1.762 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/1.467, allocations: 296 kB / 1.531 GB, free: 1.473 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01613/1.484, allocations: 4.93 MB / 1.536 GB, free: 12.45 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001732/1.484, allocations: 0 / 1.536 GB, free: 12.45 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001475/1.485, allocations: 139.9 kB / 1.536 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004953/1.486, allocations: 197 kB / 1.536 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/1.498, allocations: 4.504 MB / 1.541 GB, free: 7.605 MB / 0.9948 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.03613/1.534, allocations: 22.77 MB / 1.563 GB, free: 14.82 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003377/1.537, allocations: 2.026 MB / 1.565 GB, free: 12.68 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002475/1.54, allocations: 1.332 MB / 1.566 GB, free: 11.32 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/1.54, allocations: 118 kB / 1.566 GB, free: 11.18 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.837e-05/1.54, allocations: 59.48 kB / 1.567 GB, free: 11.12 MB / 1.026 GB Notification: Performance of pre-optimization done (n=123): time 4.148e-06/1.54, allocations: 0 / 1.567 GB, free: 11.12 MB / 1.026 GB Notification: Performance of matching and sorting (n=153): time 0.02951/1.57, allocations: 8.888 MB / 1.575 GB, free: 2.18 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/1.57, allocations: 226.9 kB / 1.575 GB, free: 1.91 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/1.571, allocations: 0.9527 MB / 1.576 GB, free: 0.9453 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0003117/1.572, allocations: 49.7 kB / 1.576 GB, free: 0.8906 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008149/1.573, allocations: 1.262 MB / 1.578 GB, free: 15.61 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005686/1.573, allocations: 0.5316 MB / 1.578 GB, free: 15.07 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/1.573, allocations: 47.94 kB / 1.578 GB, free: 15.02 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000227/1.574, allocations: 430.9 kB / 1.579 GB, free: 14.59 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/1.576, allocations: 1.308 MB / 1.58 GB, free: 13.28 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002544/1.578, allocations: 1.982 MB / 1.582 GB, free: 11 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/1.581, allocations: 1.657 MB / 1.583 GB, free: 9.344 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/1.581, allocations: 8 kB / 1.583 GB, free: 9.336 MB / 1.042 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006968/1.588, allocations: 4.105 MB / 1.587 GB, free: 5.203 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0029/1.591, allocations: 8.447 MB / 1.596 GB, free: 12.09 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/1.591, allocations: 20 kB / 1.596 GB, free: 12.07 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/1.593, allocations: 0.7348 MB / 1.596 GB, free: 11.32 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003459/1.596, allocations: 0.776 MB / 1.597 GB, free: 10.54 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/1.609, allocations: 12.47 MB / 1.609 GB, free: 13.27 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003573/1.613, allocations: 474.9 kB / 1.61 GB, free: 12.81 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005611/1.613, allocations: 119.9 kB / 1.61 GB, free: 12.69 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/1.613, allocations: 7.938 kB / 1.61 GB, free: 12.68 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007721/1.621, allocations: 3.964 MB / 1.614 GB, free: 8.699 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.25e-05/1.621, allocations: 24 kB / 1.614 GB, free: 8.676 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/1.623, allocations: 0.6843 MB / 1.615 GB, free: 7.973 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003443/1.626, allocations: 0.7643 MB / 1.615 GB, free: 7.207 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/1.639, allocations: 12.34 MB / 1.627 GB, free: 10.06 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003293/1.642, allocations: 451.2 kB / 1.628 GB, free: 9.621 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005519/1.643, allocations: 115.9 kB / 1.628 GB, free: 9.508 MB / 1.089 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.0008934/1.644, allocations: 240.2 kB / 1.628 GB, free: 9.266 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005495/1.644, allocations: 126.5 kB / 1.628 GB, free: 9.141 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00678/1.651, allocations: 3.578 MB / 1.632 GB, free: 5.5 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/1.651, allocations: 12 kB / 1.632 GB, free: 5.488 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/1.651, allocations: 23.88 kB / 1.632 GB, free: 5.465 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/1.651, allocations: 7.969 kB / 1.632 GB, free: 5.457 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/1.664, allocations: 7.261 MB / 1.639 GB, free: 14 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/1.664, allocations: 4 kB / 1.639 GB, free: 13.99 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002548/1.667, allocations: 0.5348 MB / 1.639 GB, free: 13.46 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00177/1.669, allocations: 0.6255 MB / 1.64 GB, free: 12.81 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/1.669, allocations: 51.95 kB / 1.64 GB, free: 12.76 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/1.681, allocations: 12.01 MB / 1.652 GB, free: 15.94 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/1.681, allocations: 15.89 kB / 1.652 GB, free: 15.93 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005925/1.687, allocations: 3.634 MB / 1.655 GB, free: 11.98 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.688, allocations: 0.4955 MB / 1.656 GB, free: 11.46 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003333/1.688, allocations: 35.98 kB / 1.656 GB, free: 11.43 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/1.691, allocations: 403.3 kB / 1.656 GB, free: 11.03 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003189/1.691, allocations: 140.5 kB / 1.656 GB, free: 10.89 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/1.691, allocations: 63.95 kB / 1.656 GB, free: 10.83 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.001222/1.693, allocations: 0.749 MB / 1.657 GB, free: 10.08 MB / 1.12 GB Notification: Performance of sort global known variables: time 2.01e-07/1.693, allocations: 0 / 1.657 GB, free: 10.08 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.004442/1.697, allocations: 1.199 MB / 1.658 GB, free: 8.883 MB / 1.12 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.0003628/1.697, allocations: 158.9 kB / 1.658 GB, free: 8.719 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01137/1.709, allocations: 6.733 MB / 1.665 GB, free: 1.844 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.709, allocations: 0.9375 kB / 1.665 GB, free: 1.844 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.003559/1.712, allocations: 2.243 MB / 1.667 GB, free: 15.52 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/1.713, allocations: 153.1 kB / 1.667 GB, free: 15.38 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/1.731, allocations: 5.931 MB / 1.673 GB, free: 9.309 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003233/1.734, allocations: 2.378 MB / 1.676 GB, free: 6.895 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.004653/1.739, allocations: 1.327 MB / 1.677 GB, free: 5.562 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006286/1.739, allocations: 123.3 kB / 1.677 GB, free: 5.441 MB / 1.135 GB Notification: Performance of SimCode: time 1.032e-06/1.739, allocations: 0 / 1.677 GB, free: 5.441 MB / 1.135 GB Notification: Performance of Templates: time 0.6532/2.393, allocations: 30.15 MB / 1.706 GB, free: 329.5 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches