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.1_ModelicaTest.Rotational.TestFriction") Notification: Performance of loadModel(ModelicaTest): time 1.977/1.977, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.353e-05/4.381e-05, allocations: 6.109 kB / 273.1 MB, free: 3.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 48.69 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4342/0.5658, allocations: 80 MB / 401.8 MB, free: 6.336 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.566, allocations: 68 kB / 401.8 MB, free: 6.328 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04509/0.6111, allocations: 11.47 MB / 413.3 MB, free: 2.008 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.6111, allocations: 3.906 kB / 413.3 MB, free: 2.008 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.758e-05/0.6112, allocations: 15.5 kB / 413.3 MB, free: 2.004 MB / 314.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.002123/0.6133, allocations: 0.9468 MB / 414.3 MB, free: 1.348 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.6134, allocations: 7.656 kB / 414.3 MB, free: 1.348 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.6136, allocations: 85.23 kB / 414.4 MB, free: 1.305 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006493/0.6143, allocations: 408 kB / 414.8 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/0.6143, allocations: 48.41 kB / 414.8 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.6145, allocations: 59.91 kB / 414.9 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.6161, allocations: 0.775 MB / 415.7 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.279e-05/0.6161, allocations: 7.781 kB / 415.7 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.6162, allocations: 27.62 kB / 415.7 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.6163, allocations: 15.12 kB / 415.7 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.6178, allocations: 0.6696 MB / 416.4 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005671/0.6235, allocations: 2.595 MB / 419 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.6251, allocations: 0.5783 MB / 419.5 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007374/0.6259, allocations: 346 kB / 419.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-05/0.626, allocations: 16.03 kB / 419.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.626, allocations: 41.5 kB / 419.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 4.855e-06/0.626, allocations: 0 / 419.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=76): time 0.006161/0.6322, allocations: 2.551 MB / 422.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.6324, allocations: 147 kB / 422.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006566/0.6331, allocations: 370 kB / 423 MB, free: 11.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.6332, allocations: 48.08 kB / 423 MB, free: 10.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.6335, allocations: 283.5 kB / 423.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/0.6339, allocations: 266.7 kB / 423.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/0.634, allocations: 20.88 kB / 423.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.6342, allocations: 374 kB / 424 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008468/0.6351, allocations: 341.9 kB / 424.3 MB, free: 9.984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009815/0.636, allocations: 498.8 kB / 424.8 MB, free: 9.578 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007508/0.6368, allocations: 299.3 kB / 425.1 MB, free: 9.371 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.455e-06/0.6368, allocations: 7.938 kB / 425.1 MB, free: 9.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003388/0.6402, allocations: 1.26 MB / 426.3 MB, free: 8.398 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.6403, allocations: 8 kB / 426.3 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.6403, allocations: 4 kB / 426.4 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001941/0.6423, allocations: 0.7857 MB / 427.1 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008352/0.6431, allocations: 158.2 kB / 427.3 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00325/0.6464, allocations: 2.67 MB / 430 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.6478, allocations: 197.9 kB / 430.2 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.6479, allocations: 45.8 kB / 430.2 MB, free: 4.84 MB / 330.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.0003096/0.6482, allocations: 166.3 kB / 430.4 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.6485, allocations: 71.19 kB / 430.4 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.6487, allocations: 79.95 kB / 430.5 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.6488, allocations: 12 kB / 430.5 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.6488, allocations: 0 / 430.5 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.6488, allocations: 7.984 kB / 430.5 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005526/0.6544, allocations: 2.235 MB / 432.8 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.6544, allocations: 0 / 432.8 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008486/0.6553, allocations: 122.7 kB / 432.9 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001852/0.6571, allocations: 0.7516 MB / 433.6 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.6573, allocations: 30.7 kB / 433.7 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003148/0.6605, allocations: 2.618 MB / 436.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.992e-06/0.6605, allocations: 256 / 436.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004166/0.6647, allocations: 1.809 MB / 438.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005508/0.6653, allocations: 218 kB / 438.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.6655, allocations: 33.42 kB / 438.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.6667, allocations: 174.3 kB / 438.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004688/0.6672, allocations: 173.1 kB / 438.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.6673, allocations: 39.7 kB / 438.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004672/0.6678, allocations: 276.8 kB / 439 MB, free: 13.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.59e-07/0.6678, allocations: 0 / 439 MB, free: 13.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00111/0.6689, allocations: 195.9 kB / 439.2 MB, free: 13.11 MB / 346.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.0003318/0.6693, allocations: 164.2 kB / 439.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00228/0.6716, allocations: 0.8382 MB / 440.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.466e-06/0.6716, allocations: 0 / 440.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.673, allocations: 455.8 kB / 440.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009992/0.674, allocations: 99.91 kB / 440.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006068/0.6801, allocations: 2.002 MB / 442.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007574/0.6809, allocations: 0.926 MB / 443.6 MB, free: 9.133 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004353/0.6814, allocations: 64.83 kB / 443.7 MB, free: 9.066 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.6816, allocations: 46.47 kB / 443.8 MB, free: 9.023 MB / 346.7 MB Notification: Performance of SimCode: time 1.866e-06/0.6816, allocations: 0 / 443.8 MB, free: 9.023 MB / 346.7 MB Notification: Performance of Templates: time 0.03115/0.7128, allocations: 12.75 MB / 456.5 MB, free: 12.33 MB / 362.7 MB