Running command: translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadModel(Modelica): time 2.113/2.113, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.793e-05/2.801e-05, allocations: 4 kB / 292.7 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08992/0.08997, allocations: 50.42 MB / 343.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4012/0.4912, allocations: 79.24 MB / 422.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/0.4916, allocations: 77.33 kB / 422.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02535/0.517, allocations: 3.972 MB / 426.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.663e-06/0.5171, allocations: 0 / 426.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.427e-05/0.5171, allocations: 4 kB / 426.4 MB, free: 11.54 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001113/0.5182, allocations: 479.6 kB / 426.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.5183, allocations: 8.031 kB / 426.8 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.5184, allocations: 23.72 kB / 426.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.5189, allocations: 226.5 kB / 427.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.519, allocations: 16 kB / 427.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.608e-05/0.5191, allocations: 19.31 kB / 427.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000704/0.5198, allocations: 211.2 kB / 427.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.5198, allocations: 0 / 427.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/0.5199, allocations: 11.89 kB / 427.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.5199, allocations: 7.938 kB / 427.4 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006378/0.5206, allocations: 142.3 kB / 427.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.5231, allocations: 0.7803 MB / 428.3 MB, free: 9.738 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.5237, allocations: 131.4 kB / 428.4 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.524, allocations: 69.53 kB / 428.5 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.5241, allocations: 8 kB / 428.5 MB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.5241, allocations: 37.12 kB / 428.5 MB, free: 9.539 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 5.586e-06/0.5242, allocations: 0 / 428.5 MB, free: 9.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.002721/0.5269, allocations: 0.8119 MB / 429.3 MB, free: 8.754 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.527, allocations: 51.41 kB / 429.4 MB, free: 8.691 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.5273, allocations: 167.6 kB / 429.5 MB, free: 8.547 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.5274, allocations: 32.89 kB / 429.6 MB, free: 8.512 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.5276, allocations: 132.3 kB / 429.7 MB, free: 8.395 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.5277, allocations: 77.45 kB / 429.8 MB, free: 8.328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.5278, allocations: 3.312 kB / 429.8 MB, free: 8.328 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.528, allocations: 332.6 kB / 430.1 MB, free: 8.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.5283, allocations: 68.36 kB / 430.2 MB, free: 7.961 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.5286, allocations: 110.2 kB / 430.3 MB, free: 7.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.5289, allocations: 65.97 kB / 430.3 MB, free: 7.828 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.402e-06/0.529, allocations: 0 / 430.3 MB, free: 7.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009226/0.5299, allocations: 260.8 kB / 430.6 MB, free: 7.625 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.5299, allocations: 8.062 kB / 430.6 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.53, allocations: 7.953 kB / 430.6 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003985/0.5304, allocations: 62.33 kB / 430.7 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.5308, allocations: 39.42 kB / 430.7 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000933/0.5317, allocations: 0.5992 MB / 431.3 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.5321, allocations: 35.56 kB / 431.3 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/0.5322, allocations: 11.62 kB / 431.4 MB, free: 6.898 MB / 346.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: 6 ($PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001846/0.5324, allocations: 119.9 kB / 431.5 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.5326, allocations: 19.72 kB / 431.5 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.5338, allocations: 254.1 kB / 431.7 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.5338, allocations: 4 kB / 431.7 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.5338, allocations: 7.891 kB / 431.8 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.5339, allocations: 3.984 kB / 431.8 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.5356, allocations: 0.5947 MB / 432.4 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.5357, allocations: 0 / 432.4 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.5361, allocations: 42.97 kB / 432.4 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003616/0.5365, allocations: 55.08 kB / 432.4 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.5365, allocations: 7.5 kB / 432.5 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009334/0.5375, allocations: 0.6074 MB / 433.1 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.533e-06/0.5375, allocations: 3.984 kB / 433.1 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.5388, allocations: 444.4 kB / 433.5 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.539, allocations: 107.9 kB / 433.6 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.137e-05/0.5391, allocations: 11.44 kB / 433.6 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004676/0.5396, allocations: 31.25 kB / 433.6 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.5398, allocations: 31.27 kB / 433.7 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.372e-05/0.5399, allocations: 7.984 kB / 433.7 MB, free: 4.707 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002705/0.5401, allocations: 134.9 kB / 433.8 MB, free: 4.594 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.241e-06/0.5402, allocations: 7.938 kB / 433.8 MB, free: 4.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009216/0.5411, allocations: 62.44 kB / 433.9 MB, free: 4.531 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,torqueLoad.phi) * Number of discrete variables: 3 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck) * Number of discrete states: 2 (oneWayClutch.stuck,oneWayClutch.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003517/0.5415, allocations: 126.5 kB / 434 MB, free: 4.402 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009624/0.5425, allocations: 214.6 kB / 434.2 MB, free: 4.238 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.254e-06/0.5425, allocations: 0 / 434.2 MB, free: 4.238 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005335/0.543, allocations: 101.6 kB / 434.3 MB, free: 4.164 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.5437, allocations: 25.86 kB / 434.3 MB, free: 4.148 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.5462, allocations: 0.5567 MB / 434.9 MB, free: 3.594 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000632/0.5468, allocations: 0.7445 MB / 435.6 MB, free: 2.824 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.5471, allocations: 26.06 kB / 435.7 MB, free: 2.793 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.327e-05/0.5472, allocations: 15.44 kB / 435.7 MB, free: 2.777 MB / 346.7 MB Notification: Performance of SimCode: time 2.253e-06/0.5472, allocations: 0 / 435.7 MB, free: 2.777 MB / 346.7 MB Notification: Performance of Templates: time 0.01234/0.5596, allocations: 2.765 MB / 438.5 MB, free: 48 kB / 346.7 MB