Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.Converter,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.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,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.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.0009752/0.0009751, allocations: 188.1 kB / 492.3 MB, free: 0.6055 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.598/1.598, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0009126/0.0009129, allocations: 95.94 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.704e-05/3.74e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2865, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.355, allocations: 191.1 MB / 1.399 GB, free: 8.785 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/1.356, allocations: 96.66 kB / 1.399 GB, free: 8.734 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2504/1.606, allocations: 108 MB / 1.505 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.493e-06/1.606, allocations: 0 / 1.505 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001546/1.606, allocations: 55.98 kB / 1.505 GB, free: 11.34 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: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.008132/1.614, allocations: 2.223 MB / 1.507 GB, free: 9.055 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/1.615, allocations: 8.031 kB / 1.507 GB, free: 9.047 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004524/1.619, allocations: 0.5941 MB / 1.507 GB, free: 8.449 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003824/1.623, allocations: 1.475 MB / 1.509 GB, free: 6.926 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/1.623, allocations: 205.6 kB / 1.509 GB, free: 6.723 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/1.624, allocations: 268 kB / 1.509 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01183/1.636, allocations: 4.232 MB / 1.513 GB, free: 2.141 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.012e-05/1.636, allocations: 3.938 kB / 1.513 GB, free: 2.137 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008548/1.637, allocations: 112 kB / 1.514 GB, free: 2.027 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000212/1.637, allocations: 140.6 kB / 1.514 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008524/1.646, allocations: 3.602 MB / 1.517 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02902/1.675, allocations: 20.22 MB / 1.537 GB, free: 8.086 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00356/1.679, allocations: 1.866 MB / 1.539 GB, free: 6.07 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/1.68, allocations: 0.768 MB / 1.54 GB, free: 5.293 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002022/1.68, allocations: 105.9 kB / 1.54 GB, free: 5.172 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/1.68, allocations: 47.3 kB / 1.54 GB, free: 5.117 MB / 0.948 GB Notification: Performance of pre-optimization done (n=77): time 2.866e-06/1.68, allocations: 0 / 1.54 GB, free: 5.117 MB / 0.948 GB Notification: Performance of matching and sorting (n=92): time 0.02021/1.7, allocations: 4.808 MB / 1.544 GB, free: 300 kB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.843e-05/1.701, allocations: 141.3 kB / 1.544 GB, free: 128 kB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/1.702, allocations: 0.8779 MB / 1.545 GB, free: 15.24 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/1.702, allocations: 37.7 kB / 1.545 GB, free: 15.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008188/1.703, allocations: 1.184 MB / 1.547 GB, free: 14 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/1.703, allocations: 339.3 kB / 1.547 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-05/1.703, allocations: 36 kB / 1.547 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002123/1.704, allocations: 398.7 kB / 1.547 GB, free: 13.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/1.705, allocations: 0.8394 MB / 1.548 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/1.707, allocations: 1.471 MB / 1.55 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/1.708, allocations: 1.164 MB / 1.551 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/1.708, allocations: 12 kB / 1.551 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003724/1.712, allocations: 2.442 MB / 1.553 GB, free: 7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.004007/1.716, allocations: 8.359 MB / 1.561 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.707e-05/1.716, allocations: 20 kB / 1.561 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.629e-05/1.716, allocations: 36 kB / 1.561 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/1.719, allocations: 0.5226 MB / 1.562 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-05/1.719, allocations: 43.84 kB / 1.562 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/1.721, allocations: 163.5 kB / 1.562 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003833/1.721, allocations: 87.98 kB / 1.562 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.721, allocations: 5.562 kB / 1.562 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004405/1.725, allocations: 2.339 MB / 1.564 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-05/1.726, allocations: 32.19 kB / 1.564 GB, free: 10.74 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.289e-05/1.726, allocations: 36 kB / 1.564 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/1.728, allocations: 0.5109 MB / 1.565 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.106e-05/1.728, allocations: 43.86 kB / 1.565 GB, free: 10.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/1.729, allocations: 131.8 kB / 1.565 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/1.73, allocations: 83.98 kB / 1.565 GB, free: 9.941 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 211 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004383/1.73, allocations: 212.3 kB / 1.565 GB, free: 9.727 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003231/1.73, allocations: 94.88 kB / 1.565 GB, free: 9.633 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003262/1.734, allocations: 1.819 MB / 1.567 GB, free: 7.758 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/1.734, allocations: 12 kB / 1.567 GB, free: 7.746 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/1.734, allocations: 4 kB / 1.567 GB, free: 7.742 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/1.734, allocations: 3.984 kB / 1.567 GB, free: 7.738 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/1.746, allocations: 9.025 MB / 1.576 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/1.746, allocations: 12 kB / 1.576 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/1.747, allocations: 256.4 kB / 1.576 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.758e-05/1.747, allocations: 19.95 kB / 1.576 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-05/1.747, allocations: 32 kB / 1.576 GB, free: 13.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.112e-05/1.747, allocations: 19.92 kB / 1.576 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.477e-05/1.747, allocations: 19.94 kB / 1.576 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/1.75, allocations: 2.279 MB / 1.579 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005986/1.751, allocations: 331.9 kB / 1.579 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/1.751, allocations: 35.94 kB / 1.579 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006955/1.751, allocations: 67.91 kB / 1.579 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/1.751, allocations: 91.64 kB / 1.579 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.801e-05/1.752, allocations: 40 kB / 1.579 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001032/1.753, allocations: 0.706 MB / 1.58 GB, free: 9.367 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.753, allocations: 0 / 1.58 GB, free: 9.367 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003175/1.756, allocations: 0.8788 MB / 1.581 GB, free: 8.488 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 89 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000353/1.756, allocations: 179.5 kB / 1.581 GB, free: 8.305 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004393/1.761, allocations: 2.917 MB / 1.584 GB, free: 5.395 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.761, allocations: 0 / 1.584 GB, free: 5.395 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007795/1.761, allocations: 0.5767 MB / 1.584 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/1.762, allocations: 156.4 kB / 1.584 GB, free: 4.672 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007034/1.769, allocations: 3.657 MB / 1.588 GB, free: 0.8359 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002216/1.772, allocations: 2.153 MB / 1.59 GB, free: 14.65 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002847/1.775, allocations: 1.051 MB / 1.591 GB, free: 13.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/1.775, allocations: 91.41 kB / 1.591 GB, free: 13.51 MB / 1.01 GB Notification: Performance of SimCode: time 1.523e-06/1.775, allocations: 3.938 kB / 1.591 GB, free: 13.5 MB / 1.01 GB Notification: Performance of Templates: time 0.02653/1.801, allocations: 14.42 MB / 1.605 GB, free: 15.15 MB / 1.026 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches