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.339/2.339, 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.001203/0.001203, allocations: 169.2 kB / 498.1 MB, free: 5.719 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.63/1.63, allocations: 223.2 MB / 0.7948 GB, free: 17.85 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.0009488/0.0009486, allocations: 110.6 kB / 0.9346 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.000392, allocations: 10.19 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3788, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2785/0.6574, allocations: 198.8 MB / 1.417 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.6577, allocations: 99.94 kB / 1.417 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.027/1.685, allocations: 106.2 MB / 1.521 GB, free: 130.2 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.316e-06/1.685, allocations: 0 / 1.521 GB, free: 130.2 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001019/1.685, allocations: 55.98 kB / 1.521 GB, free: 130.2 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.008954/1.694, allocations: 2.326 MB / 1.523 GB, free: 127.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.69e-05/1.694, allocations: 11.97 kB / 1.523 GB, free: 127.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/1.705, allocations: 1.881 MB / 1.525 GB, free: 125.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005758/1.711, allocations: 1.597 MB / 1.527 GB, free: 124.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001892/1.711, allocations: 205.5 kB / 1.527 GB, free: 124.1 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001492/1.713, allocations: 264 kB / 1.527 GB, free: 123.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0169/1.73, allocations: 5.026 MB / 1.532 GB, free: 118.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001433/1.73, allocations: 0 / 1.532 GB, free: 118.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001394/1.731, allocations: 116 kB / 1.532 GB, free: 118.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003875/1.732, allocations: 196.4 kB / 1.532 GB, free: 118.4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01454/1.746, allocations: 5.244 MB / 1.537 GB, free: 113.1 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03143/1.778, allocations: 20.98 MB / 1.558 GB, free: 90.29 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005766/1.784, allocations: 2.987 MB / 1.561 GB, free: 87.14 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000297/1.784, allocations: 118.1 kB / 1.561 GB, free: 87.01 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.822e-05/1.784, allocations: 63.45 kB / 1.561 GB, free: 86.94 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=139): time 4.078e-06/1.784, allocations: 0 / 1.561 GB, free: 86.94 MB / 0.9167 GB Notification: Performance of matching and sorting (n=181): time 0.04092/1.825, allocations: 12.94 MB / 1.574 GB, free: 73.96 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.825, allocations: 230.9 kB / 1.574 GB, free: 73.68 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/1.827, allocations: 0.8898 MB / 1.575 GB, free: 72.79 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004748/1.827, allocations: 49.7 kB / 1.575 GB, free: 72.73 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000594/1.828, allocations: 1.096 MB / 1.576 GB, free: 71.62 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006604/1.829, allocations: 0.6278 MB / 1.576 GB, free: 70.98 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/1.829, allocations: 44 kB / 1.576 GB, free: 70.94 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001734/1.829, allocations: 431.3 kB / 1.577 GB, free: 70.51 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004019/1.833, allocations: 1.893 MB / 1.579 GB, free: 68.61 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004383/1.837, allocations: 2.464 MB / 1.581 GB, free: 65.91 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004437/1.842, allocations: 2.207 MB / 1.583 GB, free: 63.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/1.842, allocations: 4 kB / 1.583 GB, free: 63.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01186/1.854, allocations: 5.392 MB / 1.589 GB, free: 58.29 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001601/1.855, allocations: 6.713 MB / 1.595 GB, free: 51.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/1.856, allocations: 19.98 kB / 1.595 GB, free: 51.03 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002269/1.858, allocations: 1.067 MB / 1.596 GB, free: 49.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00352/1.861, allocations: 0.7448 MB / 1.597 GB, free: 49.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/1.873, allocations: 10.52 MB / 1.607 GB, free: 38.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003644/1.877, allocations: 459 kB / 1.608 GB, free: 37.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007554/1.878, allocations: 112 kB / 1.608 GB, free: 37.86 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.878, allocations: 4 kB / 1.608 GB, free: 37.85 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01105/1.889, allocations: 5.259 MB / 1.613 GB, free: 32.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.808e-05/1.889, allocations: 16 kB / 1.613 GB, free: 32.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001861/1.891, allocations: 0.8811 MB / 1.614 GB, free: 31.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003248/1.894, allocations: 0.7448 MB / 1.614 GB, free: 30.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/1.905, allocations: 10.5 MB / 1.625 GB, free: 20.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003377/1.908, allocations: 459.1 kB / 1.625 GB, free: 19.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003842/1.908, allocations: 107.9 kB / 1.625 GB, free: 19.61 MB / 0.9167 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 () * Number of clocked 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.002499/1.911, allocations: 1.218 MB / 1.626 GB, free: 18.38 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004533/1.911, allocations: 130.6 kB / 1.627 GB, free: 18.25 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/1.922, allocations: 5.166 MB / 1.632 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/1.922, allocations: 20 kB / 1.632 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/1.922, allocations: 16 kB / 1.632 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.182e-05/1.922, allocations: 11.95 kB / 1.632 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/1.938, allocations: 8.653 MB / 1.64 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.938, allocations: 8 kB / 1.64 GB, free: 4.172 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00222/1.94, allocations: 0.535 MB / 1.641 GB, free: 3.637 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/1.942, allocations: 0.8642 MB / 1.641 GB, free: 2.766 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002121/1.942, allocations: 59.91 kB / 1.641 GB, free: 2.707 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/1.956, allocations: 10.08 MB / 1.651 GB, free: 8.359 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.521e-05/1.956, allocations: 11.94 kB / 1.651 GB, free: 8.348 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/1.969, allocations: 5.034 MB / 1.656 GB, free: 3.039 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/1.97, allocations: 0.5383 MB / 1.657 GB, free: 2.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/1.971, allocations: 36 kB / 1.657 GB, free: 2.445 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002434/1.973, allocations: 403.3 kB / 1.657 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004143/1.973, allocations: 152.9 kB / 1.657 GB, free: 1.902 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/1.974, allocations: 68.14 kB / 1.657 GB, free: 1.836 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001195/1.975, allocations: 0.7098 MB / 1.658 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.71e-07/1.975, allocations: 0 / 1.658 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00491/1.98, allocations: 1.23 MB / 1.659 GB, free: 15.89 MB / 0.948 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): 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.0004233/1.98, allocations: 169 kB / 1.659 GB, free: 15.72 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01977/2, allocations: 8.065 MB / 1.667 GB, free: 7.613 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.797e-05/2, allocations: 0 / 1.667 GB, free: 7.613 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006571/2.007, allocations: 2.623 MB / 1.67 GB, free: 4.965 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/2.008, allocations: 145.5 kB / 1.67 GB, free: 4.828 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02072/2.029, allocations: 8.07 MB / 1.678 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002731/2.032, allocations: 2.273 MB / 1.68 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004233/2.036, allocations: 1.293 MB / 1.681 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005394/2.036, allocations: 127.3 kB / 1.682 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of SimCode: time 1.543e-06/2.036, allocations: 0 / 1.682 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of Templates: time 0.06271/2.099, allocations: 33.33 MB / 1.714 GB, free: 7.66 MB / 0.9948 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