[: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.208/1.208, allocations: 111.2 MB / 118.2 MB, free: 15.62 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.07736/1.286, allocations: 27.49 MB / 145.7 MB, free: 4.156 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/1.448, allocations: 25.15 MB / 170.8 MB, free: 1.84 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08109/1.529, allocations: 34.09 MB / 204.9 MB, free: 3.566 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/1.53, allocations: 59.97 kB / 205 MB, free: 3.508 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0267/1.556, allocations: 5.379 MB / 210.4 MB, free: 14.07 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/1.556, allocations: 19.94 kB / 210.4 MB, free: 14.05 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/1.557, allocations: 31.62 kB / 210.4 MB, free: 14.02 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/1.557, allocations: 262.4 kB / 210.7 MB, free: 13.72 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/1.557, allocations: 12 kB / 210.7 MB, free: 13.71 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/1.557, allocations: 19.91 kB / 210.7 MB, free: 13.69 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00119/1.558, allocations: 365.1 kB / 211.1 MB, free: 13.33 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009338/1.559, allocations: 324.6 kB / 211.4 MB, free: 13.01 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/1.56, allocations: 3.984 kB / 211.4 MB, free: 13.01 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/1.56, allocations: 0 / 211.4 MB, free: 13.01 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/1.56, allocations: 8 kB / 211.4 MB, free: 13 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003785/1.563, allocations: 1.061 MB / 212.5 MB, free: 11.87 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/1.564, allocations: 253.6 kB / 212.7 MB, free: 11.61 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004687/1.565, allocations: 168.8 kB / 212.9 MB, free: 11.45 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.629e-05/1.565, allocations: 7.984 kB / 212.9 MB, free: 11.44 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/1.565, allocations: 43.48 kB / 212.9 MB, free: 11.39 MB / 186.7 MB Notification: Performance of pre-optimization done (n=37): time 3.206e-06/1.565, allocations: 0 / 212.9 MB, free: 11.39 MB / 186.7 MB Notification: Performance of matching and sorting (n=43): time 0.005551/1.57, allocations: 1.372 MB / 214.3 MB, free: 9.91 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/1.57, allocations: 55.41 kB / 214.3 MB, free: 9.844 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/1.571, allocations: 183 kB / 214.5 MB, free: 9.66 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/1.571, allocations: 37.69 kB / 214.6 MB, free: 9.617 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/1.571, allocations: 144.7 kB / 214.7 MB, free: 9.473 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/1.571, allocations: 142 kB / 214.8 MB, free: 9.332 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/1.571, allocations: 0 / 214.8 MB, free: 9.332 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/1.571, allocations: 334.8 kB / 215.2 MB, free: 8.996 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000562/1.572, allocations: 181 kB / 215.3 MB, free: 8.816 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006738/1.573, allocations: 247.3 kB / 215.6 MB, free: 8.551 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006813/1.573, allocations: 156.7 kB / 215.7 MB, free: 8.398 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/1.573, allocations: 4 kB / 215.7 MB, free: 8.395 MB / 186.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002581/1.576, allocations: 0.6176 MB / 216.4 MB, free: 7.766 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/1.576, allocations: 6.656 kB / 216.4 MB, free: 7.762 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/1.576, allocations: 4 kB / 216.4 MB, free: 7.758 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001457/1.578, allocations: 481.4 kB / 216.8 MB, free: 7.281 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/1.578, allocations: 67.91 kB / 216.9 MB, free: 7.215 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/1.581, allocations: 1.433 MB / 218.3 MB, free: 5.73 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/1.582, allocations: 96.05 kB / 218.4 MB, free: 5.637 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/1.582, allocations: 23.98 kB / 218.5 MB, free: 5.613 MB / 186.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake.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: brake1.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: 8 * Number of states: 0 () * Number of discrete variables: 16 (brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,brake1.free,$PRE.brake1.startForward,brake1.startForward,$PRE.brake1.startBackward,brake1.startBackward,brake1.locked,$PRE.brake1.mode,brake1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 45 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003057/1.582, allocations: 125.7 kB / 218.6 MB, free: 5.484 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/1.582, allocations: 27.66 kB / 218.6 MB, free: 5.457 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/1.582, allocations: 42.77 kB / 218.7 MB, free: 5.414 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/1.583, allocations: 7.938 kB / 218.7 MB, free: 5.406 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/1.583, allocations: 0 / 218.7 MB, free: 5.406 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/1.583, allocations: 11.89 kB / 218.7 MB, free: 5.395 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004786/1.587, allocations: 1.248 MB / 219.9 MB, free: 4.074 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/1.587, allocations: 4.031 kB / 219.9 MB, free: 4.07 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/1.588, allocations: 67.97 kB / 220 MB, free: 4.004 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/1.589, allocations: 445.4 kB / 220.4 MB, free: 3.562 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.509e-05/1.589, allocations: 19.97 kB / 220.4 MB, free: 3.543 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/1.591, allocations: 1.37 MB / 221.8 MB, free: 2.121 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/1.591, allocations: 4 kB / 221.8 MB, free: 2.117 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00301/1.594, allocations: 0.926 MB / 222.7 MB, free: 1.121 MB / 186.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003911/1.598, allocations: 1.516 MB / 224.3 MB, free: 15.54 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003461/1.599, allocations: 148.7 kB / 224.4 MB, free: 15.37 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/1.599, allocations: 12 kB / 224.4 MB, free: 15.36 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006363/1.6, allocations: 47.95 kB / 224.5 MB, free: 15.31 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/1.6, allocations: 103.8 kB / 224.6 MB, free: 15.21 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.119e-05/1.6, allocations: 23.97 kB / 224.6 MB, free: 15.19 MB / 202.7 MB Notification: Performance of sort global known variables: time 0.0002123/1.6, allocations: 141.9 kB / 224.7 MB, free: 15.05 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001527/1.602, allocations: 87.94 kB / 224.8 MB, free: 14.96 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (mass1.s,mass1.v,mass2.s,mass2.v) * Number of discrete variables: 10 (brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,brake1.free,brake1.startForward,brake1.startBackward,brake1.locked,brake1.mode) * Number of discrete states: 6 (brake1.mode,brake1.startForward,brake1.startBackward,brake.mode,brake.startForward,brake.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003453/1.602, allocations: 135.6 kB / 224.9 MB, free: 14.82 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001488/1.604, allocations: 445.3 kB / 225.4 MB, free: 14.39 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.604, allocations: 8 kB / 225.4 MB, free: 14.38 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/1.605, allocations: 247.6 kB / 225.6 MB, free: 14.14 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/1.606, allocations: 29.27 kB / 225.7 MB, free: 14.11 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/1.608, allocations: 0.692 MB / 226.3 MB, free: 13.38 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006647/1.609, allocations: 0.8192 MB / 227.2 MB, free: 12.54 MB / 202.7 MB Notification: Performance of SimCode: time 1.243e-06/1.609, allocations: 0 / 227.2 MB, free: 12.54 MB / 202.7 MB