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") [: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 9.1.1-maint.9.1.x/package.mo): time 1.741/1.741, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.0009437/0.0009436, allocations: 181.2 kB / 487 MB, free: 5.355 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.1/1.1, allocations: 221.3 MB / 0.7819 GB, free: 1.344 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.0008337/0.0008337, allocations: 91.58 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.704e-06/7.734e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1737, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5226/0.6964, allocations: 198 MB / 1.399 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.6966, allocations: 96.44 kB / 1.399 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.2183/0.9149, allocations: 104.7 MB / 1.501 GB, free: 0.7656 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.559e-05/0.915, allocations: 52 kB / 1.501 GB, free: 0.7148 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.003807/0.9188, allocations: 2.29 MB / 1.503 GB, free: 14.37 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.9188, allocations: 8.031 kB / 1.503 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009926/0.9288, allocations: 1.491 MB / 1.505 GB, free: 12.87 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.9316, allocations: 1.611 MB / 1.506 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.308e-05/0.9317, allocations: 88 kB / 1.506 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003907/0.9321, allocations: 152 kB / 1.506 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00618/0.9383, allocations: 3.959 MB / 1.51 GB, free: 7.012 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005924/0.9442, allocations: 4.236 MB / 1.514 GB, free: 2.684 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.79e-05/0.9442, allocations: 4 kB / 1.514 GB, free: 2.68 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002807/0.9445, allocations: 3.984 kB / 1.514 GB, free: 2.676 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002482/0.9448, allocations: 184.5 kB / 1.515 GB, free: 2.492 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01996/0.9648, allocations: 20.76 MB / 1.535 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.9669, allocations: 1.855 MB / 1.537 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/0.9687, allocations: 1.47 MB / 1.538 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.9688, allocations: 126 kB / 1.538 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.9689, allocations: 55.48 kB / 1.538 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=139): time 2.935e-06/0.9689, allocations: 0 / 1.538 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181): time 0.01364/0.9825, allocations: 7.813 MB / 1.546 GB, free: 400 kB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.9826, allocations: 230.9 kB / 1.546 GB, free: 120 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009526/0.9836, allocations: 0.8508 MB / 1.547 GB, free: 15.26 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.9837, allocations: 25.7 kB / 1.547 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/0.9842, allocations: 1.045 MB / 1.548 GB, free: 14.17 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004357/0.9846, allocations: 0.5928 MB / 1.549 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.9847, allocations: 0 / 1.549 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.9849, allocations: 435.2 kB / 1.549 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/0.9867, allocations: 1.441 MB / 1.55 GB, free: 11.69 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/0.9887, allocations: 1.996 MB / 1.552 GB, free: 9.449 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003339/0.9921, allocations: 2.059 MB / 1.554 GB, free: 7.395 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.9921, allocations: 8 kB / 1.554 GB, free: 7.387 MB / 0.9792 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.007722/0.9998, allocations: 4.679 MB / 1.559 GB, free: 2.691 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001689/1.002, allocations: 6.692 MB / 1.566 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/1.002, allocations: 20 kB / 1.566 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002462/1.004, allocations: 1.008 MB / 1.567 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/1.007, allocations: 0.6279 MB / 1.567 GB, free: 9.812 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/1.019, allocations: 9.391 MB / 1.576 GB, free: 184 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/1.022, allocations: 283.4 kB / 1.577 GB, free: 15.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/1.022, allocations: 115.9 kB / 1.577 GB, free: 15.79 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-06/1.022, allocations: 4 kB / 1.577 GB, free: 15.79 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007198/1.029, allocations: 4.405 MB / 1.581 GB, free: 11.37 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/1.029, allocations: 24.22 kB / 1.581 GB, free: 11.35 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/1.031, allocations: 0.8567 MB / 1.582 GB, free: 10.48 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/1.034, allocations: 0.6356 MB / 1.582 GB, free: 9.848 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/1.044, allocations: 8.994 MB / 1.591 GB, free: 0.6172 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/1.047, allocations: 287.3 kB / 1.592 GB, free: 344 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/1.047, allocations: 112 kB / 1.592 GB, free: 232 kB / 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 {(6,77.8%) 30,(6,80.6%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000413/1.047, allocations: 160.1 kB / 1.592 GB, free: 64 kB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003578/1.048, allocations: 126.5 kB / 1.592 GB, free: 15.93 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007814/1.055, allocations: 4.486 MB / 1.596 GB, free: 11.4 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/1.056, allocations: 20 kB / 1.596 GB, free: 11.38 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.056, allocations: 12 kB / 1.596 GB, free: 11.37 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/1.056, allocations: 7.969 kB / 1.596 GB, free: 11.36 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/1.067, allocations: 7.329 MB / 1.603 GB, free: 3.887 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/1.067, allocations: 8 kB / 1.603 GB, free: 3.879 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00237/1.069, allocations: 439.8 kB / 1.604 GB, free: 3.449 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002072/1.071, allocations: 0.8606 MB / 1.605 GB, free: 2.582 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/1.071, allocations: 31.95 kB / 1.605 GB, free: 2.551 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/1.082, allocations: 8.803 MB / 1.613 GB, free: 9.512 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.082, allocations: 8 kB / 1.613 GB, free: 9.504 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005939/1.087, allocations: 4.223 MB / 1.618 GB, free: 5.016 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008284/1.088, allocations: 0.5344 MB / 1.618 GB, free: 4.461 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002703/1.089, allocations: 11.94 kB / 1.618 GB, free: 4.449 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00231/1.091, allocations: 263.7 kB / 1.618 GB, free: 4.191 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/1.091, allocations: 101 kB / 1.618 GB, free: 4.094 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/1.091, allocations: 79.94 kB / 1.618 GB, free: 4.016 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.0007408/1.092, allocations: 0.6748 MB / 1.619 GB, free: 3.34 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.003051/1.095, allocations: 1.035 MB / 1.62 GB, free: 2.305 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.000264/1.095, allocations: 134.9 kB / 1.62 GB, free: 2.164 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.008897/1.104, allocations: 6.196 MB / 1.626 GB, free: 11.94 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.104, allocations: 0 / 1.626 GB, free: 11.94 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.00289/1.107, allocations: 1.923 MB / 1.628 GB, free: 9.996 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007689/1.108, allocations: 133.2 kB / 1.628 GB, free: 9.867 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/1.122, allocations: 5.588 MB / 1.634 GB, free: 4.145 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002531/1.125, allocations: 2.354 MB / 1.636 GB, free: 1.754 MB / 1.057 GB Notification: Performance of SimCode: time 1.413e-06/1.125, allocations: 0 / 1.636 GB, free: 1.754 MB / 1.057 GB Notification: Performance of Templates: time 0.06301/1.188, allocations: 52.26 MB / 1.687 GB, free: 13.52 MB / 1.12 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