[: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 loadModel(Modelica): time 1.121/1.121, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1295/1.25, allocations: 27.51 MB / 145.7 MB, free: 4.164 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/1.396, allocations: 25.16 MB / 170.9 MB, free: 1.797 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07331/1.47, allocations: 38.09 MB / 208.9 MB, free: 15.57 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/1.47, allocations: 59.97 kB / 209 MB, free: 15.52 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.09389/1.564, allocations: 14.79 MB / 223.8 MB, free: 0.6367 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/1.564, allocations: 11.94 kB / 223.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004849/1.564, allocations: 90.88 kB / 223.9 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/1.566, allocations: 476.5 kB / 224.4 MB, free: 28 kB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.827e-05/1.566, allocations: 20 kB / 224.4 MB, free: 8 kB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000254/1.566, allocations: 47.89 kB / 224.4 MB, free: 15.96 MB / 202.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003151/1.569, allocations: 0.7993 MB / 225.2 MB, free: 15.16 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/1.572, allocations: 0.6676 MB / 225.9 MB, free: 14.49 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/1.572, allocations: 0 / 225.9 MB, free: 14.49 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/1.572, allocations: 0 / 225.9 MB, free: 14.49 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/1.572, allocations: 16 kB / 225.9 MB, free: 14.47 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/1.585, allocations: 3.119 MB / 229 MB, free: 11.2 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/1.587, allocations: 479.4 kB / 229.5 MB, free: 10.73 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/1.588, allocations: 406.8 kB / 229.9 MB, free: 10.33 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.541e-05/1.588, allocations: 16.62 kB / 229.9 MB, free: 10.31 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001544/1.59, allocations: 0.5153 MB / 230.4 MB, free: 9.77 MB / 202.7 MB Notification: Performance of pre-optimization done (n=69): time 3.747e-06/1.59, allocations: 0 / 230.4 MB, free: 9.77 MB / 202.7 MB Notification: Performance of matching and sorting (n=71): time 0.02414/1.614, allocations: 3.21 MB / 233.6 MB, free: 6.5 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/1.614, allocations: 141.2 kB / 233.8 MB, free: 6.328 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007939/1.615, allocations: 385.3 kB / 234.1 MB, free: 5.945 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000253/1.615, allocations: 29.7 kB / 234.2 MB, free: 5.91 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/1.616, allocations: 268.1 kB / 234.4 MB, free: 5.641 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003721/1.616, allocations: 224.7 kB / 234.7 MB, free: 5.418 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.812e-05/1.616, allocations: 0 / 234.7 MB, free: 5.418 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0002166/1.616, allocations: 374.8 kB / 235 MB, free: 5.043 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/1.618, allocations: 337.5 kB / 235.3 MB, free: 4.711 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/1.619, allocations: 447.4 kB / 235.8 MB, free: 4.234 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/1.621, allocations: 381.4 kB / 236.2 MB, free: 3.867 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/1.621, allocations: 0 / 236.2 MB, free: 3.867 MB / 202.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01448/1.635, allocations: 1.96 MB / 238.1 MB, free: 1.887 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/1.635, allocations: 4 kB / 238.1 MB, free: 1.883 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/1.636, allocations: 12 kB / 238.1 MB, free: 1.871 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/1.646, allocations: 1.247 MB / 239.4 MB, free: 0.6133 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/1.649, allocations: 239.7 kB / 239.6 MB, free: 388 kB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00795/1.657, allocations: 3.56 MB / 243.2 MB, free: 12.65 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/1.66, allocations: 215.7 kB / 243.4 MB, free: 12.44 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/1.66, allocations: 27.98 kB / 243.4 MB, free: 12.41 MB / 218.7 MB Warning: Assuming fixed start value for the following 10 variables: V1.signalSource.counter:DISCRETE(start = V1.signalSource.nperiod fixed = false protected = true ) "Period counter" type: Integer V2.signalSource.counter:DISCRETE(start = V2.signalSource.nperiod fixed = false protected = true ) "Period counter" type: Integer T2.vbc:VARIABLE() type: Real T1.vbc:VARIABLE() type: Real C2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real V2.signalSource.counter2:DISCRETE(start = V2.signalSource.nperiod fixed = false protected = true ) type: Integer V2.signalSource.T0:DISCRETE(start = V2.signalSource.startTime unit = "s" fixed = false protected = true ) "Start time of current period" type: Real V1.signalSource.counter2:DISCRETE(start = V1.signalSource.nperiod fixed = false protected = true ) type: Integer V1.signalSource.T0:DISCRETE(start = V1.signalSource.startTime unit = "s" fixed = false protected = true ) "Start time of current period" type: Real HeatCapacitor1.T:VARIABLE(min = max(1.0, max(1.0, max(1.0, 1.0))) max = min(6000.0, min(6000.0, min(6000.0, 6000.0))) start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.V1.signalSource.counter,V1.signalSource.counter,$PRE.V2.signalSource.counter,V2.signalSource.counter,$whenCondition2,$whenCondition1,$PRE.V1.signalSource.T0,V1.signalSource.T0,$PRE.V1.signalSource.counter2,V1.signalSource.counter2,$PRE.V2.signalSource.T0,V2.signalSource.T0,$PRE.V2.signalSource.counter2,V2.signalSource.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 9} * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006034/1.661, allocations: 172 kB / 243.6 MB, free: 12.25 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/1.661, allocations: 71.41 kB / 243.7 MB, free: 12.18 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.673, allocations: 1.679 MB / 245.3 MB, free: 10.48 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/1.673, allocations: 11.98 kB / 245.3 MB, free: 10.46 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/1.673, allocations: 4 kB / 245.3 MB, free: 10.46 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.857e-05/1.673, allocations: 7.891 kB / 245.4 MB, free: 10.45 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/1.675, allocations: 0.8028 MB / 246.2 MB, free: 9.609 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.675, allocations: 0 / 246.2 MB, free: 9.609 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002096/1.677, allocations: 195.8 kB / 246.3 MB, free: 9.418 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01086/1.688, allocations: 1.275 MB / 247.6 MB, free: 8.133 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002867/1.688, allocations: 19.97 kB / 247.6 MB, free: 8.113 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007684/1.696, allocations: 3.586 MB / 251.2 MB, free: 4.359 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.696, allocations: 0 / 251.2 MB, free: 4.359 MB / 218.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01608/1.712, allocations: 2.105 MB / 253.3 MB, free: 2.227 MB / 218.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.09609/1.808, allocations: 3.002 MB / 256.3 MB, free: 85.99 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007353/1.809, allocations: 231 kB / 256.6 MB, free: 85.89 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/1.81, allocations: 9.531 kB / 256.6 MB, free: 85.89 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/1.813, allocations: 212.7 kB / 256.8 MB, free: 85.89 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004072/1.813, allocations: 51.55 kB / 256.8 MB, free: 85.89 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003549/1.813, allocations: 29.06 kB / 256.9 MB, free: 85.89 MB / 218.7 MB Notification: Performance of sort global known variables: time 0.0006712/1.814, allocations: 296.5 kB / 257.1 MB, free: 85.81 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.002367/1.817, allocations: 197.7 kB / 257.3 MB, free: 85.81 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (HeatCapacitor1.T,C2.v,T1.vbc,T2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,V1.signalSource.T0,V1.signalSource.counter,V1.signalSource.counter2,V2.signalSource.T0,V2.signalSource.counter,V2.signalSource.counter2) * Number of discrete states: 4 (V2.signalSource.counter,V1.signalSource.counter,V2.signalSource.counter2,V1.signalSource.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 9} * Non-linear torn systems: 2 {1 12,1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004694/1.817, allocations: 120.5 kB / 257.5 MB, free: 85.72 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.003764/1.821, allocations: 1.009 MB / 258.5 MB, free: 85.62 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.821, allocations: 1.75 kB / 258.5 MB, free: 85.62 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002084/1.823, allocations: 0.5984 MB / 259.1 MB, free: 85.51 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/1.824, allocations: 117.7 kB / 259.2 MB, free: 85.51 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/1.829, allocations: 1.18 MB / 260.4 MB, free: 85.23 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/1.83, allocations: 1.02 MB / 261.4 MB, free: 84.52 MB / 218.7 MB Notification: Performance of SimCode: time 1.433e-06/1.83, allocations: 7.312 kB / 261.4 MB, free: 84.52 MB / 218.7 MB