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.TransformerStepUpYD.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.TransformerStepUpYD,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.TransformerStepUpYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,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.TransformerStepUpYD") [: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.383/1.383, allocations: 249.4 MB / 256.7 MB, free: 6.977 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.001088/0.001088, allocations: 188.6 kB / 316 MB, free: 3.453 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.271/1.271, allocations: 205.1 MB / 0.5667 GB, free: 15.6 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.0009004/0.0009002, allocations: 86.08 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.912e-06/6.943e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1937, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6044/0.7981, allocations: 181.5 MB / 1.062 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/0.7985, allocations: 97.11 kB / 1.062 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.2441/1.043, allocations: 101.2 MB / 1.161 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.773e-05/1.043, allocations: 59.92 kB / 1.161 GB, free: 11.37 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.006943/1.05, allocations: 2.385 MB / 1.163 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.05, allocations: 12.03 kB / 1.163 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/1.062, allocations: 1.511 MB / 1.165 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004998/1.067, allocations: 1.658 MB / 1.166 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/1.067, allocations: 95.91 kB / 1.166 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00144/1.068, allocations: 164 kB / 1.167 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01082/1.079, allocations: 4.076 MB / 1.17 GB, free: 1.363 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01301/1.092, allocations: 4.433 MB / 1.175 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/1.092, allocations: 4 kB / 1.175 GB, free: 12.83 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009687/1.093, allocations: 0 / 1.175 GB, free: 12.83 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003573/1.094, allocations: 188.8 kB / 1.175 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03199/1.126, allocations: 22.15 MB / 1.197 GB, free: 4.438 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/1.129, allocations: 1.811 MB / 1.198 GB, free: 2.562 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002261/1.131, allocations: 1.421 MB / 1.2 GB, free: 1.121 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/1.131, allocations: 122 kB / 1.2 GB, free: 0.9844 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/1.131, allocations: 55.62 kB / 1.2 GB, free: 0.9219 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=132): time 3.486e-06/1.131, allocations: 0 / 1.2 GB, free: 0.9219 MB / 0.8073 GB Notification: Performance of matching and sorting (n=174): time 0.01577/1.147, allocations: 7.778 MB / 1.208 GB, free: 9.105 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.147, allocations: 230.9 kB / 1.208 GB, free: 8.832 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/1.148, allocations: 0.8234 MB / 1.209 GB, free: 8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001592/1.148, allocations: 25.7 kB / 1.209 GB, free: 7.969 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005917/1.149, allocations: 1.111 MB / 1.21 GB, free: 6.836 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005263/1.15, allocations: 0.5697 MB / 1.21 GB, free: 6.258 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/1.15, allocations: 0 / 1.21 GB, free: 6.258 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001994/1.15, allocations: 435.1 kB / 1.211 GB, free: 5.824 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/1.152, allocations: 1.379 MB / 1.212 GB, free: 4.441 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/1.154, allocations: 1.954 MB / 1.214 GB, free: 2.234 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00377/1.158, allocations: 2.012 MB / 1.216 GB, free: 236 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/1.158, allocations: 4 kB / 1.216 GB, free: 232 kB / 0.823 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.009375/1.167, allocations: 4.581 MB / 1.22 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002698/1.17, allocations: 6.866 MB / 1.227 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.84e-05/1.17, allocations: 20 kB / 1.227 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002678/1.173, allocations: 1.016 MB / 1.228 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/1.176, allocations: 0.624 MB / 1.229 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/1.19, allocations: 9.418 MB / 1.238 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003422/1.193, allocations: 299.3 kB / 1.238 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003616/1.193, allocations: 104 kB / 1.238 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/1.193, allocations: 4 kB / 1.238 GB, free: 8.496 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007975/1.201, allocations: 4.311 MB / 1.242 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.387e-05/1.202, allocations: 20 kB / 1.243 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002125/1.204, allocations: 0.8687 MB / 1.243 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003344/1.207, allocations: 0.6317 MB / 1.244 GB, free: 2.648 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/1.219, allocations: 9.048 MB / 1.253 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003167/1.222, allocations: 279.4 kB / 1.253 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003255/1.222, allocations: 104 kB / 1.253 GB, free: 8.988 MB / 0.8698 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,75.0%) 30,(6,77.8%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006326/1.223, allocations: 160.4 kB / 1.253 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004019/1.223, allocations: 122.5 kB / 1.253 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008267/1.232, allocations: 4.226 MB / 1.258 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/1.232, allocations: 20 kB / 1.258 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/1.232, allocations: 12 kB / 1.258 GB, free: 4.402 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-05/1.232, allocations: 7.969 kB / 1.258 GB, free: 4.395 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3796/1.611, allocations: 7.421 MB / 1.265 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/1.611, allocations: 7.938 kB / 1.265 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002467/1.614, allocations: 429.8 kB / 1.265 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00223/1.616, allocations: 0.8739 MB / 1.266 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002652/1.616, allocations: 29.62 kB / 1.266 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/1.627, allocations: 8.824 MB / 1.275 GB, free: 292.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/1.627, allocations: 18.64 kB / 1.275 GB, free: 292.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006147/1.633, allocations: 4.18 MB / 1.279 GB, free: 291.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/1.634, allocations: 0.5116 MB / 1.279 GB, free: 291.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003144/1.634, allocations: 10.69 kB / 1.279 GB, free: 291.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/1.636, allocations: 262.6 kB / 1.28 GB, free: 291.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/1.637, allocations: 101.4 kB / 1.28 GB, free: 291.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/1.637, allocations: 66.81 kB / 1.28 GB, free: 291.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007998/1.638, allocations: 0.642 MB / 1.28 GB, free: 291.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003713/1.641, allocations: 1.048 MB / 1.281 GB, free: 291.5 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 (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.0003033/1.642, allocations: 134.6 kB / 1.282 GB, free: 291.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008975/1.651, allocations: 6.052 MB / 1.287 GB, free: 290.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.651, allocations: 0 / 1.287 GB, free: 290.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003096/1.654, allocations: 1.911 MB / 1.289 GB, free: 290.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/1.655, allocations: 116.7 kB / 1.289 GB, free: 290.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/1.672, allocations: 5.691 MB / 1.295 GB, free: 289.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002634/1.674, allocations: 2.433 MB / 1.297 GB, free: 289 MB / 0.8698 GB Notification: Performance of SimCode: time 9.82e-07/1.675, allocations: 3.719 kB / 1.297 GB, free: 289 MB / 0.8698 GB Notification: Performance of Templates: time 0.08606/1.761, allocations: 51.31 MB / 1.348 GB, free: 286.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches