Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.324/2.324, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.00117/0.00117, allocations: 182.3 kB / 0.4902 GB, free: 2.293 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.694/1.694, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001031/0.001031, allocations: 84.34 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003748, allocations: 12.16 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3497, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3559/0.7057, allocations: 199.9 MB / 1.424 GB, free: 1.609 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004289/0.7062, allocations: 99.94 kB / 1.425 GB, free: 1.512 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.043/1.749, allocations: 113.9 MB / 1.536 GB, free: 110.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.344e-06/1.749, allocations: 0 / 1.536 GB, free: 110.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001322/1.749, allocations: 56 kB / 1.536 GB, free: 110.4 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.008299/1.757, allocations: 2.498 MB / 1.538 GB, free: 107.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/1.757, allocations: 12.03 kB / 1.538 GB, free: 107.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/1.768, allocations: 1.904 MB / 1.54 GB, free: 105.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005231/1.774, allocations: 1.722 MB / 1.542 GB, free: 104.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/1.774, allocations: 238 kB / 1.542 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001291/1.775, allocations: 292 kB / 1.542 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0121/1.787, allocations: 5.448 MB / 1.548 GB, free: 98.04 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.504e-05/1.788, allocations: 7.938 kB / 1.548 GB, free: 98.03 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003709/1.788, allocations: 127.9 kB / 1.548 GB, free: 97.91 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000259/1.788, allocations: 201 kB / 1.548 GB, free: 97.71 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/1.799, allocations: 5.492 MB / 1.553 GB, free: 92.2 MB / 0.9167 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.02648/1.826, allocations: 22.78 MB / 1.576 GB, free: 67.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004518/1.83, allocations: 2.507 MB / 1.578 GB, free: 64.78 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/1.831, allocations: 118.1 kB / 1.578 GB, free: 64.64 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/1.831, allocations: 55.48 kB / 1.578 GB, free: 64.58 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=123): time 2.836e-06/1.831, allocations: 0 / 1.578 GB, free: 64.58 MB / 0.9167 GB Notification: Performance of matching and sorting (n=153): time 0.03446/1.865, allocations: 11.71 MB / 1.59 GB, free: 52.83 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/1.865, allocations: 234.8 kB / 1.59 GB, free: 52.55 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/1.866, allocations: 0.968 MB / 1.591 GB, free: 51.57 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001615/1.867, allocations: 49.7 kB / 1.591 GB, free: 51.52 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004591/1.867, allocations: 1.254 MB / 1.592 GB, free: 50.24 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/1.867, allocations: 0.5277 MB / 1.593 GB, free: 49.71 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/1.868, allocations: 44 kB / 1.593 GB, free: 49.66 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.868, allocations: 431.2 kB / 1.593 GB, free: 49.23 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00394/1.872, allocations: 1.803 MB / 1.595 GB, free: 47.43 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004142/1.876, allocations: 2.486 MB / 1.597 GB, free: 44.63 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004107/1.88, allocations: 2.141 MB / 1.599 GB, free: 42.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/1.88, allocations: 8 kB / 1.599 GB, free: 42.49 MB / 0.9167 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01061/1.891, allocations: 5.103 MB / 1.604 GB, free: 37.36 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002559/1.893, allocations: 8.439 MB / 1.613 GB, free: 28.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.936e-05/1.893, allocations: 24 kB / 1.613 GB, free: 28.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002004/1.895, allocations: 0.7542 MB / 1.613 GB, free: 27.46 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003774/1.899, allocations: 0.7682 MB / 1.614 GB, free: 26.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/1.91, allocations: 12.77 MB / 1.627 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/1.913, allocations: 471 kB / 1.627 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002681/1.914, allocations: 120 kB / 1.627 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.914, allocations: 4.938 kB / 1.627 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01073/1.924, allocations: 4.966 MB / 1.632 GB, free: 7.547 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-05/1.925, allocations: 20 kB / 1.632 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/1.926, allocations: 0.6891 MB / 1.633 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003389/1.93, allocations: 0.7798 MB / 1.633 GB, free: 6.039 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/1.942, allocations: 12.64 MB / 1.646 GB, free: 8.594 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003623/1.946, allocations: 455.1 kB / 1.646 GB, free: 8.148 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007079/1.947, allocations: 116 kB / 1.646 GB, free: 8.035 MB / 0.9323 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.003913/1.951, allocations: 1.32 MB / 1.648 GB, free: 6.703 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006995/1.951, allocations: 130.5 kB / 1.648 GB, free: 6.574 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.964, allocations: 4.569 MB / 1.652 GB, free: 1.941 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/1.964, allocations: 15.95 kB / 1.652 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.943e-05/1.964, allocations: 12 kB / 1.652 GB, free: 1.914 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.079e-05/1.964, allocations: 7.969 kB / 1.652 GB, free: 1.906 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02053/1.985, allocations: 8.039 MB / 1.66 GB, free: 9.699 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/1.985, allocations: 8 kB / 1.66 GB, free: 9.691 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/1.987, allocations: 0.5268 MB / 1.661 GB, free: 9.164 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001995/1.989, allocations: 0.6341 MB / 1.661 GB, free: 8.512 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000235/1.989, allocations: 55.91 kB / 1.661 GB, free: 8.457 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/2.003, allocations: 12.31 MB / 1.673 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/2.003, allocations: 8 kB / 1.673 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/2.015, allocations: 4.536 MB / 1.678 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/2.016, allocations: 0.4954 MB / 1.678 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005254/2.017, allocations: 36 kB / 1.678 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002962/2.02, allocations: 399.3 kB / 1.679 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003661/2.02, allocations: 136.6 kB / 1.679 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/2.021, allocations: 59.95 kB / 1.679 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001525/2.022, allocations: 0.7644 MB / 1.68 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.1e-07/2.022, allocations: 3.938 kB / 1.68 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005872/2.028, allocations: 1.191 MB / 1.681 GB, free: 3.426 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 (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.0004323/2.028, allocations: 166.9 kB / 1.681 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02054/2.049, allocations: 8.241 MB / 1.689 GB, free: 10.87 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/2.049, allocations: 0 / 1.689 GB, free: 10.87 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.006473/2.056, allocations: 2.752 MB / 1.692 GB, free: 8.039 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/2.057, allocations: 154.5 kB / 1.692 GB, free: 7.895 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02457/2.082, allocations: 8.295 MB / 1.7 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004033/2.086, allocations: 2.381 MB / 1.702 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005019/2.091, allocations: 1.299 MB / 1.703 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000719/2.092, allocations: 127.3 kB / 1.704 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of SimCode: time 1.382e-06/2.092, allocations: 0 / 1.704 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of Templates: time 0.0544/2.146, allocations: 29.42 MB / 1.732 GB, free: 14.3 MB / 1.026 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches