Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.338/2.338, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001116/0.001116, allocations: 172.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.0009121/0.0009123, allocations: 95.61 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.176e-05/4.242e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3045, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.167/1.471, allocations: 191.9 MB / 1.406 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003846/1.472, allocations: 96.84 kB / 1.406 GB, free: 12 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2796/1.752, allocations: 108.1 MB / 1.512 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.174e-06/1.752, allocations: 0 / 1.512 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001532/1.752, allocations: 56 kB / 1.512 GB, free: 5.504 MB / 0.9636 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.008962/1.761, allocations: 2.22 MB / 1.514 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/1.761, allocations: 8.031 kB / 1.514 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004748/1.766, allocations: 0.5864 MB / 1.515 GB, free: 2.629 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004431/1.77, allocations: 1.479 MB / 1.516 GB, free: 1.105 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002459/1.77, allocations: 209.6 kB / 1.516 GB, free: 0.8984 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00149/1.772, allocations: 268 kB / 1.516 GB, free: 0.6367 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/1.786, allocations: 4.224 MB / 1.521 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001231/1.786, allocations: 3.953 kB / 1.521 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001184/1.787, allocations: 119.9 kB / 1.521 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002248/1.787, allocations: 140.6 kB / 1.521 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009204/1.797, allocations: 3.599 MB / 1.524 GB, free: 8.449 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03331/1.83, allocations: 20.21 MB / 1.544 GB, free: 2.266 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003717/1.834, allocations: 1.885 MB / 1.546 GB, free: 244 kB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/1.835, allocations: 0.7554 MB / 1.547 GB, free: 15.46 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002119/1.835, allocations: 109.7 kB / 1.547 GB, free: 15.34 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/1.836, allocations: 51.28 kB / 1.547 GB, free: 15.28 MB / 1.01 GB Notification: Performance of pre-optimization done (n=77): time 3.366e-06/1.836, allocations: 0 / 1.547 GB, free: 15.28 MB / 1.01 GB Notification: Performance of matching and sorting (n=92): time 0.02131/1.857, allocations: 4.808 MB / 1.552 GB, free: 10.46 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.857, allocations: 141.3 kB / 1.552 GB, free: 10.29 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/1.859, allocations: 0.878 MB / 1.553 GB, free: 9.402 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001413/1.859, allocations: 41.7 kB / 1.553 GB, free: 9.355 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009375/1.86, allocations: 1.184 MB / 1.554 GB, free: 8.152 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004129/1.86, allocations: 335.3 kB / 1.554 GB, free: 7.82 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/1.86, allocations: 32 kB / 1.554 GB, free: 7.789 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002547/1.861, allocations: 402.7 kB / 1.554 GB, free: 7.387 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/1.862, allocations: 0.8355 MB / 1.555 GB, free: 6.551 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/1.864, allocations: 1.467 MB / 1.557 GB, free: 4.801 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/1.866, allocations: 1.168 MB / 1.558 GB, free: 3.629 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-05/1.866, allocations: 8 kB / 1.558 GB, free: 3.621 MB / 1.01 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004374/1.87, allocations: 2.445 MB / 1.56 GB, free: 1.172 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.004487/1.875, allocations: 8.356 MB / 1.568 GB, free: 8.156 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.983e-05/1.875, allocations: 20 kB / 1.568 GB, free: 8.137 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.064e-05/1.875, allocations: 36 kB / 1.568 GB, free: 8.102 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002776/1.878, allocations: 0.5186 MB / 1.569 GB, free: 7.582 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.179e-05/1.878, allocations: 43.84 kB / 1.569 GB, free: 7.539 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/1.88, allocations: 163.5 kB / 1.569 GB, free: 7.379 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002995/1.88, allocations: 83.98 kB / 1.569 GB, free: 7.297 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/1.88, allocations: 9.672 kB / 1.569 GB, free: 7.289 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004325/1.884, allocations: 2.339 MB / 1.572 GB, free: 4.953 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.88e-05/1.884, allocations: 27.88 kB / 1.572 GB, free: 4.926 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.503e-05/1.884, allocations: 36.91 kB / 1.572 GB, free: 4.891 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/1.887, allocations: 0.5187 MB / 1.572 GB, free: 4.371 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.986e-05/1.887, allocations: 43.86 kB / 1.572 GB, free: 4.328 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/1.888, allocations: 123.8 kB / 1.572 GB, free: 4.207 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/1.888, allocations: 87.98 kB / 1.572 GB, free: 4.121 MB / 1.026 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.0004696/1.889, allocations: 216.3 kB / 1.573 GB, free: 3.902 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/1.889, allocations: 98.83 kB / 1.573 GB, free: 3.805 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003334/1.893, allocations: 1.808 MB / 1.574 GB, free: 1.941 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/1.893, allocations: 12 kB / 1.574 GB, free: 1.93 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.893, allocations: 0 / 1.574 GB, free: 1.93 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/1.893, allocations: 3.984 kB / 1.574 GB, free: 1.926 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/1.907, allocations: 9.041 MB / 1.583 GB, free: 7.879 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.31e-05/1.908, allocations: 11.94 kB / 1.583 GB, free: 7.867 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/1.909, allocations: 255.6 kB / 1.583 GB, free: 7.617 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.869e-05/1.909, allocations: 16 kB / 1.584 GB, free: 7.602 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.183e-05/1.909, allocations: 32 kB / 1.584 GB, free: 7.57 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.076e-05/1.909, allocations: 24.33 kB / 1.584 GB, free: 7.547 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.419e-05/1.909, allocations: 19.88 kB / 1.584 GB, free: 7.527 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002992/1.912, allocations: 2.283 MB / 1.586 GB, free: 4.812 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000836/1.913, allocations: 319.9 kB / 1.586 GB, free: 4.48 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/1.913, allocations: 35.94 kB / 1.586 GB, free: 4.445 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009803/1.914, allocations: 71.91 kB / 1.586 GB, free: 4.375 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/1.914, allocations: 95.64 kB / 1.586 GB, free: 4.281 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.155e-05/1.914, allocations: 36 kB / 1.586 GB, free: 4.246 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001381/1.916, allocations: 0.7099 MB / 1.587 GB, free: 3.539 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.3e-07/1.916, allocations: 0 / 1.587 GB, free: 3.539 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.004409/1.92, allocations: 0.8749 MB / 1.588 GB, free: 2.664 MB / 1.042 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.0004458/1.921, allocations: 174.9 kB / 1.588 GB, free: 2.484 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.00516/1.926, allocations: 2.924 MB / 1.591 GB, free: 15.57 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/1.926, allocations: 0 / 1.591 GB, free: 15.57 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0008893/1.927, allocations: 0.569 MB / 1.591 GB, free: 15 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/1.928, allocations: 158 kB / 1.592 GB, free: 14.85 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008939/1.937, allocations: 3.657 MB / 1.595 GB, free: 11.02 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003287/1.94, allocations: 2.153 MB / 1.597 GB, free: 8.828 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.003395/1.944, allocations: 1.043 MB / 1.598 GB, free: 7.781 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005123/1.944, allocations: 95.41 kB / 1.598 GB, free: 7.688 MB / 1.057 GB Notification: Performance of SimCode: time 9.82e-07/1.944, allocations: 0 / 1.598 GB, free: 7.688 MB / 1.057 GB Notification: Performance of Templates: time 0.03138/1.976, allocations: 14.43 MB / 1.612 GB, free: 9.332 MB / 1.073 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches