Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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.TransformerDD,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.TransformerDD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,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.TransformerDD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.231/2.231, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.0009353/0.0009353, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.497/1.497, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.001192/0.001192, allocations: 103.8 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.974e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3148, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.336, allocations: 198.1 MB / 1.399 GB, free: 10.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/1.337, allocations: 99.23 kB / 1.399 GB, free: 10.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2534/1.59, allocations: 105.3 MB / 1.502 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.705e-06/1.59, allocations: 0 / 1.502 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001559/1.59, allocations: 55.98 kB / 1.502 GB, free: 15.43 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: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.008456/1.599, allocations: 2.255 MB / 1.505 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/1.599, allocations: 12.56 kB / 1.505 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/1.611, allocations: 1.877 MB / 1.506 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004561/1.616, allocations: 1.603 MB / 1.508 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/1.616, allocations: 84 kB / 1.508 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001484/1.617, allocations: 156 kB / 1.508 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009535/1.627, allocations: 3.826 MB / 1.512 GB, free: 5.523 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01409/1.641, allocations: 4.126 MB / 1.516 GB, free: 1.305 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/1.641, allocations: 3.938 kB / 1.516 GB, free: 1.301 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001102/1.642, allocations: 0 / 1.516 GB, free: 1.301 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003995/1.643, allocations: 188.5 kB / 1.516 GB, free: 1.113 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03152/1.674, allocations: 20.4 MB / 1.536 GB, free: 10.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003694/1.678, allocations: 2.483 MB / 1.539 GB, free: 8.234 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002352/1.681, allocations: 1.365 MB / 1.54 GB, free: 6.855 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002992/1.681, allocations: 122.3 kB / 1.54 GB, free: 6.719 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.426e-05/1.681, allocations: 51.88 kB / 1.54 GB, free: 6.656 MB / 0.948 GB Notification: Performance of pre-optimization done (n=139): time 6.042e-06/1.681, allocations: 0 / 1.54 GB, free: 6.656 MB / 0.948 GB Notification: Performance of matching and sorting (n=181): time 0.01789/1.699, allocations: 7.749 MB / 1.548 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/1.699, allocations: 226.9 kB / 1.548 GB, free: 14.61 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/1.7, allocations: 0.8352 MB / 1.549 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/1.701, allocations: 25.7 kB / 1.549 GB, free: 13.73 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008088/1.702, allocations: 1.096 MB / 1.55 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006661/1.702, allocations: 0.5966 MB / 1.55 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/1.702, allocations: 0 / 1.55 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002794/1.703, allocations: 431.3 kB / 1.551 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/1.705, allocations: 1.383 MB / 1.552 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/1.707, allocations: 1.934 MB / 1.554 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/1.711, allocations: 2.012 MB / 1.556 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.368e-05/1.711, allocations: 8 kB / 1.556 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.008889/1.72, allocations: 4.585 MB / 1.56 GB, free: 1.402 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002826/1.723, allocations: 6.708 MB / 1.567 GB, free: 10.17 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.26e-05/1.723, allocations: 16 kB / 1.567 GB, free: 10.15 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002653/1.726, allocations: 0.9731 MB / 1.568 GB, free: 9.172 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/1.73, allocations: 0.7448 MB / 1.569 GB, free: 8.426 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0151/1.745, allocations: 10.01 MB / 1.578 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003938/1.749, allocations: 423 kB / 1.579 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008028/1.75, allocations: 111.9 kB / 1.579 GB, free: 13.66 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.75, allocations: 4 kB / 1.579 GB, free: 13.65 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009995/1.76, allocations: 4.315 MB / 1.583 GB, free: 9.328 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.931e-05/1.76, allocations: 20 kB / 1.583 GB, free: 9.309 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002123/1.762, allocations: 0.8371 MB / 1.584 GB, free: 8.465 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003656/1.766, allocations: 0.7409 MB / 1.585 GB, free: 7.723 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/1.779, allocations: 9.584 MB / 1.594 GB, free: 13.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004036/1.783, allocations: 399.1 kB / 1.594 GB, free: 13.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008641/1.784, allocations: 116 kB / 1.595 GB, free: 13.39 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 218 * 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.001272/1.786, allocations: 164.3 kB / 1.595 GB, free: 13.22 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008861/1.787, allocations: 122.6 kB / 1.595 GB, free: 13.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009595/1.796, allocations: 4.277 MB / 1.599 GB, free: 8.773 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.107e-05/1.796, allocations: 16 kB / 1.599 GB, free: 8.758 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.042e-05/1.796, allocations: 12 kB / 1.599 GB, free: 8.746 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-05/1.796, allocations: 11.97 kB / 1.599 GB, free: 8.734 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/1.811, allocations: 7.259 MB / 1.606 GB, free: 1.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/1.811, allocations: 4 kB / 1.606 GB, free: 1.336 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002654/1.814, allocations: 0.5342 MB / 1.607 GB, free: 0.8008 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/1.816, allocations: 0.8528 MB / 1.607 GB, free: 15.94 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001962/1.816, allocations: 31.94 kB / 1.608 GB, free: 15.91 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/1.829, allocations: 9.295 MB / 1.617 GB, free: 6.383 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.672e-05/1.829, allocations: 11.94 kB / 1.617 GB, free: 6.371 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007523/1.836, allocations: 4.152 MB / 1.621 GB, free: 1.953 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.838, allocations: 0.5267 MB / 1.621 GB, free: 1.406 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004218/1.838, allocations: 11.98 kB / 1.621 GB, free: 1.395 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002818/1.841, allocations: 383.2 kB / 1.622 GB, free: 1.02 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003789/1.841, allocations: 156.9 kB / 1.622 GB, free: 0.8672 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/1.841, allocations: 63.95 kB / 1.622 GB, free: 0.8047 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001176/1.843, allocations: 0.6514 MB / 1.622 GB, free: 156 kB / 1.026 GB Notification: Performance of sort global known variables: time 2.61e-07/1.843, allocations: 4 kB / 1.622 GB, free: 152 kB / 1.026 GB Notification: Performance of remove unused functions: time 0.005426/1.848, allocations: 1.086 MB / 1.623 GB, free: 15.06 MB / 1.042 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): 103 * 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.0004095/1.848, allocations: 134.9 kB / 1.624 GB, free: 14.92 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01174/1.86, allocations: 6.335 MB / 1.63 GB, free: 8.555 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/1.86, allocations: 0 / 1.63 GB, free: 8.555 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.003673/1.864, allocations: 2.063 MB / 1.632 GB, free: 6.473 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/1.865, allocations: 121.9 kB / 1.632 GB, free: 6.355 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/1.883, allocations: 5.74 MB / 1.638 GB, free: 0.4961 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003121/1.887, allocations: 2.277 MB / 1.64 GB, free: 14.18 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.004902/1.892, allocations: 1.323 MB / 1.641 GB, free: 12.85 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000698/1.892, allocations: 123.3 kB / 1.641 GB, free: 12.73 MB / 1.057 GB Notification: Performance of SimCode: time 1.142e-06/1.892, allocations: 0 / 1.641 GB, free: 12.73 MB / 1.057 GB Notification: Performance of Templates: time 0.05958/1.952, allocations: 33.27 MB / 1.674 GB, free: 11.55 MB / 1.089 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches