Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.307/1.307, allocations: 249.4 MB / 256.7 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 181.2 kB / 316 MB, free: 3.523 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.2 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009318/0.0009321, allocations: 90.2 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.382e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.167, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5395/0.7066, allocations: 173.5 MB / 1.054 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.7069, allocations: 97.56 kB / 1.054 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.2285/0.9355, allocations: 99.41 MB / 1.151 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.529e-05/0.9356, allocations: 48 kB / 1.151 GB, free: 5.27 MB / 0.7605 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.004968/0.9406, allocations: 2.263 MB / 1.153 GB, free: 2.949 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 7.389e-05/0.9407, allocations: 8.031 kB / 1.153 GB, free: 2.941 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003547/0.9442, allocations: 0.5669 MB / 1.154 GB, free: 2.371 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/0.947, allocations: 1.474 MB / 1.155 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-05/0.9471, allocations: 88 kB / 1.156 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003962/0.9475, allocations: 156 kB / 1.156 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00599/0.9535, allocations: 3.361 MB / 1.159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006485/0.96, allocations: 3.928 MB / 1.163 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.412e-05/0.9601, allocations: 7.906 kB / 1.163 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/0.9604, allocations: 0 / 1.163 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/0.9605, allocations: 144.6 kB / 1.163 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02142/0.982, allocations: 19.8 MB / 1.182 GB, free: 3.258 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.9833, allocations: 1.088 MB / 1.183 GB, free: 2.125 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.9843, allocations: 0.7896 MB / 1.184 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.9845, allocations: 113.7 kB / 1.184 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.9846, allocations: 47.16 kB / 1.184 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=77): time 2.344e-06/0.9846, allocations: 0 / 1.184 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of matching and sorting (n=92): time 0.008149/0.9927, allocations: 3.942 MB / 1.188 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/0.9928, allocations: 141.4 kB / 1.188 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.994, allocations: 0.8545 MB / 1.189 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.986e-05/0.994, allocations: 29.7 kB / 1.189 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006021/0.9946, allocations: 1.141 MB / 1.19 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.9949, allocations: 315.5 kB / 1.191 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.393e-05/0.995, allocations: 4 kB / 1.191 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.9952, allocations: 402.6 kB / 1.191 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.9963, allocations: 0.8746 MB / 1.192 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.9979, allocations: 1.51 MB / 1.193 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002756/1.001, allocations: 1.463 MB / 1.195 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/1.001, allocations: 8 kB / 1.195 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004524/1.005, allocations: 2.655 MB / 1.197 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002841/1.008, allocations: 8.346 MB / 1.205 GB, free: 10.43 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/1.008, allocations: 20 kB / 1.205 GB, free: 10.41 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.1e-05/1.008, allocations: 32 kB / 1.205 GB, free: 10.38 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/1.011, allocations: 0.507 MB / 1.206 GB, free: 9.867 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.312e-05/1.011, allocations: 47.84 kB / 1.206 GB, free: 9.82 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/1.012, allocations: 95.62 kB / 1.206 GB, free: 9.727 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/1.012, allocations: 83.98 kB / 1.206 GB, free: 9.645 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.772e-06/1.012, allocations: 4 kB / 1.206 GB, free: 9.641 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004188/1.016, allocations: 2.509 MB / 1.209 GB, free: 7.133 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.016, allocations: 20 kB / 1.209 GB, free: 7.113 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/1.016, allocations: 35.91 kB / 1.209 GB, free: 7.078 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002367/1.019, allocations: 0.5074 MB / 1.209 GB, free: 6.57 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.542e-05/1.019, allocations: 43.86 kB / 1.209 GB, free: 6.527 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008719/1.02, allocations: 79.7 kB / 1.209 GB, free: 6.449 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/1.02, allocations: 87.98 kB / 1.209 GB, free: 6.363 MB / 0.823 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.0002549/1.02, allocations: 164.3 kB / 1.21 GB, free: 6.195 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/1.02, allocations: 94.88 kB / 1.21 GB, free: 6.102 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003358/1.024, allocations: 1.959 MB / 1.212 GB, free: 4.09 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/1.024, allocations: 15.98 kB / 1.212 GB, free: 4.074 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.024, allocations: 0 / 1.212 GB, free: 4.074 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/1.024, allocations: 3.984 kB / 1.212 GB, free: 4.07 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01747/1.041, allocations: 15.31 MB / 1.227 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-05/1.041, allocations: 20 kB / 1.227 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007677/1.042, allocations: 199.6 kB / 1.227 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.603e-05/1.042, allocations: 28 kB / 1.227 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-05/1.042, allocations: 32 kB / 1.227 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-05/1.042, allocations: 36.48 kB / 1.227 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-05/1.042, allocations: 35.88 kB / 1.227 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003052/1.045, allocations: 3.103 MB / 1.23 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/1.046, allocations: 335.8 kB / 1.23 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/1.046, allocations: 35.92 kB / 1.23 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008121/1.047, allocations: 55.94 kB / 1.23 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/1.047, allocations: 111.4 kB / 1.23 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.212e-05/1.047, allocations: 48 kB / 1.23 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000822/1.048, allocations: 0.6904 MB / 1.231 GB, free: 14 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002797/1.051, allocations: 0.7968 MB / 1.232 GB, free: 13.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * 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.0002908/1.051, allocations: 178.6 kB / 1.232 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003874/1.055, allocations: 3.01 MB / 1.235 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.055, allocations: 4 kB / 1.235 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007569/1.055, allocations: 0.6379 MB / 1.236 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009373/1.056, allocations: 158.8 kB / 1.236 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006987/1.063, allocations: 4.144 MB / 1.24 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002525/1.066, allocations: 2.267 MB / 1.242 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/1.066, allocations: 0 / 1.242 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of Templates: time 0.3645/1.43, allocations: 23.57 MB / 1.265 GB, free: 219 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches