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.41/2.41, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001388/0.001388, allocations: 176.9 kB / 487.4 MB, free: 5.062 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.416/1.416, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008875/0.0008877, allocations: 99.91 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.664e-05/1.665e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2202, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8326/1.053, allocations: 198.4 MB / 1.4 GB, free: 9.828 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/1.053, allocations: 96.41 kB / 1.4 GB, free: 9.777 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2637/1.317, allocations: 113.1 MB / 1.51 GB, free: 7.309 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.282e-06/1.317, allocations: 0 / 1.51 GB, free: 7.309 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.937e-05/1.317, allocations: 56 kB / 1.51 GB, free: 7.254 MB / 0.9167 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.006477/1.324, allocations: 2.424 MB / 1.513 GB, free: 4.773 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/1.324, allocations: 12.02 kB / 1.513 GB, free: 4.762 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/1.335, allocations: 1.912 MB / 1.514 GB, free: 2.844 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004333/1.34, allocations: 1.721 MB / 1.516 GB, free: 1.078 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/1.34, allocations: 100 kB / 1.516 GB, free: 0.9805 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009026/1.341, allocations: 172 kB / 1.516 GB, free: 0.8125 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009843/1.351, allocations: 4.061 MB / 1.52 GB, free: 12.74 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01183/1.363, allocations: 4.499 MB / 1.525 GB, free: 8.16 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.215e-05/1.363, allocations: 3.938 kB / 1.525 GB, free: 8.156 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003575/1.363, allocations: 3.953 kB / 1.525 GB, free: 8.152 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003583/1.363, allocations: 197 kB / 1.525 GB, free: 7.957 MB / 0.9323 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.02949/1.393, allocations: 22.13 MB / 1.547 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/1.396, allocations: 2.001 MB / 1.549 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/1.398, allocations: 1.176 MB / 1.55 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/1.398, allocations: 118.4 kB / 1.55 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/1.398, allocations: 63.77 kB / 1.55 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=123): time 3.917e-06/1.398, allocations: 0 / 1.55 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of matching and sorting (n=153): time 0.01561/1.414, allocations: 7.228 MB / 1.557 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/1.414, allocations: 230.8 kB / 1.557 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/1.415, allocations: 0.9174 MB / 1.558 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002356/1.416, allocations: 25.7 kB / 1.558 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009703/1.417, allocations: 1.246 MB / 1.559 GB, free: 2.547 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007021/1.417, allocations: 0.5159 MB / 1.56 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/1.417, allocations: 0 / 1.56 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002506/1.418, allocations: 427.2 kB / 1.56 GB, free: 1.598 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/1.42, allocations: 1.285 MB / 1.561 GB, free: 316 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002431/1.422, allocations: 1.954 MB / 1.563 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003679/1.426, allocations: 1.91 MB / 1.565 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-05/1.426, allocations: 7.938 kB / 1.565 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008096/1.434, allocations: 4.234 MB / 1.569 GB, free: 7.875 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.003403/1.437, allocations: 8.442 MB / 1.578 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.814e-05/1.437, allocations: 20 kB / 1.578 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002208/1.44, allocations: 0.7427 MB / 1.578 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003749/1.443, allocations: 0.776 MB / 1.579 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/1.458, allocations: 12.23 MB / 1.591 GB, free: 296 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003501/1.461, allocations: 427 kB / 1.591 GB, free: 15.87 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005341/1.462, allocations: 115.9 kB / 1.592 GB, free: 15.76 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/1.462, allocations: 4 kB / 1.592 GB, free: 15.75 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008158/1.47, allocations: 3.952 MB / 1.595 GB, free: 11.78 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.215e-05/1.47, allocations: 24.03 kB / 1.595 GB, free: 11.76 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001606/1.472, allocations: 0.6451 MB / 1.596 GB, free: 11.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003518/1.475, allocations: 0.7721 MB / 1.597 GB, free: 10.32 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/1.487, allocations: 11.73 MB / 1.608 GB, free: 13.9 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003327/1.491, allocations: 411.1 kB / 1.609 GB, free: 13.5 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004784/1.491, allocations: 112 kB / 1.609 GB, free: 13.39 MB / 1.026 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.0007615/1.492, allocations: 176.2 kB / 1.609 GB, free: 13.21 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004972/1.492, allocations: 122.6 kB / 1.609 GB, free: 13.09 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007538/1.5, allocations: 3.644 MB / 1.613 GB, free: 9.383 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/1.5, allocations: 23.98 kB / 1.613 GB, free: 9.359 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-05/1.5, allocations: 12 kB / 1.613 GB, free: 9.348 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.209e-05/1.5, allocations: 7.969 kB / 1.613 GB, free: 9.34 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/1.514, allocations: 6.709 MB / 1.619 GB, free: 2.449 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/1.514, allocations: 7.984 kB / 1.619 GB, free: 2.441 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00261/1.516, allocations: 0.5225 MB / 1.62 GB, free: 1.918 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/1.518, allocations: 0.6106 MB / 1.62 GB, free: 1.289 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/1.518, allocations: 27.95 kB / 1.62 GB, free: 1.262 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01199/1.53, allocations: 11.53 MB / 1.632 GB, free: 5.043 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/1.53, allocations: 8 kB / 1.632 GB, free: 5.035 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006574/1.537, allocations: 3.638 MB / 1.635 GB, free: 1.113 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/1.538, allocations: 0.4916 MB / 1.636 GB, free: 0.6016 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003406/1.538, allocations: 15.94 kB / 1.636 GB, free: 0.5859 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002684/1.541, allocations: 387.2 kB / 1.636 GB, free: 212 kB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003219/1.541, allocations: 129 kB / 1.636 GB, free: 84 kB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.542, allocations: 55.95 kB / 1.636 GB, free: 28 kB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001318/1.543, allocations: 0.7061 MB / 1.637 GB, free: 15.32 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.6e-07/1.543, allocations: 0 / 1.637 GB, free: 15.32 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.005011/1.548, allocations: 1.078 MB / 1.638 GB, free: 14.24 MB / 1.057 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 () * 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.0003955/1.548, allocations: 135 kB / 1.638 GB, free: 14.1 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01175/1.56, allocations: 6.466 MB / 1.644 GB, free: 7.527 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.56, allocations: 0 / 1.644 GB, free: 7.527 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003668/1.564, allocations: 2.164 MB / 1.647 GB, free: 5.301 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/1.565, allocations: 134.3 kB / 1.647 GB, free: 5.172 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/1.585, allocations: 5.841 MB / 1.652 GB, free: 15.21 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003603/1.588, allocations: 2.382 MB / 1.655 GB, free: 12.79 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.004883/1.593, allocations: 1.327 MB / 1.656 GB, free: 11.46 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006087/1.594, allocations: 127.3 kB / 1.656 GB, free: 11.33 MB / 1.073 GB Notification: Performance of SimCode: time 2.274e-06/1.594, allocations: 0 / 1.656 GB, free: 11.33 MB / 1.073 GB Notification: Performance of Templates: time 0.04945/1.643, allocations: 29.32 MB / 1.685 GB, free: 14.11 MB / 1.104 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