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.476/2.476, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.0009872/0.0009871, allocations: 168.9 kB / 492.3 MB, free: 0.5859 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.572/1.572, allocations: 221.3 MB / 0.7872 GB, free: 12.91 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.0008555/0.0008556, allocations: 95.92 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.901e-05/3.912e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3176, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9145/1.232, allocations: 199.1 MB / 1.407 GB, free: 1.086 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/1.232, allocations: 94.12 kB / 1.407 GB, free: 1.035 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2843/1.517, allocations: 109.6 MB / 1.514 GB, free: 1.84 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.242e-06/1.517, allocations: 0 / 1.514 GB, free: 1.84 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.676e-05/1.517, allocations: 56 kB / 1.514 GB, free: 1.785 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.004926/1.522, allocations: 2.334 MB / 1.516 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/1.522, allocations: 11.97 kB / 1.516 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/1.534, allocations: 1.896 MB / 1.518 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004196/1.538, allocations: 1.658 MB / 1.52 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/1.538, allocations: 217.7 kB / 1.52 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008441/1.539, allocations: 280 kB / 1.52 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009117/1.548, allocations: 4.73 MB / 1.525 GB, free: 6.461 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.224e-05/1.549, allocations: 3.984 kB / 1.525 GB, free: 6.457 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003894/1.549, allocations: 116 kB / 1.525 GB, free: 6.344 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003615/1.549, allocations: 200.6 kB / 1.525 GB, free: 6.145 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007659/1.557, allocations: 4.376 MB / 1.529 GB, free: 1.754 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02579/1.583, allocations: 22.49 MB / 1.551 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003328/1.586, allocations: 2.513 MB / 1.554 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002353/1.589, allocations: 1.453 MB / 1.555 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/1.589, allocations: 118 kB / 1.555 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/1.589, allocations: 63.45 kB / 1.555 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=132): time 4.158e-06/1.589, allocations: 0 / 1.555 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of matching and sorting (n=174): time 0.03213/1.621, allocations: 10.02 MB / 1.565 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.621, allocations: 234.9 kB / 1.565 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/1.623, allocations: 0.8431 MB / 1.566 GB, free: 9.684 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002791/1.623, allocations: 57.64 kB / 1.566 GB, free: 9.621 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007327/1.624, allocations: 1.162 MB / 1.567 GB, free: 8.441 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008179/1.624, allocations: 0.6008 MB / 1.568 GB, free: 7.832 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/1.625, allocations: 40 kB / 1.568 GB, free: 7.793 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003038/1.625, allocations: 431.2 kB / 1.568 GB, free: 7.363 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002297/1.627, allocations: 1.344 MB / 1.57 GB, free: 6.016 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002702/1.63, allocations: 1.938 MB / 1.572 GB, free: 3.824 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/1.633, allocations: 1.657 MB / 1.573 GB, free: 2.168 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-05/1.633, allocations: 8 kB / 1.573 GB, free: 2.16 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007983/1.641, allocations: 4.316 MB / 1.578 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002922/1.644, allocations: 7.044 MB / 1.584 GB, free: 6.234 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.067e-05/1.644, allocations: 23.94 kB / 1.584 GB, free: 6.211 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002712/1.646, allocations: 1.102 MB / 1.586 GB, free: 5.102 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003677/1.65, allocations: 0.7292 MB / 1.586 GB, free: 4.371 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/1.664, allocations: 10.16 MB / 1.596 GB, free: 9.934 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004053/1.668, allocations: 471 kB / 1.597 GB, free: 9.473 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00075/1.669, allocations: 108 kB / 1.597 GB, free: 9.367 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.669, allocations: 8 kB / 1.597 GB, free: 9.359 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008177/1.677, allocations: 4.167 MB / 1.601 GB, free: 5.184 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-05/1.677, allocations: 20 kB / 1.601 GB, free: 5.164 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002172/1.679, allocations: 0.8878 MB / 1.602 GB, free: 4.27 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003529/1.683, allocations: 0.7331 MB / 1.602 GB, free: 3.535 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/1.698, allocations: 10.09 MB / 1.612 GB, free: 9.168 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003724/1.702, allocations: 443.2 kB / 1.613 GB, free: 8.734 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007603/1.703, allocations: 111.9 kB / 1.613 GB, free: 8.625 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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.001094/1.704, allocations: 224.4 kB / 1.613 GB, free: 8.398 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006681/1.704, allocations: 138.5 kB / 1.613 GB, free: 8.262 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007967/1.712, allocations: 3.939 MB / 1.617 GB, free: 4.285 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.91e-05/1.713, allocations: 20 kB / 1.617 GB, free: 4.266 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.62e-05/1.713, allocations: 12 kB / 1.617 GB, free: 4.254 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/1.713, allocations: 7.969 kB / 1.617 GB, free: 4.246 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/1.729, allocations: 7.888 MB / 1.625 GB, free: 12.17 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.133e-05/1.729, allocations: 11.98 kB / 1.625 GB, free: 12.16 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003093/1.732, allocations: 0.5225 MB / 1.625 GB, free: 11.63 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002412/1.734, allocations: 0.884 MB / 1.626 GB, free: 10.74 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000343/1.735, allocations: 59.91 kB / 1.626 GB, free: 10.68 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/1.749, allocations: 9.671 MB / 1.636 GB, free: 0.7383 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/1.749, allocations: 8 kB / 1.636 GB, free: 0.7305 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007455/1.756, allocations: 4.108 MB / 1.64 GB, free: 12.32 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/1.757, allocations: 0.5149 MB / 1.64 GB, free: 11.78 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000485/1.758, allocations: 39.98 kB / 1.64 GB, free: 11.74 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003026/1.761, allocations: 407.5 kB / 1.641 GB, free: 11.34 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000457/1.762, allocations: 153 kB / 1.641 GB, free: 11.19 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/1.762, allocations: 71.94 kB / 1.641 GB, free: 11.12 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001324/1.763, allocations: 0.667 MB / 1.641 GB, free: 10.46 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.71e-07/1.763, allocations: 0 / 1.641 GB, free: 10.46 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.005958/1.769, allocations: 1.23 MB / 1.643 GB, free: 9.227 MB / 1.057 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 (103): * 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: 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.0005158/1.77, allocations: 168.6 kB / 1.643 GB, free: 9.055 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01239/1.782, allocations: 6.429 MB / 1.649 GB, free: 2.582 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/1.782, allocations: 8.062 kB / 1.649 GB, free: 2.574 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003831/1.786, allocations: 2.092 MB / 1.651 GB, free: 468 kB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/1.787, allocations: 149.8 kB / 1.651 GB, free: 320 kB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/1.806, allocations: 5.973 MB / 1.657 GB, free: 10.21 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003328/1.809, allocations: 2.351 MB / 1.659 GB, free: 7.82 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0046/1.814, allocations: 1.265 MB / 1.661 GB, free: 6.551 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006899/1.814, allocations: 119.3 kB / 1.661 GB, free: 6.434 MB / 1.073 GB Notification: Performance of SimCode: time 1.543e-06/1.815, allocations: 3.938 kB / 1.661 GB, free: 6.43 MB / 1.073 GB Notification: Performance of Templates: time 0.07302/1.888, allocations: 33.81 MB / 1.694 GB, free: 4.723 MB / 1.104 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