Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.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.TransformerStepDownYD,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.TransformerStepDownYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,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.TransformerStepDownYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001428/0.001428, allocations: 182.9 kB / 498.1 MB, free: 5.688 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.79/1.79, allocations: 223.2 MB / 0.7949 GB, free: 18.73 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.001103/0.001104, allocations: 92.33 kB / 0.9346 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004186, allocations: 11 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3848, allocations: 142.4 MB / 1.223 GB, free: 89.55 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.897/1.282, allocations: 199.1 MB / 1.417 GB, free: 179.5 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000558/1.283, allocations: 99.27 kB / 1.417 GB, free: 179.5 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.2416/1.524, allocations: 110.1 MB / 1.525 GB, free: 86.9 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.725e-06/1.524, allocations: 3.938 kB / 1.525 GB, free: 86.9 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001269/1.524, allocations: 59.98 kB / 1.525 GB, free: 86.84 MB / 0.9011 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.009612/1.534, allocations: 2.404 MB / 1.527 GB, free: 84.38 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 7.745e-05/1.534, allocations: 12.03 kB / 1.527 GB, free: 84.36 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/1.546, allocations: 1.904 MB / 1.529 GB, free: 82.45 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005226/1.551, allocations: 1.663 MB / 1.531 GB, free: 80.75 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/1.551, allocations: 213.8 kB / 1.531 GB, free: 80.54 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001588/1.553, allocations: 280 kB / 1.531 GB, free: 80.26 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01728/1.57, allocations: 5.236 MB / 1.536 GB, free: 74.93 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001836/1.57, allocations: 3.938 kB / 1.536 GB, free: 74.93 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001595/1.572, allocations: 127.9 kB / 1.537 GB, free: 74.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004138/1.572, allocations: 188.8 kB / 1.537 GB, free: 74.61 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01484/1.587, allocations: 5.37 MB / 1.542 GB, free: 69.23 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0343/1.622, allocations: 22.48 MB / 1.564 GB, free: 44.71 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006037/1.628, allocations: 2.997 MB / 1.567 GB, free: 41.55 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002834/1.628, allocations: 126 kB / 1.567 GB, free: 41.41 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/1.628, allocations: 51.56 kB / 1.567 GB, free: 41.35 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=132): time 4.248e-06/1.628, allocations: 0 / 1.567 GB, free: 41.35 MB / 0.9011 GB Notification: Performance of matching and sorting (n=174): time 0.03891/1.667, allocations: 12.95 MB / 1.58 GB, free: 28.36 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/1.667, allocations: 234.9 kB / 1.58 GB, free: 28.08 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/1.668, allocations: 0.8624 MB / 1.581 GB, free: 27.21 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003683/1.669, allocations: 49.7 kB / 1.581 GB, free: 27.16 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000482/1.669, allocations: 1.158 MB / 1.582 GB, free: 25.98 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005232/1.67, allocations: 0.593 MB / 1.583 GB, free: 25.38 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/1.67, allocations: 48 kB / 1.583 GB, free: 25.33 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.67, allocations: 427.2 kB / 1.583 GB, free: 24.91 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003923/1.674, allocations: 1.843 MB / 1.585 GB, free: 23.06 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004278/1.678, allocations: 2.427 MB / 1.587 GB, free: 20.38 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004309/1.683, allocations: 2.145 MB / 1.589 GB, free: 18.24 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/1.683, allocations: 8 kB / 1.589 GB, free: 18.23 MB / 0.9011 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01146/1.694, allocations: 5.31 MB / 1.594 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001803/1.696, allocations: 6.875 MB / 1.601 GB, free: 5.492 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.919e-05/1.696, allocations: 20 kB / 1.601 GB, free: 5.473 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002414/1.698, allocations: 1.079 MB / 1.602 GB, free: 4.387 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003364/1.702, allocations: 0.7331 MB / 1.603 GB, free: 3.652 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/1.715, allocations: 10.62 MB / 1.613 GB, free: 8.754 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003487/1.719, allocations: 471 kB / 1.614 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004329/1.719, allocations: 104 kB / 1.614 GB, free: 8.191 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.719, allocations: 7.938 kB / 1.614 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01257/1.732, allocations: 5.173 MB / 1.619 GB, free: 3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-05/1.732, allocations: 23.94 kB / 1.619 GB, free: 2.977 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002249/1.734, allocations: 0.8774 MB / 1.62 GB, free: 2.094 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003589/1.738, allocations: 0.737 MB / 1.621 GB, free: 1.355 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/1.751, allocations: 10.55 MB / 1.631 GB, free: 6.535 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003304/1.755, allocations: 455.1 kB / 1.631 GB, free: 6.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004097/1.755, allocations: 104 kB / 1.631 GB, free: 5.988 MB / 0.9323 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 () * Number of clocked 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.002709/1.758, allocations: 1.277 MB / 1.633 GB, free: 4.699 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005087/1.758, allocations: 126.6 kB / 1.633 GB, free: 4.574 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/1.77, allocations: 4.922 MB / 1.638 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/1.77, allocations: 20 kB / 1.638 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/1.77, allocations: 12 kB / 1.638 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.519e-05/1.77, allocations: 11.97 kB / 1.638 GB, free: 15.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01855/1.789, allocations: 8.672 MB / 1.646 GB, free: 6.742 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/1.789, allocations: 8.031 kB / 1.646 GB, free: 6.734 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/1.792, allocations: 0.5264 MB / 1.647 GB, free: 6.207 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00212/1.794, allocations: 0.8798 MB / 1.647 GB, free: 5.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002339/1.794, allocations: 51.95 kB / 1.647 GB, free: 5.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/1.807, allocations: 10.16 MB / 1.657 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/1.807, allocations: 15.89 kB / 1.657 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/1.818, allocations: 4.984 MB / 1.662 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/1.819, allocations: 0.5189 MB / 1.663 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/1.819, allocations: 39.94 kB / 1.663 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002458/1.822, allocations: 403.2 kB / 1.663 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004335/1.822, allocations: 156.8 kB / 1.663 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/1.823, allocations: 67.95 kB / 1.663 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00107/1.824, allocations: 0.6747 MB / 1.664 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.6e-07/1.824, allocations: 0 / 1.664 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004501/1.828, allocations: 1.234 MB / 1.665 GB, free: 2.465 MB / 0.9636 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 (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.0004009/1.829, allocations: 167.2 kB / 1.665 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02016/1.849, allocations: 7.929 MB / 1.673 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.849, allocations: 0.5 kB / 1.673 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.006345/1.855, allocations: 2.605 MB / 1.676 GB, free: 7.695 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/1.856, allocations: 162.7 kB / 1.676 GB, free: 7.539 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0202/1.877, allocations: 8.255 MB / 1.684 GB, free: 15.18 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002471/1.879, allocations: 2.351 MB / 1.686 GB, free: 12.79 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003976/1.883, allocations: 1.226 MB / 1.687 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005285/1.884, allocations: 131.3 kB / 1.688 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of SimCode: time 7.01e-07/1.884, allocations: 3.938 kB / 1.688 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of Templates: time 0.05696/1.941, allocations: 33.07 MB / 1.72 GB, free: 10.46 MB / 1.026 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches