Running command: translateModel(ModelicaTest.Rotational.TestFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia.phi|inertia.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestFriction") Notification: Performance of loadModel(ModelicaTest): time 2.435/2.435, allocations: 234.9 MB / 249.4 MB, free: 10.99 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.933e-05/2.939e-05, allocations: 0 / 308 MB, free: 336 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3747, allocations: 54.87 MB / 362.9 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.006166/0.381, allocations: 3.05 MB / 365.9 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003672/0.3847, allocations: 1.1 MB / 367 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007567/0.3856, allocations: 23.88 kB / 367.1 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004058/0.386, allocations: 79.39 kB / 367.1 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.3871, allocations: 223.3 kB / 367.3 MB, free: 7.328 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008748/0.388, allocations: 247.6 kB / 367.6 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.3891, allocations: 485.3 kB / 368.1 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.3893, allocations: 94.91 kB / 368.2 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006753/0.39, allocations: 351.1 kB / 368.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007297/0.3908, allocations: 402.8 kB / 368.9 MB, free: 5.781 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.3911, allocations: 79.91 kB / 369 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.3913, allocations: 40 kB / 369 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.3916, allocations: 151.5 kB / 369.2 MB, free: 5.516 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.3918, allocations: 60 kB / 369.2 MB, free: 5.457 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.3929, allocations: 0.649 MB / 369.9 MB, free: 4.809 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3929, allocations: 0 / 369.9 MB, free: 4.809 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3929, allocations: 0 / 369.9 MB, free: 4.809 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.3929, allocations: 0 / 369.9 MB, free: 4.809 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.003381/0.3963, allocations: 0.9477 MB / 370.8 MB, free: 3.809 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.3964, allocations: 8.031 kB / 370.8 MB, free: 3.801 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003732/0.3968, allocations: 79.06 kB / 370.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.3979, allocations: 412.7 kB / 371.3 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.013e-05/0.3981, allocations: 49.25 kB / 371.3 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002736/0.3983, allocations: 63.91 kB / 371.4 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003373/0.4017, allocations: 0.8296 MB / 372.2 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.117e-05/0.4018, allocations: 15.91 kB / 372.3 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.402, allocations: 20 kB / 372.3 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.4021, allocations: 19.95 kB / 372.3 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003961/0.4061, allocations: 0.7894 MB / 373.1 MB, free: 1.461 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/0.4165, allocations: 2.636 MB / 375.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/0.4198, allocations: 0.6478 MB / 376.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.42, allocations: 8.375 kB / 376.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/0.4201, allocations: 47.67 kB / 376.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 4.789e-06/0.4201, allocations: 0 / 376.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=76): time 0.0195/0.4396, allocations: 3.724 MB / 380.1 MB, free: 9.977 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.4398, allocations: 148.4 kB / 380.3 MB, free: 9.801 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.4409, allocations: 373 kB / 380.7 MB, free: 9.422 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002936/0.4412, allocations: 49.7 kB / 380.7 MB, free: 9.367 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/0.4416, allocations: 276.4 kB / 381 MB, free: 9.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005564/0.4422, allocations: 268.4 kB / 381.2 MB, free: 8.824 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.4424, allocations: 20 kB / 381.3 MB, free: 8.805 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002788/0.4427, allocations: 362.8 kB / 381.6 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/0.4449, allocations: 405.8 kB / 382 MB, free: 8.047 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002682/0.4476, allocations: 0.5529 MB / 382.6 MB, free: 7.441 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.4499, allocations: 341 kB / 382.9 MB, free: 7.109 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.329e-05/0.45, allocations: 4 kB / 382.9 MB, free: 7.105 MB / 314.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.005681/0.4557, allocations: 1.294 MB / 384.2 MB, free: 5.797 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.4558, allocations: 8.188 kB / 384.2 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.4558, allocations: 8 kB / 384.2 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002563/0.4584, allocations: 0.7567 MB / 385 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.4596, allocations: 159.7 kB / 385.1 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003742/0.4634, allocations: 2.69 MB / 387.8 MB, free: 2.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/0.4654, allocations: 191.8 kB / 388 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.4656, allocations: 35.98 kB / 388 MB, free: 1.836 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free,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,bearingFriction.free,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 87 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 6,1 7,1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006093/0.4662, allocations: 216.3 kB / 388.2 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.4665, allocations: 63.2 kB / 388.3 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.4668, allocations: 95.84 kB / 388.4 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.4669, allocations: 8 kB / 388.4 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.4669, allocations: 0 / 388.4 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.4669, allocations: 3.984 kB / 388.4 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007114/0.474, allocations: 2.194 MB / 390.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-05/0.4741, allocations: 8 kB / 390.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.4753, allocations: 119.9 kB / 390.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002345/0.4776, allocations: 0.7257 MB / 391.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003066/0.478, allocations: 27.97 kB / 391.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006104/0.4841, allocations: 2.639 MB / 394.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/0.4842, allocations: 7.969 kB / 394.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009487/0.4937, allocations: 1.839 MB / 396 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009795/0.4948, allocations: 224.2 kB / 396.2 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004327/0.4953, allocations: 20 kB / 396.2 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002934/0.4982, allocations: 175.8 kB / 396.4 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009879/0.4993, allocations: 179.5 kB / 396.6 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002488/0.4996, allocations: 35.95 kB / 396.6 MB, free: 9.012 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008548/0.5005, allocations: 287.1 kB / 396.9 MB, free: 8.727 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.352e-06/0.5005, allocations: 0 / 396.9 MB, free: 8.727 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002315/0.5029, allocations: 196 kB / 397.1 MB, free: 8.535 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (inertia4.phi,inertia4.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,inertia2.phi,inertia2.w,clutch.phi_rel,clutch.w_rel,inertia1.w,brake.phi,inertia.w,bearingFriction.phi) * Number of discrete variables: 18 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 11 (bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,brake.mode,brake.startForward,brake.startBackward,clutch.mode,clutch.startForward,clutch.startBackward,oneWayClutch.stuck,oneWayClutch.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 6,1 7,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009546/0.5039, allocations: 155.1 kB / 397.2 MB, free: 8.375 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00705/0.511, allocations: 0.9778 MB / 398.2 MB, free: 7.398 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/0.5111, allocations: 4.062 kB / 398.2 MB, free: 7.395 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003702/0.5149, allocations: 0.5197 MB / 398.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.5168, allocations: 92 kB / 398.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.5305, allocations: 2.533 MB / 401.3 MB, free: 4.215 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000952/0.5315, allocations: 0.9222 MB / 402.3 MB, free: 3.266 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008276/0.5324, allocations: 60.83 kB / 402.3 MB, free: 3.203 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.5328, allocations: 47.41 kB / 402.4 MB, free: 3.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.633e-06/0.5328, allocations: 0 / 402.4 MB, free: 3.16 MB / 330.7 MB Notification: Performance of Templates: time 0.05311/0.5859, allocations: 14.01 MB / 416.4 MB, free: 5.172 MB / 346.7 MB