Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.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.TransformerStepDownDY,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.TransformerStepDownDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,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.TransformerStepDownDY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.000984/0.000984, allocations: 172.8 kB / 487.4 MB, free: 5.066 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.603/1.603, 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.0008694/0.0008696, allocations: 102.1 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.793e-05/1.795e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2562, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.964/1.22, allocations: 198.4 MB / 1.4 GB, free: 9.844 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/1.221, allocations: 97.95 kB / 1.4 GB, free: 9.789 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2687/1.489, allocations: 113 MB / 1.51 GB, free: 7.418 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.663e-06/1.489, allocations: 0 / 1.51 GB, free: 7.418 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001157/1.49, allocations: 59.92 kB / 1.51 GB, free: 7.359 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.007961/1.497, allocations: 2.424 MB / 1.513 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/1.498, allocations: 12.02 kB / 1.513 GB, free: 4.867 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/1.51, allocations: 1.912 MB / 1.514 GB, free: 2.949 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004865/1.515, allocations: 1.717 MB / 1.516 GB, free: 1.188 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/1.515, allocations: 100 kB / 1.516 GB, free: 1.09 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/1.516, allocations: 172 kB / 1.516 GB, free: 0.9219 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009802/1.526, allocations: 4.057 MB / 1.52 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/1.538, allocations: 4.504 MB / 1.525 GB, free: 8.266 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.25e-05/1.538, allocations: 7.922 kB / 1.525 GB, free: 8.258 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007086/1.539, allocations: 7.953 kB / 1.525 GB, free: 8.25 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003831/1.539, allocations: 197 kB / 1.525 GB, free: 8.055 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.03205/1.572, allocations: 22.13 MB / 1.547 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003066/1.575, allocations: 1.995 MB / 1.549 GB, free: 13.81 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001961/1.577, allocations: 1.178 MB / 1.55 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/1.577, allocations: 122.4 kB / 1.55 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/1.577, allocations: 55.77 kB / 1.55 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=123): time 3.878e-06/1.577, allocations: 0 / 1.55 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=153): time 0.02009/1.597, allocations: 7.232 MB / 1.557 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/1.597, allocations: 238.8 kB / 1.557 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/1.599, allocations: 0.9096 MB / 1.558 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003204/1.599, allocations: 25.7 kB / 1.558 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008087/1.6, allocations: 1.246 MB / 1.559 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005635/1.6, allocations: 0.5043 MB / 1.56 GB, free: 2.133 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/1.601, allocations: 0 / 1.56 GB, free: 2.133 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002323/1.601, allocations: 431.2 kB / 1.56 GB, free: 1.703 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/1.603, allocations: 1.289 MB / 1.561 GB, free: 420 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/1.605, allocations: 1.954 MB / 1.563 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003415/1.608, allocations: 1.91 MB / 1.565 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/1.608, allocations: 4 kB / 1.565 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007846/1.616, allocations: 4.234 MB / 1.569 GB, free: 7.98 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.00392/1.62, allocations: 8.439 MB / 1.578 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.353e-05/1.62, allocations: 20 kB / 1.578 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002351/1.623, allocations: 0.7427 MB / 1.578 GB, free: 14.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003945/1.627, allocations: 0.776 MB / 1.579 GB, free: 13.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/1.642, allocations: 12.23 MB / 1.591 GB, free: 404 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004206/1.647, allocations: 427.2 kB / 1.591 GB, free: 15.97 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009611/1.648, allocations: 119.8 kB / 1.592 GB, free: 15.86 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.648, allocations: 8 kB / 1.592 GB, free: 15.85 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0105/1.658, allocations: 3.952 MB / 1.595 GB, free: 11.88 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.579e-05/1.658, allocations: 20 kB / 1.595 GB, free: 11.86 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001799/1.66, allocations: 0.6414 MB / 1.596 GB, free: 11.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003705/1.664, allocations: 0.7799 MB / 1.597 GB, free: 10.42 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/1.676, allocations: 11.73 MB / 1.608 GB, free: 14 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003968/1.68, allocations: 411.1 kB / 1.609 GB, free: 13.59 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008053/1.681, allocations: 112 kB / 1.609 GB, free: 13.48 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.001246/1.682, allocations: 176.2 kB / 1.609 GB, free: 13.3 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007441/1.683, allocations: 118.6 kB / 1.609 GB, free: 13.19 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007996/1.691, allocations: 3.648 MB / 1.613 GB, free: 9.477 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/1.691, allocations: 12 kB / 1.613 GB, free: 9.465 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.133e-05/1.691, allocations: 12 kB / 1.613 GB, free: 9.453 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.672e-05/1.691, allocations: 7.969 kB / 1.613 GB, free: 9.445 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/1.707, allocations: 6.717 MB / 1.619 GB, free: 2.551 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.882e-05/1.707, allocations: 4 kB / 1.619 GB, free: 2.547 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002658/1.71, allocations: 0.5229 MB / 1.62 GB, free: 2.023 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/1.712, allocations: 0.6143 MB / 1.62 GB, free: 1.391 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000179/1.712, allocations: 27.95 kB / 1.62 GB, free: 1.363 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/1.724, allocations: 11.53 MB / 1.632 GB, free: 5.145 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/1.725, allocations: 8 kB / 1.632 GB, free: 5.137 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008105/1.733, allocations: 3.642 MB / 1.635 GB, free: 1.211 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.734, allocations: 0.4916 MB / 1.636 GB, free: 0.6992 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005524/1.735, allocations: 23.94 kB / 1.636 GB, free: 0.6758 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002902/1.738, allocations: 379.3 kB / 1.636 GB, free: 312 kB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003807/1.738, allocations: 133 kB / 1.636 GB, free: 180 kB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/1.738, allocations: 55.95 kB / 1.636 GB, free: 124 kB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001576/1.74, allocations: 0.706 MB / 1.637 GB, free: 15.42 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.31e-07/1.74, allocations: 0 / 1.637 GB, free: 15.42 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.006258/1.746, allocations: 1.074 MB / 1.638 GB, free: 14.34 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.0005303/1.747, allocations: 135 kB / 1.638 GB, free: 14.2 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01288/1.76, allocations: 6.465 MB / 1.644 GB, free: 7.629 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/1.76, allocations: 0 / 1.644 GB, free: 7.629 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003989/1.764, allocations: 2.177 MB / 1.647 GB, free: 5.391 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/1.765, allocations: 120.4 kB / 1.647 GB, free: 5.273 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02015/1.786, allocations: 5.838 MB / 1.652 GB, free: 15.31 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004109/1.79, allocations: 2.386 MB / 1.655 GB, free: 12.89 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.005234/1.795, allocations: 1.327 MB / 1.656 GB, free: 11.55 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007285/1.796, allocations: 127.3 kB / 1.656 GB, free: 11.43 MB / 1.073 GB Notification: Performance of SimCode: time 1.042e-06/1.796, allocations: 0 / 1.656 GB, free: 11.43 MB / 1.073 GB Notification: Performance of Templates: time 0.05352/1.849, allocations: 29.32 MB / 1.685 GB, free: 14.2 MB / 1.104 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches