Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.Transformer,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.Transformer") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,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.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.355/2.355, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001345/0.001345, allocations: 189 kB / 498.1 MB, free: 5.684 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.683/1.683, allocations: 223.2 MB / 0.7948 GB, free: 18.71 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.001117/0.001117, allocations: 98.5 kB / 0.9346 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005279/0.000528, allocations: 11.12 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4276, allocations: 142.3 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.484, allocations: 199.5 MB / 1.418 GB, free: 179.4 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000383/1.485, allocations: 99.41 kB / 1.418 GB, free: 179.4 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.2625/1.747, allocations: 113 MB / 1.528 GB, free: 83.67 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.819e-06/1.747, allocations: 0 / 1.528 GB, free: 83.67 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002348/1.748, allocations: 52 kB / 1.528 GB, free: 83.62 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: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.01277/1.76, allocations: 2.435 MB / 1.531 GB, free: 81.12 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/1.76, allocations: 11.97 kB / 1.531 GB, free: 81.11 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/1.772, allocations: 1.9 MB / 1.532 GB, free: 79.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005739/1.778, allocations: 1.679 MB / 1.534 GB, free: 77.48 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003039/1.778, allocations: 221.9 kB / 1.534 GB, free: 77.26 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00228/1.78, allocations: 284 kB / 1.535 GB, free: 76.98 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01679/1.797, allocations: 5.317 MB / 1.54 GB, free: 71.57 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.392e-05/1.797, allocations: 15.83 kB / 1.54 GB, free: 71.55 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003985/1.798, allocations: 116 kB / 1.54 GB, free: 71.44 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003329/1.798, allocations: 200.9 kB / 1.54 GB, free: 71.24 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/1.813, allocations: 5.366 MB / 1.545 GB, free: 65.86 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.03391/1.847, allocations: 22.78 MB / 1.568 GB, free: 41.03 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005154/1.852, allocations: 2.491 MB / 1.57 GB, free: 38.42 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002277/1.852, allocations: 122.1 kB / 1.57 GB, free: 38.28 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/1.853, allocations: 55.5 kB / 1.57 GB, free: 38.22 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=116): time 4.689e-06/1.853, allocations: 0 / 1.57 GB, free: 38.22 MB / 0.9011 GB Notification: Performance of matching and sorting (n=146): time 0.03852/1.891, allocations: 11.56 MB / 1.581 GB, free: 26.61 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/1.891, allocations: 222.9 kB / 1.582 GB, free: 26.34 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/1.893, allocations: 0.9408 MB / 1.583 GB, free: 25.39 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000312/1.893, allocations: 53.73 kB / 1.583 GB, free: 25.33 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007209/1.894, allocations: 1.235 MB / 1.584 GB, free: 24.08 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006439/1.894, allocations: 0.5007 MB / 1.584 GB, free: 23.57 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/1.895, allocations: 44 kB / 1.584 GB, free: 23.53 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002219/1.895, allocations: 423 kB / 1.585 GB, free: 23.11 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004023/1.899, allocations: 1.76 MB / 1.586 GB, free: 21.34 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004278/1.903, allocations: 2.439 MB / 1.589 GB, free: 18.59 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004443/1.908, allocations: 2.079 MB / 1.591 GB, free: 16.51 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.692e-05/1.908, allocations: 8 kB / 1.591 GB, free: 16.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01149/1.919, allocations: 4.993 MB / 1.596 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002536/1.922, allocations: 8.615 MB / 1.604 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.119e-05/1.922, allocations: 24 kB / 1.604 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002193/1.924, allocations: 0.7504 MB / 1.605 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003742/1.928, allocations: 0.7643 MB / 1.606 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/1.943, allocations: 12.8 MB / 1.618 GB, free: 3.031 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0037/1.947, allocations: 479 kB / 1.619 GB, free: 2.562 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006667/1.947, allocations: 112 kB / 1.619 GB, free: 2.453 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/1.947, allocations: 0 / 1.619 GB, free: 2.453 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01277/1.96, allocations: 4.86 MB / 1.624 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.967e-05/1.96, allocations: 20 kB / 1.624 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0019/1.962, allocations: 0.696 MB / 1.624 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003519/1.966, allocations: 0.7526 MB / 1.625 GB, free: 12.08 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/1.98, allocations: 12.7 MB / 1.637 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003486/1.984, allocations: 455.1 kB / 1.638 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006884/1.984, allocations: 112 kB / 1.638 GB, free: 14.02 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (232): * Single equations (assignments): 226 * 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.003637/1.988, allocations: 1.289 MB / 1.639 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007416/1.989, allocations: 122.5 kB / 1.639 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/2.001, allocations: 4.351 MB / 1.644 GB, free: 8.188 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/2.001, allocations: 16 kB / 1.644 GB, free: 8.172 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.132e-05/2.001, allocations: 8 kB / 1.644 GB, free: 8.164 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/2.001, allocations: 11.92 kB / 1.644 GB, free: 8.152 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02146/2.023, allocations: 7.925 MB / 1.651 GB, free: 64 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.289e-05/2.023, allocations: 8.031 kB / 1.651 GB, free: 56 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002705/2.025, allocations: 0.5225 MB / 1.652 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002067/2.027, allocations: 0.6334 MB / 1.652 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003191/2.028, allocations: 51.95 kB / 1.652 GB, free: 14.83 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01606/2.044, allocations: 12.35 MB / 1.665 GB, free: 1.676 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.762e-05/2.044, allocations: 15.92 kB / 1.665 GB, free: 1.66 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/2.056, allocations: 4.492 MB / 1.669 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/2.058, allocations: 0.4915 MB / 1.669 GB, free: 12.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005601/2.058, allocations: 28 kB / 1.669 GB, free: 12.35 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002846/2.061, allocations: 403.2 kB / 1.67 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004749/2.062, allocations: 128.8 kB / 1.67 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000211/2.062, allocations: 63.95 kB / 1.67 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001786/2.064, allocations: 0.7292 MB / 1.671 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.11e-07/2.064, allocations: 0 / 1.671 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006632/2.07, allocations: 1.164 MB / 1.672 GB, free: 9.879 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 (101): * Single equations (assignments): 95 * 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.0005409/2.071, allocations: 166.9 kB / 1.672 GB, free: 9.707 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02318/2.094, allocations: 8.101 MB / 1.68 GB, free: 1.449 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.016e-05/2.094, allocations: 4 kB / 1.68 GB, free: 1.445 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.008964/2.103, allocations: 2.725 MB / 1.683 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/2.105, allocations: 140.6 kB / 1.683 GB, free: 14.51 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02965/2.135, allocations: 8.166 MB / 1.691 GB, free: 6.234 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003614/2.138, allocations: 2.322 MB / 1.693 GB, free: 3.871 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.006236/2.145, allocations: 1.244 MB / 1.694 GB, free: 2.621 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000825/2.146, allocations: 127.3 kB / 1.694 GB, free: 2.496 MB / 0.9948 GB Notification: Performance of SimCode: time 2.034e-06/2.146, allocations: 3.938 kB / 1.694 GB, free: 2.492 MB / 0.9948 GB Notification: Performance of Templates: time 0.06578/2.211, allocations: 28.98 MB / 1.723 GB, free: 5.59 MB / 1.026 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches