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.365/2.365, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001248/0.001248, allocations: 173.1 kB / 498.1 MB, free: 5.711 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.802/1.802, allocations: 223.2 MB / 0.7949 GB, free: 18.79 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.001123/0.001123, allocations: 96.33 kB / 0.9346 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003809, allocations: 8.531 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3195, allocations: 142.4 MB / 1.223 GB, free: 89.53 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8039/1.123, allocations: 199.1 MB / 1.417 GB, free: 179.5 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/1.124, allocations: 99.95 kB / 1.417 GB, free: 179.5 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.2474/1.371, allocations: 114 MB / 1.529 GB, free: 82.96 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.976e-06/1.371, allocations: 3.938 kB / 1.529 GB, free: 82.96 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001226/1.371, allocations: 59.98 kB / 1.529 GB, free: 82.9 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: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.008225/1.38, allocations: 2.494 MB / 1.531 GB, free: 80.35 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.38, allocations: 8.031 kB / 1.531 GB, free: 80.34 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/1.391, allocations: 1.908 MB / 1.533 GB, free: 78.43 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004826/1.396, allocations: 1.73 MB / 1.535 GB, free: 76.65 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/1.396, allocations: 222.1 kB / 1.535 GB, free: 76.43 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/1.398, allocations: 296 kB / 1.535 GB, free: 76.14 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/1.412, allocations: 5.457 MB / 1.541 GB, free: 70.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-05/1.412, allocations: 3.938 kB / 1.541 GB, free: 70.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004357/1.412, allocations: 127.9 kB / 1.541 GB, free: 70.47 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002925/1.413, allocations: 201 kB / 1.541 GB, free: 70.27 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/1.426, allocations: 5.505 MB / 1.546 GB, free: 64.75 MB / 0.9011 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02562/1.452, allocations: 22.78 MB / 1.569 GB, free: 39.96 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004653/1.456, allocations: 2.503 MB / 1.571 GB, free: 37.34 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/1.457, allocations: 126 kB / 1.571 GB, free: 37.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/1.457, allocations: 47.5 kB / 1.571 GB, free: 37.14 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=123): time 3.036e-06/1.457, allocations: 0 / 1.571 GB, free: 37.14 MB / 0.9011 GB Notification: Performance of matching and sorting (n=153): time 0.03522/1.492, allocations: 11.72 MB / 1.583 GB, free: 25.38 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/1.492, allocations: 226.9 kB / 1.583 GB, free: 25.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/1.494, allocations: 0.9642 MB / 1.584 GB, free: 24.13 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000328/1.494, allocations: 49.7 kB / 1.584 GB, free: 24.07 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005213/1.494, allocations: 1.258 MB / 1.585 GB, free: 22.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005055/1.495, allocations: 0.5277 MB / 1.586 GB, free: 22.26 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/1.495, allocations: 44 kB / 1.586 GB, free: 22.22 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.495, allocations: 431.2 kB / 1.586 GB, free: 21.79 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004126/1.499, allocations: 1.807 MB / 1.588 GB, free: 19.98 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004507/1.504, allocations: 2.478 MB / 1.59 GB, free: 17.19 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004359/1.508, allocations: 2.148 MB / 1.592 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/1.508, allocations: 7.938 kB / 1.592 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01108/1.519, allocations: 5.107 MB / 1.597 GB, free: 9.898 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001693/1.521, allocations: 8.44 MB / 1.606 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.703e-05/1.521, allocations: 24 kB / 1.606 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002056/1.523, allocations: 0.7387 MB / 1.606 GB, free: 20 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003908/1.527, allocations: 0.7721 MB / 1.607 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/1.541, allocations: 12.78 MB / 1.619 GB, free: 1.668 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/1.545, allocations: 475 kB / 1.62 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004227/1.546, allocations: 116 kB / 1.62 GB, free: 1.09 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/1.546, allocations: 4 kB / 1.62 GB, free: 1.086 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01191/1.557, allocations: 4.974 MB / 1.625 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.829e-05/1.558, allocations: 20 kB / 1.625 GB, free: 12.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/1.559, allocations: 0.6805 MB / 1.626 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003546/1.563, allocations: 0.7721 MB / 1.626 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/1.576, allocations: 12.64 MB / 1.639 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003612/1.579, allocations: 455.1 kB / 1.639 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004857/1.58, allocations: 112 kB / 1.639 GB, free: 12.6 MB / 0.948 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 () * Number of clocked 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.003071/1.583, allocations: 1.335 MB / 1.641 GB, free: 11.26 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005074/1.584, allocations: 130.5 kB / 1.641 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/1.595, allocations: 4.565 MB / 1.645 GB, free: 6.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/1.595, allocations: 19.95 kB / 1.645 GB, free: 6.48 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/1.595, allocations: 8 kB / 1.645 GB, free: 6.473 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/1.595, allocations: 3.984 kB / 1.645 GB, free: 6.469 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01872/1.613, allocations: 8.042 MB / 1.653 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/1.614, allocations: 4 kB / 1.653 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002477/1.616, allocations: 0.5231 MB / 1.654 GB, free: 13.73 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001753/1.618, allocations: 0.6295 MB / 1.654 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001855/1.618, allocations: 51.91 kB / 1.654 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/1.63, allocations: 12.31 MB / 1.666 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/1.631, allocations: 11.94 kB / 1.666 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.641, allocations: 4.532 MB / 1.671 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/1.643, allocations: 0.5032 MB / 1.671 GB, free: 10.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/1.643, allocations: 28 kB / 1.671 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002401/1.645, allocations: 399.4 kB / 1.672 GB, free: 10.15 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000334/1.646, allocations: 140.7 kB / 1.672 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.646, allocations: 67.89 kB / 1.672 GB, free: 9.949 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001161/1.647, allocations: 0.7566 MB / 1.672 GB, free: 9.191 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.7e-07/1.647, allocations: 0 / 1.672 GB, free: 9.191 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004279/1.651, allocations: 1.203 MB / 1.674 GB, free: 7.988 MB / 0.9792 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 (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.0003654/1.652, allocations: 159 kB / 1.674 GB, free: 7.824 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01862/1.67, allocations: 8.237 MB / 1.682 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/1.67, allocations: 7.938 kB / 1.682 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.006007/1.676, allocations: 2.749 MB / 1.685 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/1.677, allocations: 157.3 kB / 1.685 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/1.698, allocations: 8.288 MB / 1.693 GB, free: 4.055 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00254/1.7, allocations: 2.377 MB / 1.695 GB, free: 1.641 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004031/1.704, allocations: 1.303 MB / 1.696 GB, free: 340 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000533/1.705, allocations: 127.3 kB / 1.697 GB, free: 212 kB / 0.9948 GB Notification: Performance of SimCode: time 1.644e-06/1.705, allocations: 0 / 1.697 GB, free: 212 kB / 0.9948 GB Notification: Performance of Templates: time 0.05008/1.755, allocations: 29.41 MB / 1.725 GB, free: 2.875 MB / 1.026 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