Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.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.TransformerStepUpYD,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.TransformerStepUpYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,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.TransformerStepUpYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.256/2.256, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001304/0.001305, allocations: 176.8 kB / 487.4 MB, free: 5.055 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.564/1.564, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 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.001547/0.001547, allocations: 91.86 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.953e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.25, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.79/1.04, allocations: 198.4 MB / 1.4 GB, free: 9.887 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.04, allocations: 97.88 kB / 1.4 GB, free: 9.836 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2488/1.289, allocations: 109.3 MB / 1.506 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.413e-06/1.289, allocations: 0 / 1.506 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.853e-05/1.289, allocations: 56 kB / 1.507 GB, free: 11.13 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.005076/1.294, allocations: 2.334 MB / 1.509 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/1.294, allocations: 8.031 kB / 1.509 GB, free: 8.73 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/1.306, allocations: 1.904 MB / 1.511 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003781/1.31, allocations: 1.658 MB / 1.512 GB, free: 5.117 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.953e-05/1.31, allocations: 96 kB / 1.512 GB, free: 5.023 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004928/1.31, allocations: 164 kB / 1.513 GB, free: 4.863 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007296/1.318, allocations: 3.943 MB / 1.516 GB, free: 0.9141 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007459/1.325, allocations: 4.312 MB / 1.521 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.407e-05/1.325, allocations: 4 kB / 1.521 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003049/1.326, allocations: 7.891 kB / 1.521 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003538/1.326, allocations: 188.8 kB / 1.521 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02549/1.352, allocations: 21.83 MB / 1.542 GB, free: 4.473 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/1.355, allocations: 2.478 MB / 1.545 GB, free: 1.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/1.357, allocations: 1.325 MB / 1.546 GB, free: 488 kB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/1.357, allocations: 126.3 kB / 1.546 GB, free: 344 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/1.357, allocations: 59.83 kB / 1.546 GB, free: 276 kB / 0.948 GB Notification: Performance of pre-optimization done (n=132): time 3.607e-06/1.357, allocations: 0 / 1.546 GB, free: 276 kB / 0.948 GB Notification: Performance of matching and sorting (n=174): time 0.01425/1.371, allocations: 7.716 MB / 1.554 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001612/1.371, allocations: 230.9 kB / 1.554 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/1.373, allocations: 0.8039 MB / 1.555 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/1.373, allocations: 25.7 kB / 1.555 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007697/1.373, allocations: 1.154 MB / 1.556 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005452/1.374, allocations: 0.5736 MB / 1.556 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/1.374, allocations: 0 / 1.556 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002176/1.374, allocations: 423.2 kB / 1.557 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001836/1.376, allocations: 1.332 MB / 1.558 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/1.378, allocations: 1.892 MB / 1.56 GB, free: 1.746 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003512/1.382, allocations: 1.973 MB / 1.562 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/1.382, allocations: 8 kB / 1.562 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008528/1.391, allocations: 4.495 MB / 1.566 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002783/1.393, allocations: 6.874 MB / 1.573 GB, free: 3.848 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.826e-05/1.393, allocations: 20 kB / 1.573 GB, free: 3.828 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00255/1.396, allocations: 0.9966 MB / 1.574 GB, free: 2.824 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003405/1.399, allocations: 0.7331 MB / 1.575 GB, free: 2.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/1.414, allocations: 10.05 MB / 1.584 GB, free: 7.805 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003744/1.418, allocations: 423 kB / 1.585 GB, free: 7.391 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009645/1.419, allocations: 108 kB / 1.585 GB, free: 7.285 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/1.419, allocations: 4 kB / 1.585 GB, free: 7.281 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01135/1.43, allocations: 4.241 MB / 1.589 GB, free: 3.031 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.942e-05/1.43, allocations: 23.94 kB / 1.589 GB, free: 3.008 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002167/1.433, allocations: 0.8369 MB / 1.59 GB, free: 2.164 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003603/1.436, allocations: 0.737 MB / 1.591 GB, free: 1.426 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/1.449, allocations: 9.622 MB / 1.6 GB, free: 7.562 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/1.452, allocations: 411.1 kB / 1.6 GB, free: 7.16 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005321/1.453, allocations: 104 kB / 1.6 GB, free: 7.059 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 210 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008212/1.454, allocations: 160.4 kB / 1.601 GB, free: 6.895 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000549/1.454, allocations: 118.6 kB / 1.601 GB, free: 6.777 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007878/1.462, allocations: 4.029 MB / 1.605 GB, free: 2.707 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/1.462, allocations: 20 kB / 1.605 GB, free: 2.688 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.331e-05/1.462, allocations: 12 kB / 1.605 GB, free: 2.676 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.207e-05/1.462, allocations: 7.969 kB / 1.605 GB, free: 2.668 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/1.477, allocations: 7.335 MB / 1.612 GB, free: 11.17 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/1.477, allocations: 4 kB / 1.612 GB, free: 11.16 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002684/1.48, allocations: 0.5225 MB / 1.612 GB, free: 10.64 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002224/1.482, allocations: 0.8645 MB / 1.613 GB, free: 9.77 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002219/1.482, allocations: 35.91 kB / 1.613 GB, free: 9.734 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/1.494, allocations: 9.366 MB / 1.622 GB, free: 136 kB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/1.494, allocations: 12.25 kB / 1.622 GB, free: 124 kB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006819/1.501, allocations: 4.111 MB / 1.626 GB, free: 11.75 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.502, allocations: 0.5188 MB / 1.627 GB, free: 11.21 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003753/1.503, allocations: 8 kB / 1.627 GB, free: 11.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002801/1.506, allocations: 371.3 kB / 1.627 GB, free: 10.84 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003266/1.506, allocations: 153 kB / 1.627 GB, free: 10.69 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/1.506, allocations: 67.95 kB / 1.628 GB, free: 10.62 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0009753/1.507, allocations: 0.6279 MB / 1.628 GB, free: 9.992 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.61e-07/1.507, allocations: 0 / 1.628 GB, free: 9.992 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.004339/1.511, allocations: 1.098 MB / 1.629 GB, free: 8.895 MB / 1.042 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 (101): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003424/1.512, allocations: 130.9 kB / 1.629 GB, free: 8.758 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01066/1.522, allocations: 6.151 MB / 1.635 GB, free: 2.574 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.522, allocations: 4 kB / 1.635 GB, free: 2.57 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.003543/1.526, allocations: 2.031 MB / 1.637 GB, free: 0.5234 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/1.527, allocations: 129.5 kB / 1.637 GB, free: 408 kB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/1.544, allocations: 5.855 MB / 1.643 GB, free: 10.43 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002885/1.547, allocations: 2.359 MB / 1.645 GB, free: 8.027 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.004374/1.551, allocations: 1.253 MB / 1.647 GB, free: 6.77 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006246/1.552, allocations: 123.3 kB / 1.647 GB, free: 6.648 MB / 1.057 GB Notification: Performance of SimCode: time 6.91e-07/1.552, allocations: 0 / 1.647 GB, free: 6.648 MB / 1.057 GB Notification: Performance of Templates: time 0.0563/1.608, allocations: 33.2 MB / 1.679 GB, free: 5.562 MB / 1.089 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches