[: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.161/1.161, allocations: 111.2 MB / 118.2 MB, free: 15.64 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.07721/1.238, allocations: 27.5 MB / 145.7 MB, free: 4.168 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/1.383, allocations: 25.16 MB / 170.8 MB, free: 1.805 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07006/1.454, allocations: 36.66 MB / 207.5 MB, free: 1.012 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/1.454, allocations: 63.97 kB / 207.6 MB, free: 0.9492 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.101/1.555, allocations: 13.88 MB / 221.5 MB, free: 2.965 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.477e-05/1.555, allocations: 15.94 kB / 221.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007077/1.556, allocations: 75.06 kB / 221.5 MB, free: 2.875 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/1.558, allocations: 0.5692 MB / 222.1 MB, free: 2.266 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.483e-05/1.558, allocations: 12 kB / 222.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003532/1.558, allocations: 24 kB / 222.2 MB, free: 2.23 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006557/1.565, allocations: 2.125 MB / 224.3 MB, free: 104 kB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004285/1.569, allocations: 1.364 MB / 225.6 MB, free: 14.71 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/1.569, allocations: 7.906 kB / 225.6 MB, free: 14.71 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/1.569, allocations: 0 / 225.6 MB, free: 14.71 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/1.569, allocations: 8 kB / 225.7 MB, free: 14.7 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/1.583, allocations: 3.066 MB / 228.7 MB, free: 11.57 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002692/1.586, allocations: 0.9134 MB / 229.6 MB, free: 10.64 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002445/1.588, allocations: 0.8388 MB / 230.5 MB, free: 9.801 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/1.588, allocations: 8.172 kB / 230.5 MB, free: 9.793 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003161/1.592, allocations: 1.185 MB / 231.7 MB, free: 8.566 MB / 202.7 MB Notification: Performance of pre-optimization done (n=44): time 4.979e-06/1.592, allocations: 0 / 231.7 MB, free: 8.566 MB / 202.7 MB Notification: Performance of matching and sorting (n=46): time 0.0225/1.614, allocations: 5.516 MB / 237.2 MB, free: 2.945 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/1.614, allocations: 136.5 kB / 237.3 MB, free: 2.781 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003241/1.618, allocations: 0.7493 MB / 238.1 MB, free: 2.023 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005902/1.618, allocations: 37.69 kB / 238.1 MB, free: 1.98 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/1.619, allocations: 204.3 kB / 238.3 MB, free: 1.773 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006943/1.619, allocations: 154.1 kB / 238.5 MB, free: 1.621 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/1.62, allocations: 4 kB / 238.5 MB, free: 1.617 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0003531/1.62, allocations: 382.7 kB / 238.8 MB, free: 1.234 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004078/1.624, allocations: 1.016 MB / 239.8 MB, free: 224 kB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004324/1.629, allocations: 1.107 MB / 241 MB, free: 15.07 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00389/1.633, allocations: 0.9406 MB / 241.9 MB, free: 14.13 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/1.633, allocations: 0 / 241.9 MB, free: 14.13 MB / 218.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0153/1.648, allocations: 3.169 MB / 245.1 MB, free: 10.95 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.837e-05/1.648, allocations: 6.656 kB / 245.1 MB, free: 10.95 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.941e-05/1.648, allocations: 4 kB / 245.1 MB, free: 10.94 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.116/1.764, allocations: 10.92 MB / 256 MB, free: 91.34 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.765, allocations: 134.5 kB / 256.1 MB, free: 91.34 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/1.778, allocations: 6.676 MB / 262.8 MB, free: 88.48 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005318/1.783, allocations: 320.3 kB / 263.1 MB, free: 88.48 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006831/1.784, allocations: 109.5 kB / 263.2 MB, free: 88.48 MB / 218.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: stop2.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: stop1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: supportFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 28 (supportFriction.free,$whenCondition2,stop1.free,$PRE.stop1.startForward,stop1.startForward,$PRE.stop1.startBackward,stop1.startBackward,stop1.locked,$PRE.stop1.mode,stop1.mode,stop1.stopped,$PRE.supportFriction.startForward,supportFriction.startForward,$PRE.supportFriction.startBackward,supportFriction.startBackward,supportFriction.locked,$PRE.supportFriction.mode,supportFriction.mode,$whenCondition1,stop2.free,$PRE.stop2.startForward,stop2.startForward,$PRE.stop2.startBackward,stop2.startBackward,stop2.locked,$PRE.stop2.mode,stop2.mode,stop2.stopped) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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: 0 * Non-linear torn systems: 3 {1 6,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0008779/1.785, allocations: 196.5 kB / 263.4 MB, free: 88.31 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006167/1.786, allocations: 72.38 kB / 263.5 MB, free: 88.31 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006493/1.786, allocations: 93.86 kB / 263.6 MB, free: 88.3 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/1.786, allocations: 3.719 kB / 263.6 MB, free: 88.3 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.786, allocations: 3.5 kB / 263.6 MB, free: 88.3 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/1.786, allocations: 6.016 kB / 263.6 MB, free: 88.3 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/1.803, allocations: 4.342 MB / 267.9 MB, free: 88 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/1.803, allocations: 1 kB / 267.9 MB, free: 88 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/1.804, allocations: 98.56 kB / 268 MB, free: 88 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0194/1.823, allocations: 10.83 MB / 278.9 MB, free: 81.08 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002646/1.824, allocations: 35.97 kB / 278.9 MB, free: 81.04 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/1.835, allocations: 6.587 MB / 285.5 MB, free: 74.23 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/1.835, allocations: 4 kB / 285.5 MB, free: 74.22 MB / 218.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01099/1.846, allocations: 4.139 MB / 289.6 MB, free: 70.04 MB / 218.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01362/1.86, allocations: 5.803 MB / 295.4 MB, free: 64.19 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.861, allocations: 400.1 kB / 295.8 MB, free: 63.78 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000456/1.862, allocations: 19.91 kB / 295.8 MB, free: 63.76 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003558/1.865, allocations: 343.7 kB / 296.2 MB, free: 63.43 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001004/1.867, allocations: 217.7 kB / 296.4 MB, free: 63.21 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002534/1.867, allocations: 99.97 kB / 296.5 MB, free: 63.12 MB / 218.7 MB Notification: Performance of sort global known variables: time 0.001103/1.868, allocations: 0.5889 MB / 297.1 MB, free: 62.53 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.002183/1.87, allocations: 179 kB / 297.2 MB, free: 62.36 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (stop2.s,stop2.v,stop1.s,stop1.v,mass.s,mass.v) * Number of discrete variables: 18 ($whenCondition1,stop2.free,stop2.startForward,stop2.startBackward,stop2.locked,stop2.mode,stop2.stopped,$whenCondition2,stop1.free,stop1.startForward,stop1.startBackward,stop1.locked,stop1.mode,stop1.stopped,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode) * Number of discrete states: 11 (supportFriction.mode,supportFriction.startForward,supportFriction.startBackward,stop1.mode,stop1.startBackward,stop1.startForward,$whenCondition2,stop2.mode,stop2.startBackward,stop2.startForward,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * 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: 0 * Non-linear torn systems: 3 {1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000471/1.871, allocations: 150.6 kB / 297.4 MB, free: 62.21 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.002766/1.873, allocations: 1.624 MB / 299 MB, free: 60.57 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.873, allocations: 0 / 299 MB, free: 60.57 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/1.875, allocations: 0.9267 MB / 299.9 MB, free: 59.62 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/1.876, allocations: 54.08 kB / 300 MB, free: 59.57 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006532/1.883, allocations: 1.672 MB / 301.7 MB, free: 57.89 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/1.884, allocations: 0.9712 MB / 302.6 MB, free: 56.9 MB / 218.7 MB Notification: Performance of SimCode: time 1.924e-06/1.884, allocations: 0 / 302.6 MB, free: 56.9 MB / 218.7 MB