[: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.093/1.093, allocations: 111.2 MB / 118.2 MB, free: 15.64 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0996/1.193, allocations: 27.5 MB / 145.7 MB, free: 4.168 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/1.333, allocations: 25.15 MB / 170.8 MB, free: 1.832 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06483/1.398, allocations: 34.93 MB / 205.8 MB, free: 2.766 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/1.399, allocations: 63.97 kB / 205.8 MB, free: 2.703 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0471/1.446, allocations: 8.825 MB / 214.7 MB, free: 9.82 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/1.446, allocations: 11.94 kB / 214.7 MB, free: 9.809 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/1.446, allocations: 55.34 kB / 214.7 MB, free: 9.754 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007578/1.447, allocations: 346.6 kB / 215.1 MB, free: 9.375 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/1.447, allocations: 15.91 kB / 215.1 MB, free: 9.359 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/1.447, allocations: 24 kB / 215.1 MB, free: 9.336 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001783/1.449, allocations: 0.5173 MB / 215.6 MB, free: 8.82 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/1.45, allocations: 0.5117 MB / 216.1 MB, free: 8.297 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.632e-05/1.451, allocations: 11.91 kB / 216.1 MB, free: 8.285 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.593e-05/1.451, allocations: 0 / 216.1 MB, free: 8.285 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/1.451, allocations: 8 kB / 216.2 MB, free: 8.277 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004914/1.456, allocations: 1.272 MB / 217.4 MB, free: 6.953 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/1.457, allocations: 347.1 kB / 217.8 MB, free: 6.605 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008344/1.458, allocations: 258.3 kB / 218 MB, free: 6.352 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-05/1.458, allocations: 8.484 kB / 218 MB, free: 6.344 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/1.458, allocations: 43.05 kB / 218.1 MB, free: 6.293 MB / 186.7 MB Notification: Performance of pre-optimization done (n=55): time 3.647e-06/1.458, allocations: 0 / 218.1 MB, free: 6.293 MB / 186.7 MB Notification: Performance of matching and sorting (n=61): time 0.00813/1.466, allocations: 1.845 MB / 219.9 MB, free: 4.352 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/1.466, allocations: 63.89 kB / 220 MB, free: 4.277 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000737/1.467, allocations: 255.5 kB / 220.2 MB, free: 4.02 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003405/1.468, allocations: 33.7 kB / 220.3 MB, free: 3.98 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/1.468, allocations: 165.2 kB / 220.4 MB, free: 3.816 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005774/1.468, allocations: 209.1 kB / 220.6 MB, free: 3.609 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/1.469, allocations: 0 / 220.6 MB, free: 3.609 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000299/1.469, allocations: 350.8 kB / 221 MB, free: 3.258 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/1.471, allocations: 273.3 kB / 221.2 MB, free: 2.992 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/1.472, allocations: 316.4 kB / 221.5 MB, free: 2.676 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/1.474, allocations: 223.1 kB / 221.8 MB, free: 2.457 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/1.474, allocations: 0 / 221.8 MB, free: 2.457 MB / 186.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0045/1.479, allocations: 0.817 MB / 222.6 MB, free: 1.633 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/1.479, allocations: 7.594 kB / 222.6 MB, free: 1.629 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/1.479, allocations: 0 / 222.6 MB, free: 1.629 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003538/1.482, allocations: 0.7166 MB / 223.3 MB, free: 0.9141 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/1.484, allocations: 103.8 kB / 223.4 MB, free: 0.8125 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004578/1.488, allocations: 1.173 MB / 224.6 MB, free: 15.61 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/1.491, allocations: 151.9 kB / 224.7 MB, free: 15.46 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002649/1.491, allocations: 31.92 kB / 224.8 MB, free: 15.43 MB / 202.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: clutch3.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real clutch2.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real clutch1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 (clutch1.free,$PRE.clutch1.startForward,clutch1.startForward,$PRE.clutch1.startBackward,clutch1.startBackward,clutch1.locked,$PRE.clutch1.mode,clutch1.mode,clutch2.free,$PRE.clutch2.startForward,clutch2.startForward,$PRE.clutch2.startBackward,clutch2.startBackward,clutch2.locked,$PRE.clutch2.mode,clutch2.mode,clutch3.free,$PRE.clutch3.startForward,clutch3.startForward,$PRE.clutch3.startBackward,clutch3.startBackward,clutch3.locked,$PRE.clutch3.mode,clutch3.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005005/1.492, allocations: 137.1 kB / 224.9 MB, free: 15.29 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/1.492, allocations: 39.53 kB / 224.9 MB, free: 15.25 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003522/1.492, allocations: 68.59 kB / 225 MB, free: 15.19 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/1.492, allocations: 7.906 kB / 225 MB, free: 15.18 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.493, allocations: 4 kB / 225 MB, free: 15.18 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/1.493, allocations: 0 / 225 MB, free: 15.18 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006606/1.499, allocations: 1.35 MB / 226.4 MB, free: 13.78 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/1.499, allocations: 4 kB / 226.4 MB, free: 13.78 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.501, allocations: 103.8 kB / 226.5 MB, free: 13.68 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00354/1.504, allocations: 0.6761 MB / 227.1 MB, free: 13 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002681/1.505, allocations: 19.97 kB / 227.2 MB, free: 12.98 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004225/1.509, allocations: 1.148 MB / 228.3 MB, free: 11.8 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.44e-05/1.509, allocations: 3.906 kB / 228.3 MB, free: 11.8 MB / 202.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005405/1.515, allocations: 1.145 MB / 229.5 MB, free: 10.63 MB / 202.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007234/1.522, allocations: 1.864 MB / 231.3 MB, free: 8.746 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007167/1.523, allocations: 184.5 kB / 231.5 MB, free: 8.547 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/1.523, allocations: 19.97 kB / 231.5 MB, free: 8.527 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002436/1.525, allocations: 151.9 kB / 231.7 MB, free: 8.379 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008279/1.526, allocations: 144.2 kB / 231.8 MB, free: 8.238 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/1.527, allocations: 35.95 kB / 231.8 MB, free: 8.203 MB / 202.7 MB Notification: Performance of sort global known variables: time 0.0005031/1.527, allocations: 191.1 kB / 232 MB, free: 8.016 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.002798/1.53, allocations: 127.9 kB / 232.2 MB, free: 7.891 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (J1.phi,J1.w,clutch1.phi_rel,clutch1.w_rel,clutch2.phi_rel,clutch2.w_rel,clutch3.phi_rel,clutch3.w_rel) * Number of discrete variables: 15 (clutch1.free,clutch1.startForward,clutch1.startBackward,clutch1.locked,clutch1.mode,clutch2.free,clutch2.startForward,clutch2.startBackward,clutch2.locked,clutch2.mode,clutch3.free,clutch3.startForward,clutch3.startBackward,clutch3.locked,clutch3.mode) * Number of discrete states: 9 (clutch3.mode,clutch3.startForward,clutch1.mode,clutch1.startForward,clutch1.startBackward,clutch2.mode,clutch2.startForward,clutch2.startBackward,clutch3.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005109/1.53, allocations: 143.2 kB / 232.3 MB, free: 7.742 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.003089/1.534, allocations: 0.6439 MB / 232.9 MB, free: 7.102 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.534, allocations: 0 / 232.9 MB, free: 7.102 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001649/1.535, allocations: 364.2 kB / 233.3 MB, free: 6.746 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/1.537, allocations: 60.45 kB / 233.4 MB, free: 6.688 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/1.541, allocations: 1.151 MB / 234.5 MB, free: 5.512 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007815/1.542, allocations: 0.9013 MB / 235.4 MB, free: 4.582 MB / 202.7 MB Notification: Performance of SimCode: time 1.663e-06/1.542, allocations: 0 / 235.4 MB, free: 4.582 MB / 202.7 MB