Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia3.phi|inertia3.w|spring.phi_rel|spring.w_rel|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction") Notification: Performance of loadModel(Modelica): time 1.779/1.779, allocations: 194.9 MB / 210.6 MB, free: 8.145 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.461e-05/2.462e-05, allocations: 4 kB / 258.8 MB, free: 7.855 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2827, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.00385/0.2866, allocations: 2.385 MB / 305.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.2886, allocations: 0.8412 MB / 306.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.2888, allocations: 11.94 kB / 306.6 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.289, allocations: 39.69 kB / 306.6 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003929/0.2894, allocations: 135.6 kB / 306.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.2898, allocations: 151.7 kB / 306.9 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005071/0.2904, allocations: 308.4 kB / 307.2 MB, free: 9.707 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.2906, allocations: 61.16 kB / 307.2 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000398/0.291, allocations: 215.4 kB / 307.4 MB, free: 9.434 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004213/0.2914, allocations: 251.3 kB / 307.7 MB, free: 9.188 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.2916, allocations: 59.95 kB / 307.8 MB, free: 9.129 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.249e-05/0.2917, allocations: 28 kB / 307.8 MB, free: 9.102 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.2919, allocations: 87.66 kB / 307.9 MB, free: 9.016 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.292, allocations: 43.94 kB / 307.9 MB, free: 8.973 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006032/0.2926, allocations: 417.2 kB / 308.3 MB, free: 8.566 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2927, allocations: 0 / 308.3 MB, free: 8.566 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2927, allocations: 0 / 308.3 MB, free: 8.566 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.2927, allocations: 0 / 308.3 MB, free: 8.566 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001863/0.2946, allocations: 0.6905 MB / 309 MB, free: 7.828 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.2946, allocations: 8.031 kB / 309 MB, free: 7.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.2948, allocations: 55.34 kB / 309.1 MB, free: 7.766 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.2953, allocations: 322.2 kB / 309.4 MB, free: 7.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.2954, allocations: 33 kB / 309.4 MB, free: 7.375 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.2955, allocations: 39.91 kB / 309.5 MB, free: 7.336 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.2969, allocations: 474.2 kB / 309.9 MB, free: 6.867 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.2969, allocations: 8 kB / 309.9 MB, free: 6.859 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.737e-05/0.297, allocations: 16 kB / 309.9 MB, free: 6.844 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.297, allocations: 8 kB / 309.9 MB, free: 6.836 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.2987, allocations: 487.7 kB / 310.4 MB, free: 6.363 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003141/0.3018, allocations: 1.156 MB / 311.6 MB, free: 5.152 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.3031, allocations: 392.9 kB / 312 MB, free: 4.762 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-05/0.3032, allocations: 16.39 kB / 312 MB, free: 4.746 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3032, allocations: 35 kB / 312 MB, free: 4.703 MB / 250.7 MB Notification: Performance of pre-optimization done (n=50): time 2.324e-06/0.3033, allocations: 0 / 312 MB, free: 4.703 MB / 250.7 MB Notification: Performance of matching and sorting (n=56): time 0.008476/0.3117, allocations: 2.422 MB / 314.4 MB, free: 2.152 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.3118, allocations: 59.97 kB / 314.5 MB, free: 2.082 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003998/0.3122, allocations: 258.4 kB / 314.7 MB, free: 1.824 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-05/0.3123, allocations: 37.7 kB / 314.8 MB, free: 1.781 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.3125, allocations: 185.3 kB / 315 MB, free: 1.594 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.3127, allocations: 193.4 kB / 315.2 MB, free: 1.402 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.3128, allocations: 8 kB / 315.2 MB, free: 1.395 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.313, allocations: 350.8 kB / 315.5 MB, free: 1.043 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008307/0.3138, allocations: 241.2 kB / 315.7 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008839/0.3147, allocations: 296.8 kB / 316 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007388/0.3155, allocations: 211.1 kB / 316.2 MB, free: 312 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3155, allocations: 0 / 316.2 MB, free: 312 kB / 250.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002456/0.318, allocations: 0.7445 MB / 317 MB, free: 15.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.318, allocations: 19.95 kB / 317 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.318, allocations: 0 / 317 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/0.3195, allocations: 0.4896 MB / 317.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.3202, allocations: 91.83 kB / 317.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.3221, allocations: 1.409 MB / 319 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009503/0.3231, allocations: 100.1 kB / 319.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.48e-05/0.3232, allocations: 24 kB / 319.1 MB, free: 13.36 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 (clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003102/0.3235, allocations: 168.7 kB / 319.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.3236, allocations: 43.48 kB / 319.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.3238, allocations: 59.73 kB / 319.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.3238, allocations: 7.984 kB / 319.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3239, allocations: 0 / 319.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3239, allocations: 0 / 319.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00442/0.3283, allocations: 1.474 MB / 320.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.3283, allocations: 4 kB / 320.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007303/0.3291, allocations: 87.89 kB / 320.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001322/0.3304, allocations: 485.7 kB / 321.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.74e-05/0.3305, allocations: 23.91 kB / 321.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.3322, allocations: 1.37 MB / 322.8 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3323, allocations: 8.094 kB / 322.8 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003296/0.3356, allocations: 1.147 MB / 324 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.3359, allocations: 164.6 kB / 324.1 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.336, allocations: 20 kB / 324.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000795/0.3369, allocations: 87.88 kB / 324.2 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/0.3372, allocations: 112.2 kB / 324.3 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.099e-05/0.3373, allocations: 23.97 kB / 324.4 MB, free: 7.867 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000287/0.3376, allocations: 198 kB / 324.6 MB, free: 7.672 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.705e-06/0.3376, allocations: 0 / 324.6 MB, free: 7.672 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006275/0.3382, allocations: 139.9 kB / 324.7 MB, free: 7.535 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (clutch.phi_rel,clutch.w_rel,spring.phi_rel,spring.w_rel,inertia1.phi,inertia1.w) * Number of discrete variables: 10 (clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,clutch.free) * Number of discrete states: 6 (brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startForward,clutch.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 41 * 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 Backend phase and start with SimCode phase: time 0.00029/0.3385, allocations: 155.1 kB / 324.8 MB, free: 7.375 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.3406, allocations: 0.5966 MB / 325.4 MB, free: 6.785 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3406, allocations: 0 / 325.4 MB, free: 6.785 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.3418, allocations: 346.4 kB / 325.8 MB, free: 6.445 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.3425, allocations: 65.7 kB / 325.8 MB, free: 6.383 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006521/0.349, allocations: 1.75 MB / 327.6 MB, free: 4.586 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.3495, allocations: 0.8248 MB / 328.4 MB, free: 3.734 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002813/0.3498, allocations: 39.27 kB / 328.5 MB, free: 3.699 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.35, allocations: 39.42 kB / 328.5 MB, free: 3.66 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.35, allocations: 4 kB / 328.5 MB, free: 3.656 MB / 266.7 MB Notification: Performance of Templates: time 0.02258/0.3726, allocations: 8.904 MB / 337.4 MB, free: 10.76 MB / 282.7 MB