Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.262/2.262, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.0019/0.0019, allocations: 176.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.0009778/0.000978, allocations: 91.89 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.658e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2946, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.973/1.268, allocations: 199.9 MB / 1.414 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/1.268, allocations: 98.31 kB / 1.414 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2711/1.539, allocations: 109.7 MB / 1.521 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.833e-06/1.539, allocations: 0 / 1.521 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.000134/1.539, allocations: 56 kB / 1.521 GB, free: 11.96 MB / 0.9792 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.007665/1.547, allocations: 2.341 MB / 1.523 GB, free: 9.566 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.547, allocations: 15.97 kB / 1.524 GB, free: 9.551 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/1.559, allocations: 1.896 MB / 1.525 GB, free: 7.648 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/1.563, allocations: 1.65 MB / 1.527 GB, free: 5.957 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/1.564, allocations: 217.8 kB / 1.527 GB, free: 5.742 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/1.565, allocations: 280 kB / 1.527 GB, free: 5.469 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01212/1.577, allocations: 4.717 MB / 1.532 GB, free: 0.6523 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.164e-05/1.577, allocations: 0 / 1.532 GB, free: 0.6523 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008479/1.578, allocations: 127.9 kB / 1.532 GB, free: 0.5273 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003789/1.578, allocations: 196.7 kB / 1.532 GB, free: 340 kB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009589/1.588, allocations: 4.374 MB / 1.537 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03308/1.621, allocations: 22.47 MB / 1.559 GB, free: 3.449 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003883/1.625, allocations: 2.52 MB / 1.561 GB, free: 0.7539 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002474/1.628, allocations: 1.457 MB / 1.562 GB, free: 15.28 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/1.628, allocations: 122 kB / 1.563 GB, free: 15.14 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/1.628, allocations: 63.44 kB / 1.563 GB, free: 15.07 MB / 1.026 GB Notification: Performance of pre-optimization done (n=132): time 3.317e-06/1.628, allocations: 0 / 1.563 GB, free: 15.07 MB / 1.026 GB Notification: Performance of matching and sorting (n=174): time 0.03348/1.661, allocations: 10.03 MB / 1.572 GB, free: 5.008 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/1.662, allocations: 230.9 kB / 1.573 GB, free: 4.734 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/1.664, allocations: 0.8547 MB / 1.573 GB, free: 3.871 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0003107/1.664, allocations: 53.7 kB / 1.574 GB, free: 3.812 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/1.665, allocations: 1.158 MB / 1.575 GB, free: 2.637 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009495/1.666, allocations: 0.5891 MB / 1.575 GB, free: 2.039 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/1.666, allocations: 44 kB / 1.575 GB, free: 1.996 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003561/1.667, allocations: 427.2 kB / 1.576 GB, free: 1.57 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003316/1.67, allocations: 1.347 MB / 1.577 GB, free: 224 kB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004123/1.674, allocations: 1.938 MB / 1.579 GB, free: 14.02 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004054/1.678, allocations: 1.661 MB / 1.581 GB, free: 12.37 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.417e-05/1.678, allocations: 4 kB / 1.581 GB, free: 12.36 MB / 1.042 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.0107/1.689, allocations: 4.316 MB / 1.585 GB, free: 8.027 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.002866/1.692, allocations: 7.048 MB / 1.592 GB, free: 436 kB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/1.692, allocations: 23.94 kB / 1.592 GB, free: 412 kB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002526/1.694, allocations: 1.079 MB / 1.593 GB, free: 15.32 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003479/1.698, allocations: 0.7331 MB / 1.593 GB, free: 14.58 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/1.712, allocations: 10.12 MB / 1.603 GB, free: 4.188 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003393/1.715, allocations: 467 kB / 1.604 GB, free: 3.73 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002932/1.716, allocations: 112 kB / 1.604 GB, free: 3.621 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/1.716, allocations: 4 kB / 1.604 GB, free: 3.617 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007085/1.723, allocations: 4.167 MB / 1.608 GB, free: 15.44 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.709e-05/1.723, allocations: 16.28 kB / 1.608 GB, free: 15.43 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/1.725, allocations: 0.8839 MB / 1.609 GB, free: 14.54 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003371/1.728, allocations: 0.737 MB / 1.61 GB, free: 13.8 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/1.742, allocations: 10.09 MB / 1.619 GB, free: 3.43 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003634/1.745, allocations: 451.1 kB / 1.62 GB, free: 2.988 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004144/1.746, allocations: 115.9 kB / 1.62 GB, free: 2.875 MB / 1.073 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.0008606/1.747, allocations: 228.4 kB / 1.62 GB, free: 2.645 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006155/1.747, allocations: 126.4 kB / 1.62 GB, free: 2.52 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007953/1.755, allocations: 3.939 MB / 1.624 GB, free: 14.54 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/1.755, allocations: 16 kB / 1.624 GB, free: 14.52 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.322e-05/1.755, allocations: 12 kB / 1.624 GB, free: 14.51 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/1.755, allocations: 11.97 kB / 1.624 GB, free: 14.5 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/1.77, allocations: 7.888 MB / 1.632 GB, free: 6.418 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-05/1.77, allocations: 12.86 kB / 1.632 GB, free: 6.406 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002774/1.773, allocations: 0.5264 MB / 1.632 GB, free: 5.879 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002368/1.775, allocations: 0.8836 MB / 1.633 GB, free: 4.988 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002851/1.776, allocations: 55.95 kB / 1.633 GB, free: 4.934 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01435/1.79, allocations: 9.713 MB / 1.643 GB, free: 10.95 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/1.79, allocations: 11.94 kB / 1.643 GB, free: 10.94 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007871/1.798, allocations: 4.1 MB / 1.647 GB, free: 6.531 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/1.799, allocations: 0.5189 MB / 1.647 GB, free: 5.992 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005764/1.8, allocations: 40 kB / 1.647 GB, free: 5.953 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002972/1.803, allocations: 407.2 kB / 1.648 GB, free: 5.555 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004134/1.804, allocations: 152.9 kB / 1.648 GB, free: 5.406 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/1.804, allocations: 67.92 kB / 1.648 GB, free: 5.34 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.001335/1.805, allocations: 0.6709 MB / 1.649 GB, free: 4.668 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.8e-07/1.805, allocations: 0 / 1.649 GB, free: 4.668 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.005699/1.811, allocations: 1.234 MB / 1.65 GB, free: 3.434 MB / 1.104 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.0004698/1.811, allocations: 166.9 kB / 1.65 GB, free: 3.258 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01275/1.824, allocations: 6.432 MB / 1.656 GB, free: 12.78 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/1.824, allocations: 0 / 1.656 GB, free: 12.78 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.003978/1.828, allocations: 2.114 MB / 1.658 GB, free: 10.64 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/1.829, allocations: 147.2 kB / 1.658 GB, free: 10.5 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/1.848, allocations: 5.973 MB / 1.664 GB, free: 4.398 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003751/1.852, allocations: 2.355 MB / 1.667 GB, free: 2.008 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.004988/1.857, allocations: 1.257 MB / 1.668 GB, free: 0.7461 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007479/1.858, allocations: 119.3 kB / 1.668 GB, free: 0.6328 MB / 1.12 GB Notification: Performance of SimCode: time 1.142e-06/1.858, allocations: 4 kB / 1.668 GB, free: 0.6289 MB / 1.12 GB Notification: Performance of Templates: time 0.656/2.514, allocations: 33.78 MB / 1.701 GB, free: 337.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches