Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.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.TransformerStepUpDY,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.TransformerStepUpDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY,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.TransformerStepUpDY") [: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.749/1.749, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009516/0.0009516, allocations: 185.2 kB / 487 MB, free: 5.324 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.117/1.117, allocations: 221.3 MB / 0.7819 GB, free: 1.336 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.0008528/0.0008528, allocations: 105.8 kB / 0.9213 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.512e-06/6.532e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1885, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.557/0.7455, allocations: 198.3 MB / 1.399 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.7458, allocations: 95.06 kB / 1.399 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.23/0.9758, allocations: 112.4 MB / 1.509 GB, free: 8.594 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.854e-05/0.9759, allocations: 52 kB / 1.509 GB, free: 8.543 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: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.004101/0.98, allocations: 2.467 MB / 1.511 GB, free: 6.02 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.98, allocations: 8.031 kB / 1.511 GB, free: 6.012 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009586/0.9896, allocations: 1.522 MB / 1.513 GB, free: 4.484 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002816/0.9925, allocations: 1.728 MB / 1.514 GB, free: 2.711 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-05/0.9925, allocations: 96 kB / 1.514 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004134/0.993, allocations: 172 kB / 1.515 GB, free: 2.449 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00598/0.9989, allocations: 4.194 MB / 1.519 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00635/1.005, allocations: 4.624 MB / 1.523 GB, free: 9.543 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-05/1.005, allocations: 7.984 kB / 1.523 GB, free: 9.535 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002986/1.006, allocations: 4 kB / 1.523 GB, free: 9.531 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00024/1.006, allocations: 197 kB / 1.523 GB, free: 9.336 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0209/1.027, allocations: 22.52 MB / 1.545 GB, free: 0.7461 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/1.028, allocations: 1.212 MB / 1.547 GB, free: 15.47 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/1.03, allocations: 1.212 MB / 1.548 GB, free: 14.24 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/1.03, allocations: 118 kB / 1.548 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/1.03, allocations: 59.41 kB / 1.548 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=123): time 3.517e-06/1.03, allocations: 0 / 1.548 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of matching and sorting (n=153): time 0.01383/1.044, allocations: 7.421 MB / 1.555 GB, free: 6.574 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.063e-05/1.044, allocations: 227 kB / 1.555 GB, free: 6.305 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/1.045, allocations: 0.9331 MB / 1.556 GB, free: 5.367 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/1.045, allocations: 25.7 kB / 1.556 GB, free: 5.336 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006395/1.046, allocations: 1.207 MB / 1.558 GB, free: 4.109 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004568/1.046, allocations: 0.5042 MB / 1.558 GB, free: 3.598 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/1.047, allocations: 0 / 1.558 GB, free: 3.598 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001996/1.047, allocations: 431.2 kB / 1.558 GB, free: 3.168 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/1.049, allocations: 1.355 MB / 1.56 GB, free: 1.809 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/1.051, allocations: 2.017 MB / 1.562 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004068/1.055, allocations: 1.996 MB / 1.564 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/1.055, allocations: 8 kB / 1.564 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007787/1.063, allocations: 4.367 MB / 1.568 GB, free: 9.086 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00219/1.065, allocations: 8.427 MB / 1.576 GB, free: 0 / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.565e-05/1.065, allocations: 24.05 kB / 1.576 GB, free: 15.97 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/1.068, allocations: 0.7699 MB / 1.577 GB, free: 15.19 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003188/1.071, allocations: 0.663 MB / 1.578 GB, free: 14.52 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/1.082, allocations: 11.72 MB / 1.589 GB, free: 2.113 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003136/1.086, allocations: 303.2 kB / 1.589 GB, free: 1.816 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/1.086, allocations: 116 kB / 1.589 GB, free: 1.703 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-06/1.086, allocations: 7.938 kB / 1.589 GB, free: 1.695 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007322/1.093, allocations: 4.097 MB / 1.593 GB, free: 13.58 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/1.093, allocations: 20 kB / 1.593 GB, free: 13.56 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001597/1.095, allocations: 0.673 MB / 1.594 GB, free: 12.87 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003315/1.098, allocations: 0.6591 MB / 1.595 GB, free: 12.21 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/1.108, allocations: 11.31 MB / 1.606 GB, free: 204 kB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002964/1.111, allocations: 291.4 kB / 1.606 GB, free: 15.91 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002384/1.112, allocations: 115.9 kB / 1.606 GB, free: 15.8 MB / 1.042 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.0004969/1.112, allocations: 176 kB / 1.606 GB, free: 15.62 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003596/1.113, allocations: 118.6 kB / 1.606 GB, free: 15.5 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007113/1.12, allocations: 3.857 MB / 1.61 GB, free: 11.58 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/1.12, allocations: 23.97 kB / 1.61 GB, free: 11.56 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/1.12, allocations: 8 kB / 1.61 GB, free: 11.55 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/1.12, allocations: 3.984 kB / 1.61 GB, free: 11.55 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/1.131, allocations: 6.802 MB / 1.617 GB, free: 4.574 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.131, allocations: 8.094 kB / 1.617 GB, free: 4.566 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002368/1.133, allocations: 423.3 kB / 1.617 GB, free: 4.152 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001667/1.135, allocations: 0.6256 MB / 1.618 GB, free: 3.508 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/1.135, allocations: 35.89 kB / 1.618 GB, free: 3.473 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/1.145, allocations: 11.12 MB / 1.629 GB, free: 7.656 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/1.145, allocations: 11.94 kB / 1.629 GB, free: 7.645 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00607/1.151, allocations: 3.708 MB / 1.632 GB, free: 3.656 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009617/1.152, allocations: 0.5032 MB / 1.633 GB, free: 3.133 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/1.153, allocations: 8 kB / 1.633 GB, free: 3.125 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002332/1.155, allocations: 255.6 kB / 1.633 GB, free: 2.875 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/1.155, allocations: 84.78 kB / 1.633 GB, free: 2.789 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/1.155, allocations: 59.95 kB / 1.633 GB, free: 2.73 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.001006/1.156, allocations: 0.7371 MB / 1.634 GB, free: 1.996 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0035/1.16, allocations: 1.039 MB / 1.635 GB, free: 0.957 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 (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.0002958/1.16, allocations: 138.9 kB / 1.635 GB, free: 0.8086 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.009477/1.17, allocations: 6.313 MB / 1.641 GB, free: 10.39 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.17, allocations: 8 kB / 1.641 GB, free: 10.39 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003252/1.173, allocations: 2.093 MB / 1.643 GB, free: 8.234 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009887/1.174, allocations: 125 kB / 1.644 GB, free: 8.109 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/1.19, allocations: 5.636 MB / 1.649 GB, free: 2.34 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003045/1.193, allocations: 2.486 MB / 1.652 GB, free: 15.82 MB / 1.089 GB Notification: Performance of SimCode: time 6.72e-07/1.193, allocations: 0 / 1.652 GB, free: 15.82 MB / 1.089 GB Notification: Performance of Templates: time 0.06865/1.262, allocations: 48.33 MB / 1.699 GB, free: 15.51 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches