Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.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.TransformerStepDownYD,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.TransformerStepDownYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,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.TransformerStepDownYD") [: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.767/1.767, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.0009202/0.0009203, allocations: 189.2 kB / 487 MB, free: 5.371 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.146/1.146, allocations: 221.3 MB / 0.7819 GB, free: 1.414 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.0008576/0.0008576, allocations: 96 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.101e-06/6.111e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1926, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5347/0.7273, allocations: 198.3 MB / 1.399 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.7275, allocations: 95.72 kB / 1.399 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.2267/0.9543, allocations: 108.6 MB / 1.505 GB, free: 12.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.748e-05/0.9544, allocations: 56 kB / 1.505 GB, free: 12.64 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.003979/0.9583, allocations: 2.373 MB / 1.507 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.9584, allocations: 8.031 kB / 1.507 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/0.9685, allocations: 1.507 MB / 1.509 GB, free: 8.691 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.9717, allocations: 1.67 MB / 1.51 GB, free: 6.973 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.516e-05/0.9717, allocations: 92 kB / 1.511 GB, free: 6.883 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004312/0.9722, allocations: 164 kB / 1.511 GB, free: 6.723 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006385/0.9786, allocations: 4.068 MB / 1.515 GB, free: 2.648 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006323/0.9849, allocations: 4.436 MB / 1.519 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.916e-05/0.985, allocations: 0 / 1.519 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002892/0.9853, allocations: 7.984 kB / 1.519 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000243/0.9855, allocations: 196.6 kB / 1.519 GB, free: 13.92 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02229/1.008, allocations: 22.16 MB / 1.541 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/1.01, allocations: 1.814 MB / 1.543 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/1.012, allocations: 1.421 MB / 1.544 GB, free: 2.375 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/1.012, allocations: 114.1 kB / 1.544 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/1.012, allocations: 59.48 kB / 1.544 GB, free: 2.18 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=132): time 3.126e-06/1.012, allocations: 0 / 1.544 GB, free: 2.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=174): time 0.01361/1.026, allocations: 7.782 MB / 1.552 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.607e-05/1.026, allocations: 230.9 kB / 1.552 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009473/1.027, allocations: 0.8235 MB / 1.553 GB, free: 9.258 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/1.027, allocations: 25.7 kB / 1.553 GB, free: 9.227 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005424/1.027, allocations: 1.107 MB / 1.554 GB, free: 8.102 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004851/1.028, allocations: 0.5735 MB / 1.554 GB, free: 7.52 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/1.028, allocations: 0 / 1.554 GB, free: 7.52 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001873/1.028, allocations: 427.2 kB / 1.555 GB, free: 7.094 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/1.03, allocations: 1.383 MB / 1.556 GB, free: 5.703 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002159/1.032, allocations: 1.951 MB / 1.558 GB, free: 3.5 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00339/1.036, allocations: 2.008 MB / 1.56 GB, free: 1.496 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/1.036, allocations: 8 kB / 1.56 GB, free: 1.488 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007894/1.044, allocations: 4.585 MB / 1.565 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001974/1.046, allocations: 6.866 MB / 1.571 GB, free: 5.469 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/1.046, allocations: 20 kB / 1.571 GB, free: 5.449 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/1.048, allocations: 1.028 MB / 1.572 GB, free: 4.414 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/1.051, allocations: 0.6201 MB / 1.573 GB, free: 3.793 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/1.064, allocations: 9.453 MB / 1.582 GB, free: 10.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002863/1.066, allocations: 295.3 kB / 1.582 GB, free: 9.812 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/1.067, allocations: 112 kB / 1.583 GB, free: 9.703 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/1.067, allocations: 7.938 kB / 1.583 GB, free: 9.695 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007308/1.074, allocations: 4.32 MB / 1.587 GB, free: 5.367 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.464e-05/1.074, allocations: 16 kB / 1.587 GB, free: 5.352 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/1.076, allocations: 0.8645 MB / 1.588 GB, free: 4.48 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003152/1.079, allocations: 0.6279 MB / 1.588 GB, free: 3.852 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/1.09, allocations: 9.03 MB / 1.597 GB, free: 10.58 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/1.093, allocations: 291.4 kB / 1.597 GB, free: 10.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/1.093, allocations: 108 kB / 1.597 GB, free: 10.19 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 210 * 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,(7,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004613/1.093, allocations: 149.1 kB / 1.598 GB, free: 10.04 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003551/1.094, allocations: 134.5 kB / 1.598 GB, free: 9.906 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007818/1.101, allocations: 4.226 MB / 1.602 GB, free: 5.641 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/1.102, allocations: 19.94 kB / 1.602 GB, free: 5.621 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.102, allocations: 16 kB / 1.602 GB, free: 5.605 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/1.102, allocations: 7.969 kB / 1.602 GB, free: 5.598 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/1.113, allocations: 7.428 MB / 1.609 GB, free: 14 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/1.113, allocations: 4 kB / 1.609 GB, free: 13.99 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/1.115, allocations: 431.8 kB / 1.61 GB, free: 13.57 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002073/1.117, allocations: 0.8723 MB / 1.61 GB, free: 12.69 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/1.118, allocations: 31.95 kB / 1.61 GB, free: 12.66 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/1.128, allocations: 8.849 MB / 1.619 GB, free: 3.57 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/1.128, allocations: 11.94 kB / 1.619 GB, free: 3.559 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006086/1.134, allocations: 4.177 MB / 1.623 GB, free: 15.12 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008301/1.135, allocations: 0.515 MB / 1.624 GB, free: 14.58 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/1.135, allocations: 11.98 kB / 1.624 GB, free: 14.57 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/1.138, allocations: 267.5 kB / 1.624 GB, free: 14.31 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/1.138, allocations: 93.03 kB / 1.624 GB, free: 14.22 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/1.138, allocations: 71.95 kB / 1.624 GB, free: 14.15 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.0007523/1.139, allocations: 0.6435 MB / 1.625 GB, free: 13.5 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.003197/1.142, allocations: 1.043 MB / 1.626 GB, free: 12.46 MB / 1.057 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 (101): * 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: 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.0002718/1.142, allocations: 142.9 kB / 1.626 GB, free: 12.31 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.009026/1.151, allocations: 6.048 MB / 1.632 GB, free: 6.238 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.151, allocations: 0 / 1.632 GB, free: 6.238 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002928/1.154, allocations: 1.908 MB / 1.634 GB, free: 4.309 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007795/1.155, allocations: 116.6 kB / 1.634 GB, free: 4.195 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/1.171, allocations: 5.705 MB / 1.639 GB, free: 14.34 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002692/1.173, allocations: 2.423 MB / 1.642 GB, free: 11.89 MB / 1.073 GB Notification: Performance of SimCode: time 3.7e-07/1.173, allocations: 0 / 1.642 GB, free: 11.89 MB / 1.073 GB Notification: Performance of Templates: time 0.06449/1.238, allocations: 51.33 MB / 1.692 GB, free: 8.621 MB / 1.12 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches