Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadModel(ModelicaTest): time 2.088/2.088, allocations: 209.3 MB / 223.8 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.995e-05/4.99e-05, allocations: 7.984 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3596, allocations: 48.69 MB / 324.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002997/0.3627, allocations: 1.76 MB / 326.6 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.3644, allocations: 0.649 MB / 327.3 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.3647, allocations: 8.562 kB / 327.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.3649, allocations: 24.86 kB / 327.3 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.3651, allocations: 70.44 kB / 327.4 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.3656, allocations: 93.95 kB / 327.5 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.3659, allocations: 159 kB / 327.6 MB, free: 2.023 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.3661, allocations: 48.95 kB / 327.7 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.3664, allocations: 105 kB / 327.8 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.3666, allocations: 123.7 kB / 327.9 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/0.3669, allocations: 97.52 kB / 328 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.367, allocations: 16.91 kB / 328 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.967e-05/0.3671, allocations: 48.95 kB / 328.1 MB, free: 1.871 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.119e-05/0.3672, allocations: 19.5 kB / 328.1 MB, free: 1.871 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004628/0.3676, allocations: 254.1 kB / 328.3 MB, free: 1.812 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3676, allocations: 0 / 328.3 MB, free: 1.812 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3677, allocations: 0 / 328.3 MB, free: 1.812 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.3677, allocations: 0 / 328.3 MB, free: 1.812 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001092/0.3688, allocations: 0.5042 MB / 328.8 MB, free: 1.387 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3688, allocations: 9.219 kB / 328.8 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.138e-05/0.3689, allocations: 28.84 kB / 328.9 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.3693, allocations: 245.1 kB / 329.1 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.3693, allocations: 14.22 kB / 329.1 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.216e-05/0.3694, allocations: 30.77 kB / 329.2 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007442/0.3702, allocations: 257.1 kB / 329.4 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.3702, allocations: 0 / 329.4 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.3702, allocations: 7 kB / 329.4 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.3703, allocations: 10.36 kB / 329.4 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007509/0.371, allocations: 233.4 kB / 329.7 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.373, allocations: 0.7217 MB / 330.4 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008184/0.3738, allocations: 248.4 kB / 330.6 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.3739, allocations: 2.75 kB / 330.6 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.3739, allocations: 37.06 kB / 330.7 MB, free: 328 kB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 3.387e-06/0.3739, allocations: 0 / 330.7 MB, free: 328 kB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.005312/0.3792, allocations: 1.569 MB / 332.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.3793, allocations: 56.28 kB / 332.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.3797, allocations: 177 kB / 332.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/0.3798, allocations: 41.66 kB / 332.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.3799, allocations: 135.7 kB / 332.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.3801, allocations: 112.7 kB / 332.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.3801, allocations: 9.312 kB / 332.7 MB, free: 14.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3803, allocations: 334.9 kB / 333.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.3807, allocations: 121.8 kB / 333.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/0.3813, allocations: 164.3 kB / 333.3 MB, free: 14.49 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004039/0.3817, allocations: 111.5 kB / 333.5 MB, free: 14.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.3817, allocations: 5.047 kB / 333.5 MB, free: 14.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001743/0.3834, allocations: 0.5109 MB / 334 MB, free: 14.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.3835, allocations: 10.02 kB / 334 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.3835, allocations: 1.516 kB / 334 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007416/0.3843, allocations: 184.2 kB / 334.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.3848, allocations: 56.64 kB / 334.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.386, allocations: 0.7281 MB / 334.9 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000558/0.3866, allocations: 54.5 kB / 335 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.3866, allocations: 11.94 kB / 335 MB, free: 13.55 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002799/0.3869, allocations: 151.5 kB / 335.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.076e-05/0.387, allocations: 22.78 kB / 335.2 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.3871, allocations: 37.48 kB / 335.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.3872, allocations: 3.531 kB / 335.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.3872, allocations: 0.6562 kB / 335.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3872, allocations: 1.594 kB / 335.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002754/0.39, allocations: 1.007 MB / 336.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.39, allocations: 1.188 kB / 336.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/0.3904, allocations: 44.81 kB / 336.3 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005589/0.391, allocations: 175.5 kB / 336.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.3911, allocations: 8.594 kB / 336.5 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009616/0.392, allocations: 0.6963 MB / 337.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3921, allocations: 2.109 kB / 337.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.3942, allocations: 0.7234 MB / 337.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.3945, allocations: 123.2 kB / 338 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.039e-05/0.3946, allocations: 17.05 kB / 338 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004903/0.3951, allocations: 53.31 kB / 338.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.3953, allocations: 50.84 kB / 338.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.3954, allocations: 14.39 kB / 338.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002067/0.3956, allocations: 152.5 kB / 338.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3956, allocations: 0 / 338.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005182/0.3961, allocations: 74.56 kB / 338.4 MB, free: 11.45 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002544/0.3964, allocations: 126.1 kB / 338.5 MB, free: 11.35 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.3975, allocations: 308.8 kB / 338.8 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3975, allocations: 0 / 338.8 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005785/0.3981, allocations: 165.2 kB / 338.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.3986, allocations: 30.17 kB / 339 MB, free: 11.19 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.4021, allocations: 0.9347 MB / 339.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.4025, allocations: 0.7579 MB / 340.7 MB, free: 9.996 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000173/0.4027, allocations: 23.45 kB / 340.7 MB, free: 9.992 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.856e-05/0.4028, allocations: 21.2 kB / 340.7 MB, free: 9.984 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4028, allocations: 0 / 340.7 MB, free: 9.984 MB / 282.7 MB Notification: Performance of Templates: time 0.01308/0.4159, allocations: 4.147 MB / 344.9 MB, free: 8.062 MB / 282.7 MB