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.TransformerStepDownDY.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.TransformerStepDownDY,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.TransformerStepDownDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,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.TransformerStepDownDY") [: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.319/1.319, allocations: 249.4 MB / 256.7 MB, free: 6.934 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.001247/0.001248, allocations: 184.5 kB / 316 MB, free: 3.531 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.359/1.359, allocations: 205.2 MB / 0.5667 GB, free: 15.58 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.001077/0.001077, allocations: 88.89 kB / 0.671 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.153e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1935, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6061/0.7996, allocations: 181.5 MB / 1.062 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.8, allocations: 91.25 kB / 1.062 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.2467/1.047, allocations: 104.8 MB / 1.164 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001085/1.047, allocations: 56 kB / 1.164 GB, free: 7.887 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.006842/1.054, allocations: 2.47 MB / 1.167 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/1.054, allocations: 8.031 kB / 1.167 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/1.065, allocations: 1.522 MB / 1.168 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/1.069, allocations: 1.725 MB / 1.17 GB, free: 2.055 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.501e-05/1.069, allocations: 100 kB / 1.17 GB, free: 1.957 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004519/1.07, allocations: 168 kB / 1.17 GB, free: 1.793 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00747/1.077, allocations: 4.198 MB / 1.174 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007378/1.085, allocations: 4.629 MB / 1.179 GB, free: 8.871 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-05/1.085, allocations: 0 / 1.179 GB, free: 8.871 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000316/1.085, allocations: 4 kB / 1.179 GB, free: 8.867 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002943/1.085, allocations: 189 kB / 1.179 GB, free: 8.68 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02589/1.111, allocations: 22.54 MB / 1.201 GB, free: 88 kB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/1.113, allocations: 1.198 MB / 1.202 GB, free: 14.83 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/1.114, allocations: 1.215 MB / 1.203 GB, free: 13.59 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/1.115, allocations: 118 kB / 1.203 GB, free: 13.46 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/1.115, allocations: 67.44 kB / 1.203 GB, free: 13.38 MB / 0.823 GB Notification: Performance of pre-optimization done (n=123): time 4.368e-06/1.115, allocations: 0 / 1.203 GB, free: 13.38 MB / 0.823 GB Notification: Performance of matching and sorting (n=153): time 0.01438/1.129, allocations: 7.417 MB / 1.211 GB, free: 5.918 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/1.129, allocations: 227 kB / 1.211 GB, free: 5.648 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/1.131, allocations: 0.933 MB / 1.212 GB, free: 4.707 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/1.131, allocations: 25.7 kB / 1.212 GB, free: 4.676 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006547/1.131, allocations: 1.203 MB / 1.213 GB, free: 3.453 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004877/1.132, allocations: 0.5005 MB / 1.214 GB, free: 2.945 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/1.132, allocations: 0 / 1.214 GB, free: 2.945 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000231/1.132, allocations: 435.1 kB / 1.214 GB, free: 2.512 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/1.134, allocations: 1.355 MB / 1.215 GB, free: 1.152 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/1.137, allocations: 2.017 MB / 1.217 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003589/1.14, allocations: 1.985 MB / 1.219 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/1.14, allocations: 4 kB / 1.219 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008126/1.148, allocations: 4.375 MB / 1.223 GB, free: 8.445 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002973/1.151, allocations: 8.43 MB / 1.232 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/1.151, allocations: 20 kB / 1.232 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002341/1.154, allocations: 0.77 MB / 1.232 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00366/1.158, allocations: 0.6552 MB / 1.233 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/1.17, allocations: 11.72 MB / 1.245 GB, free: 1.469 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003451/1.174, allocations: 307.2 kB / 1.245 GB, free: 1.168 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000337/1.174, allocations: 115.9 kB / 1.245 GB, free: 1.055 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/1.174, allocations: 4 kB / 1.245 GB, free: 1.051 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007735/1.182, allocations: 4.101 MB / 1.249 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.448e-05/1.182, allocations: 28.28 kB / 1.249 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/1.184, allocations: 0.6607 MB / 1.25 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003503/1.187, allocations: 0.6593 MB / 1.25 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2973/1.484, allocations: 11.31 MB / 1.261 GB, free: 352.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003486/1.488, allocations: 288.1 kB / 1.262 GB, free: 352.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005001/1.489, allocations: 115.3 kB / 1.262 GB, free: 352.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 234 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007092/1.489, allocations: 171.9 kB / 1.262 GB, free: 352.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005389/1.49, allocations: 127 kB / 1.262 GB, free: 352.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007672/1.497, allocations: 3.861 MB / 1.266 GB, free: 352.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-05/1.498, allocations: 16.38 kB / 1.266 GB, free: 352.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/1.498, allocations: 9.938 kB / 1.266 GB, free: 352.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/1.498, allocations: 9.016 kB / 1.266 GB, free: 352.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/1.509, allocations: 6.79 MB / 1.272 GB, free: 351.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/1.509, allocations: 4.812 kB / 1.272 GB, free: 351.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002534/1.511, allocations: 429.4 kB / 1.273 GB, free: 351.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/1.513, allocations: 0.6263 MB / 1.273 GB, free: 351.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/1.513, allocations: 33.84 kB / 1.273 GB, free: 351.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009126/1.522, allocations: 11.13 MB / 1.284 GB, free: 344.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/1.522, allocations: 11.16 kB / 1.284 GB, free: 344.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005656/1.528, allocations: 3.714 MB / 1.288 GB, free: 343.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.529, allocations: 0.4906 MB / 1.288 GB, free: 343.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003452/1.53, allocations: 15.12 kB / 1.288 GB, free: 343.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002634/1.532, allocations: 253.6 kB / 1.289 GB, free: 343.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/1.532, allocations: 88.88 kB / 1.289 GB, free: 343.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/1.533, allocations: 62.28 kB / 1.289 GB, free: 343.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001049/1.534, allocations: 0.7278 MB / 1.29 GB, free: 343.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004201/1.538, allocations: 1.044 MB / 1.291 GB, free: 343.2 MB / 0.8698 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): 99 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004032/1.538, allocations: 137.4 kB / 1.291 GB, free: 343.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.009253/1.548, allocations: 6.316 MB / 1.297 GB, free: 341.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/1.548, allocations: 3.875 kB / 1.297 GB, free: 341.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003151/1.551, allocations: 2.094 MB / 1.299 GB, free: 341.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/1.552, allocations: 124 kB / 1.299 GB, free: 341.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/1.569, allocations: 5.628 MB / 1.305 GB, free: 340.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002862/1.572, allocations: 2.483 MB / 1.307 GB, free: 339.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.252e-06/1.572, allocations: 0 / 1.307 GB, free: 339.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.07808/1.65, allocations: 48.33 MB / 1.354 GB, free: 331.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches