Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.773/1.773, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001088/0.001088, allocations: 185.2 kB / 487 MB, free: 5.375 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.154/1.154, allocations: 221.3 MB / 0.7819 GB, free: 1.438 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.0009104/0.0009102, allocations: 97.23 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.052e-06/6.152e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1925, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5325/0.7251, allocations: 198.3 MB / 1.399 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.7253, allocations: 94 kB / 1.399 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.24/0.9654, allocations: 112.3 MB / 1.509 GB, free: 8.781 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.73e-05/0.9655, allocations: 52 kB / 1.509 GB, free: 8.73 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.004342/0.9698, allocations: 2.467 MB / 1.511 GB, free: 6.207 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.9699, allocations: 8.031 kB / 1.511 GB, free: 6.199 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.9802, allocations: 1.522 MB / 1.513 GB, free: 4.672 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003515/0.9837, allocations: 1.729 MB / 1.514 GB, free: 2.898 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.9839, allocations: 96 kB / 1.514 GB, free: 2.805 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000489/0.9844, allocations: 175.9 kB / 1.515 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007039/0.9914, allocations: 4.198 MB / 1.519 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007218/0.9986, allocations: 4.621 MB / 1.523 GB, free: 9.723 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.763e-05/0.9987, allocations: 7.938 kB / 1.523 GB, free: 9.715 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003054/0.999, allocations: 4 kB / 1.523 GB, free: 9.711 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002877/0.9993, allocations: 201 kB / 1.523 GB, free: 9.512 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02363/1.023, allocations: 22.53 MB / 1.545 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/1.024, allocations: 1.214 MB / 1.547 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/1.026, allocations: 1.212 MB / 1.548 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/1.026, allocations: 118 kB / 1.548 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/1.026, allocations: 59.41 kB / 1.548 GB, free: 14.23 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=123): time 3.446e-06/1.026, allocations: 4 kB / 1.548 GB, free: 14.23 MB / 0.9792 GB Notification: Performance of matching and sorting (n=153): time 0.01344/1.04, allocations: 7.413 MB / 1.555 GB, free: 6.77 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.718e-05/1.04, allocations: 231 kB / 1.555 GB, free: 6.492 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/1.041, allocations: 0.933 MB / 1.556 GB, free: 5.555 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/1.041, allocations: 25.7 kB / 1.556 GB, free: 5.523 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006266/1.042, allocations: 1.215 MB / 1.558 GB, free: 4.289 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004741/1.042, allocations: 0.4966 MB / 1.558 GB, free: 3.785 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/1.042, allocations: 7.938 kB / 1.558 GB, free: 3.777 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002253/1.043, allocations: 427.2 kB / 1.558 GB, free: 3.352 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/1.044, allocations: 1.355 MB / 1.56 GB, free: 1.992 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/1.047, allocations: 2.009 MB / 1.562 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00334/1.05, allocations: 1.996 MB / 1.564 GB, free: 13.68 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/1.05, allocations: 8 kB / 1.564 GB, free: 13.68 MB / 0.9948 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007597/1.058, allocations: 4.359 MB / 1.568 GB, free: 9.289 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002584/1.06, allocations: 8.43 MB / 1.576 GB, free: 204 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/1.06, allocations: 24 kB / 1.576 GB, free: 180 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/1.062, allocations: 0.77 MB / 1.577 GB, free: 15.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00315/1.066, allocations: 0.663 MB / 1.578 GB, free: 14.72 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/1.077, allocations: 11.71 MB / 1.589 GB, free: 2.32 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/1.08, allocations: 303.2 kB / 1.589 GB, free: 2.023 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002333/1.08, allocations: 115.9 kB / 1.589 GB, free: 1.91 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 7.594e-06/1.081, allocations: 4 kB / 1.589 GB, free: 1.906 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00713/1.088, allocations: 4.105 MB / 1.593 GB, free: 13.78 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.829e-05/1.088, allocations: 24.69 kB / 1.593 GB, free: 13.76 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/1.089, allocations: 0.6688 MB / 1.594 GB, free: 13.07 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003115/1.093, allocations: 0.663 MB / 1.595 GB, free: 12.41 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/1.103, allocations: 11.31 MB / 1.606 GB, free: 408 kB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/1.105, allocations: 287.4 kB / 1.606 GB, free: 120 kB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000258/1.106, allocations: 116 kB / 1.606 GB, free: 4 kB / 1.026 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.0004487/1.106, allocations: 180 kB / 1.606 GB, free: 15.82 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003821/1.106, allocations: 118.6 kB / 1.606 GB, free: 15.7 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007332/1.114, allocations: 3.857 MB / 1.61 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/1.114, allocations: 16 kB / 1.61 GB, free: 11.77 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/1.114, allocations: 12 kB / 1.61 GB, free: 11.76 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/1.114, allocations: 11.97 kB / 1.61 GB, free: 11.75 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/1.125, allocations: 6.794 MB / 1.617 GB, free: 4.777 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/1.125, allocations: 12.12 kB / 1.617 GB, free: 4.766 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002376/1.128, allocations: 423.3 kB / 1.617 GB, free: 4.352 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/1.129, allocations: 0.6337 MB / 1.618 GB, free: 3.699 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/1.129, allocations: 23.97 kB / 1.618 GB, free: 3.676 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/1.14, allocations: 11.13 MB / 1.629 GB, free: 7.848 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/1.14, allocations: 7.938 kB / 1.629 GB, free: 7.84 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005757/1.146, allocations: 3.707 MB / 1.632 GB, free: 3.848 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008952/1.147, allocations: 0.4915 MB / 1.633 GB, free: 3.336 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003248/1.147, allocations: 12 kB / 1.633 GB, free: 3.324 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002389/1.15, allocations: 259.6 kB / 1.633 GB, free: 3.07 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/1.15, allocations: 88.72 kB / 1.633 GB, free: 2.98 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/1.15, allocations: 59.97 kB / 1.633 GB, free: 2.922 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.0009492/1.151, allocations: 0.7332 MB / 1.634 GB, free: 2.191 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.003606/1.155, allocations: 1.039 MB / 1.635 GB, free: 1.152 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.000261/1.155, allocations: 134.9 kB / 1.635 GB, free: 1.012 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.009162/1.164, allocations: 6.318 MB / 1.641 GB, free: 10.59 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.164, allocations: 4.062 kB / 1.641 GB, free: 10.58 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003081/1.167, allocations: 2.092 MB / 1.643 GB, free: 8.43 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008198/1.168, allocations: 129.5 kB / 1.644 GB, free: 8.305 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/1.184, allocations: 5.622 MB / 1.649 GB, free: 2.551 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003107/1.187, allocations: 2.487 MB / 1.651 GB, free: 24 kB / 1.073 GB Notification: Performance of SimCode: time 4.7e-07/1.187, allocations: 0 / 1.651 GB, free: 24 kB / 1.073 GB Notification: Performance of Templates: time 0.06499/1.252, allocations: 48.34 MB / 1.699 GB, free: 15.72 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches