Notification: Performance of FrontEnd - loaded program: time 2.259e-05/2.268e-05, allocations: 0 / 329.3 MB, free: 15 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09925/0.09931, allocations: 44.52 MB / 373.9 MB, free: 2.566 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2113/0.3106, allocations: 72.53 MB / 446.4 MB, free: 16.34 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.3109, allocations: 67.34 kB / 446.5 MB, free: 16.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02473/0.3356, allocations: 5.418 MB / 451.9 MB, free: 10.9 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.342e-06/0.3357, allocations: 3.938 kB / 451.9 MB, free: 10.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.451e-05/0.3357, allocations: 8 kB / 451.9 MB, free: 10.89 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001474/0.3372, allocations: 0.588 MB / 452.5 MB, free: 10.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3373, allocations: 8.031 kB / 452.5 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.3374, allocations: 35.62 kB / 452.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.3379, allocations: 286.1 kB / 452.8 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.3379, allocations: 12.56 kB / 452.8 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.3381, allocations: 19.91 kB / 452.8 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001008/0.3391, allocations: 325 kB / 453.2 MB, free: 9.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000867/0.34, allocations: 307.6 kB / 453.5 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.34, allocations: 0 / 453.5 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-05/0.3401, allocations: 0 / 453.5 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.3401, allocations: 8 kB / 453.5 MB, free: 9.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.3433, allocations: 1.065 MB / 454.5 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006615/0.344, allocations: 275 kB / 454.8 MB, free: 7.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/0.3445, allocations: 164.7 kB / 455 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.568e-05/0.3446, allocations: 11.94 kB / 455 MB, free: 7.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.3446, allocations: 38.55 kB / 455 MB, free: 7.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 3.967e-06/0.3446, allocations: 4 kB / 455 MB, free: 7.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=47): time 0.00509/0.3497, allocations: 1.428 MB / 456.4 MB, free: 6.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.3498, allocations: 55.84 kB / 456.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.35, allocations: 183.6 kB / 456.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.707e-05/0.3501, allocations: 37.69 kB / 456.7 MB, free: 5.762 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.861e-05/0.3502, allocations: 148.8 kB / 456.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.3504, allocations: 149.9 kB / 457 MB, free: 5.461 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.3505, allocations: 3.984 kB / 457 MB, free: 5.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.3506, allocations: 334.8 kB / 457.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.3511, allocations: 161.1 kB / 457.5 MB, free: 4.965 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005582/0.3517, allocations: 243.8 kB / 457.7 MB, free: 4.699 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007902/0.3525, allocations: 140.7 kB / 457.9 MB, free: 4.559 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.883e-06/0.3525, allocations: 0 / 457.9 MB, free: 4.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002493/0.355, allocations: 0.5909 MB / 458.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.3551, allocations: 8 kB / 458.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/0.3551, allocations: 4.156 kB / 458.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.3563, allocations: 370.2 kB / 458.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/0.3568, allocations: 79.84 kB / 458.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.3587, allocations: 1.351 MB / 460.3 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000846/0.3595, allocations: 88.06 kB / 460.3 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.3597, allocations: 28.08 kB / 460.4 MB, free: 1.98 MB / 318.1 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 (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002658/0.36, allocations: 129.5 kB / 460.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.3601, allocations: 36.14 kB / 460.5 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/0.3627, allocations: 0.5977 MB / 461.1 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.3628, allocations: 4 kB / 461.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.031e-06/0.3628, allocations: 0 / 461.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.3628, allocations: 7.922 kB / 461.1 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004479/0.3673, allocations: 1.224 MB / 462.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-06/0.3673, allocations: 0 / 462.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/0.3679, allocations: 59.91 kB / 462.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/0.3691, allocations: 341.5 kB / 462.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.514e-05/0.3692, allocations: 19.97 kB / 462.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.3713, allocations: 1.3 MB / 464.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.123e-06/0.3714, allocations: 128 / 464.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0224/0.3938, allocations: 7.515 MB / 471.6 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.3941, allocations: 148.8 kB / 471.7 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.163e-05/0.3942, allocations: 7.953 kB / 471.7 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/0.3946, allocations: 48.02 kB / 471.8 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/0.395, allocations: 103.7 kB / 471.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.701e-05/0.3951, allocations: 23.97 kB / 471.9 MB, free: 5.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002267/0.3954, allocations: 144.5 kB / 472.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.67e-07/0.3954, allocations: 4 kB / 472.1 MB, free: 5.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001348/0.3967, allocations: 151.9 kB / 472.2 MB, free: 5.512 MB / 334.1 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 (35): * Single equations (assignments): 33 * 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.0004651/0.3972, allocations: 175 kB / 472.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001587/0.3988, allocations: 480.6 kB / 472.8 MB, free: 4.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.21e-06/0.3989, allocations: 320 / 472.8 MB, free: 4.852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009539/0.3998, allocations: 267.9 kB / 473.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006244/0.4005, allocations: 36.59 kB / 473.1 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.4047, allocations: 1.328 MB / 474.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.4053, allocations: 0.7956 MB / 475.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002348/0.4055, allocations: 35.27 kB / 475.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.4057, allocations: 39.42 kB / 475.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of SimCode: time 1.249e-06/0.4057, allocations: 0 / 475.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of Templates: time 0.02275/0.4284, allocations: 8.971 MB / 484.3 MB, free: 9.293 MB / 350.1 MB