Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.TransformerFull,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.TransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,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.TransformerFull") [: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 10.0.0-master/package.mo): time 1.666/1.666, allocations: 390.4 MB / 397.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009006/0.0009006, allocations: 179.9 kB / 490.8 MB, free: 4.672 MB / 382.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.044/1.044, allocations: 221.4 MB / 0.7863 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008046/0.0008046, allocations: 89.38 kB / 0.9264 GB, free: 64.34 MB / 0.67 GB Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.35e-06, allocations: 0 / 1.072 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1993, allocations: 143 MB / 1.212 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.459/0.6583, allocations: 203.9 MB / 1.411 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.6586, allocations: 94.25 kB / 1.411 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of FrontEnd: time 0.2595/0.9182, allocations: 127.5 MB / 1.535 GB, free: 10.76 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.201e-05/0.9183, allocations: 59.98 kB / 1.535 GB, free: 10.7 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.004874/0.9231, allocations: 2.481 MB / 1.538 GB, free: 8.164 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.9232, allocations: 8.531 kB / 1.538 GB, free: 8.156 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/0.9339, allocations: 1.643 MB / 1.539 GB, free: 6.508 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003069/0.937, allocations: 1.798 MB / 1.541 GB, free: 4.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.96e-05/0.9371, allocations: 95.91 kB / 1.541 GB, free: 4.566 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004904/0.9376, allocations: 172 kB / 1.541 GB, free: 4.398 MB / 1.014 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006085/0.9437, allocations: 4.225 MB / 1.546 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006288/0.95, allocations: 4.663 MB / 1.55 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.094e-05/0.9501, allocations: 0 / 1.55 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002928/0.9504, allocations: 4 kB / 1.55 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003402/0.9507, allocations: 242 kB / 1.55 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02018/0.9709, allocations: 22.11 MB / 1.572 GB, free: 3.137 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.9728, allocations: 1.628 MB / 1.574 GB, free: 1.5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.9743, allocations: 1.238 MB / 1.575 GB, free: 268 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.9745, allocations: 118 kB / 1.575 GB, free: 132 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.9745, allocations: 43.56 kB / 1.575 GB, free: 80 kB / 1.045 GB Notification: Performance of pre-optimization done (n=122): time 2.084e-06/0.9745, allocations: 0 / 1.575 GB, free: 80 kB / 1.045 GB Notification: Performance of matching and sorting (n=173): time 0.01444/0.9889, allocations: 7.186 MB / 1.582 GB, free: 8.879 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.989, allocations: 77.31 kB / 1.582 GB, free: 8.789 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.99, allocations: 0.9815 MB / 1.583 GB, free: 7.785 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.9902, allocations: 25.7 kB / 1.583 GB, free: 7.754 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005101/0.9907, allocations: 1.196 MB / 1.584 GB, free: 6.535 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004057/0.9911, allocations: 0.5736 MB / 1.585 GB, free: 5.953 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.9912, allocations: 4 kB / 1.585 GB, free: 5.949 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.9914, allocations: 439.5 kB / 1.585 GB, free: 5.512 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.9933, allocations: 1.551 MB / 1.587 GB, free: 3.957 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.9956, allocations: 2.25 MB / 1.589 GB, free: 1.391 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/0.9991, allocations: 2.219 MB / 1.591 GB, free: 15.17 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.9991, allocations: 4 kB / 1.591 GB, free: 15.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009507/1.009, allocations: 5.416 MB / 1.596 GB, free: 9.723 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.002194/1.011, allocations: 8.862 MB / 1.605 GB, free: 164 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/1.011, allocations: 24 kB / 1.605 GB, free: 140 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004142/1.015, allocations: 1.414 MB / 1.606 GB, free: 14.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/1.018, allocations: 0.6591 MB / 1.607 GB, free: 14.04 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01755/1.036, allocations: 15.95 MB / 1.623 GB, free: 13.4 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002704/1.038, allocations: 311.2 kB / 1.623 GB, free: 13.09 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/1.039, allocations: 123.9 kB / 1.623 GB, free: 12.97 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-06/1.039, allocations: 4 kB / 1.623 GB, free: 12.97 MB / 1.107 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008864/1.047, allocations: 5.123 MB / 1.628 GB, free: 7.824 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/1.047, allocations: 24.19 kB / 1.628 GB, free: 7.801 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003519/1.051, allocations: 1.348 MB / 1.629 GB, free: 6.434 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002972/1.054, allocations: 0.6552 MB / 1.63 GB, free: 5.777 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01558/1.07, allocations: 15.37 MB / 1.645 GB, free: 5.711 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/1.072, allocations: 299.4 kB / 1.645 GB, free: 5.418 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/1.072, allocations: 116 kB / 1.645 GB, free: 5.305 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 229 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000387/1.073, allocations: 176.9 kB / 1.646 GB, free: 5.125 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/1.073, allocations: 138.3 kB / 1.646 GB, free: 4.988 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3429/1.416, allocations: 5.011 MB / 1.651 GB, free: 270.1 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-05/1.416, allocations: 15.25 kB / 1.651 GB, free: 270.1 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-05/1.416, allocations: 11.41 kB / 1.651 GB, free: 270.1 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.433e-05/1.416, allocations: 8.562 kB / 1.651 GB, free: 270.1 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/1.427, allocations: 8.16 MB / 1.659 GB, free: 269.2 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.427, allocations: 11.31 kB / 1.659 GB, free: 269.2 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/1.429, allocations: 418.8 kB / 1.659 GB, free: 269.2 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003007/1.432, allocations: 1.183 MB / 1.66 GB, free: 269.1 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/1.433, allocations: 32.28 kB / 1.66 GB, free: 269.1 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01314/1.446, allocations: 15.22 MB / 1.675 GB, free: 262.1 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.446, allocations: 13.59 kB / 1.675 GB, free: 262.1 MB / 1.123 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006005/1.452, allocations: 4.487 MB / 1.679 GB, free: 261.2 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007657/1.453, allocations: 0.5436 MB / 1.68 GB, free: 261.1 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/1.453, allocations: 10.31 kB / 1.68 GB, free: 261.1 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/1.455, allocations: 291.1 kB / 1.68 GB, free: 261.1 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/1.455, allocations: 98.78 kB / 1.68 GB, free: 261.1 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.455, allocations: 66.2 kB / 1.68 GB, free: 261.1 MB / 1.123 GB Notification: Performance of sort global known variables: time 0.0006788/1.456, allocations: 0.7577 MB / 1.681 GB, free: 261 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002828/1.459, allocations: 1.155 MB / 1.682 GB, free: 261 MB / 1.123 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 (104): * Single equations (assignments): 98 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002316/1.459, allocations: 132.3 kB / 1.682 GB, free: 260.9 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.008824/1.468, allocations: 7.466 MB / 1.69 GB, free: 259.6 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.468, allocations: 2.062 kB / 1.69 GB, free: 259.6 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.003631/1.472, allocations: 2.583 MB / 1.692 GB, free: 259 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007266/1.472, allocations: 159.3 kB / 1.692 GB, free: 259 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/1.486, allocations: 6.105 MB / 1.698 GB, free: 258 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002207/1.488, allocations: 2.511 MB / 1.701 GB, free: 257.2 MB / 1.123 GB Notification: Performance of SimCode: time 3.3e-07/1.488, allocations: 0 / 1.701 GB, free: 257.2 MB / 1.123 GB Notification: Performance of Templates: time 0.06111/1.549, allocations: 58.47 MB / 1.758 GB, free: 255 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches