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_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadModel(Modelica): time 2.316/2.316, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.069e-05, allocations: 0 / 269.3 MB, free: 6.418 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.08716, allocations: 47.57 MB / 316.9 MB, free: 6.758 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4109/0.4982, allocations: 78.14 MB / 395.1 MB, free: 9.996 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004162/0.4987, allocations: 72.2 kB / 395.1 MB, free: 9.961 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01892/0.5176, allocations: 3.893 MB / 399 MB, free: 6.641 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.153e-06/0.5177, allocations: 0 / 399 MB, free: 6.641 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.5177, allocations: 8 kB / 399 MB, free: 6.633 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008016/0.5185, allocations: 479.2 kB / 399.5 MB, free: 6.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.5186, allocations: 16.03 kB / 399.5 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.243e-05/0.5186, allocations: 23.72 kB / 399.5 MB, free: 6.094 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.519, allocations: 218.4 kB / 399.8 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.519, allocations: 16.27 kB / 399.8 MB, free: 5.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.5191, allocations: 23.5 kB / 399.8 MB, free: 5.824 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.5196, allocations: 210.1 kB / 400 MB, free: 5.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.5197, allocations: 0 / 400 MB, free: 5.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.5197, allocations: 7.688 kB / 400 MB, free: 5.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.5197, allocations: 8 kB / 400 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.5201, allocations: 142.8 kB / 400.2 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.5218, allocations: 0.7714 MB / 400.9 MB, free: 4.836 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.5222, allocations: 144.7 kB / 401.1 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.5224, allocations: 67.97 kB / 401.1 MB, free: 4.676 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.5225, allocations: 7.984 kB / 401.1 MB, free: 4.668 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.5225, allocations: 34.5 kB / 401.2 MB, free: 4.629 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 3.522e-06/0.5225, allocations: 3.938 kB / 401.2 MB, free: 4.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.001895/0.5244, allocations: 0.8128 MB / 402 MB, free: 3.844 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.5245, allocations: 55.41 kB / 402 MB, free: 3.777 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.5248, allocations: 168.8 kB / 402.2 MB, free: 3.625 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.5248, allocations: 29.64 kB / 402.2 MB, free: 3.594 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.525, allocations: 139.5 kB / 402.4 MB, free: 3.473 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.73e-05/0.5251, allocations: 81.33 kB / 402.5 MB, free: 3.402 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/0.5251, allocations: 3.25 kB / 402.5 MB, free: 3.402 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5253, allocations: 325.3 kB / 402.8 MB, free: 3.082 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.5255, allocations: 71.77 kB / 402.8 MB, free: 3.039 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.5257, allocations: 106.4 kB / 402.9 MB, free: 2.945 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.5259, allocations: 76.27 kB / 403 MB, free: 2.895 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5259, allocations: 0 / 403 MB, free: 2.895 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006148/0.5265, allocations: 266 kB / 403.3 MB, free: 2.688 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.5266, allocations: 4 kB / 403.3 MB, free: 2.684 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.5266, allocations: 0 / 403.3 MB, free: 2.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002987/0.5269, allocations: 65.67 kB / 403.3 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.5271, allocations: 36.05 kB / 403.4 MB, free: 2.598 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007332/0.5279, allocations: 0.6114 MB / 404 MB, free: 2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.5282, allocations: 30.98 kB / 404 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.5282, allocations: 11.25 kB / 404 MB, free: 1.965 MB / 314.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.0001331/0.5284, allocations: 119.6 kB / 404.2 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.5285, allocations: 23.72 kB / 404.2 MB, free: 1.824 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007146/0.5292, allocations: 251.5 kB / 404.4 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.358e-06/0.5292, allocations: 0 / 404.4 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.651e-06/0.5292, allocations: 0 / 404.4 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.97e-06/0.5293, allocations: 7.984 kB / 404.4 MB, free: 1.625 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.5304, allocations: 0.5967 MB / 405 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.788e-06/0.5305, allocations: 0 / 405 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.5307, allocations: 43.78 kB / 405.1 MB, free: 1.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002542/0.531, allocations: 62.59 kB / 405.1 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.5311, allocations: 14.95 kB / 405.1 MB, free: 0.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006493/0.5317, allocations: 0.6 MB / 405.7 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.375e-06/0.5318, allocations: 0 / 405.7 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008323/0.5326, allocations: 457 kB / 406.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.5328, allocations: 107.9 kB / 406.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.5328, allocations: 0 / 406.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.5331, allocations: 31.8 kB / 406.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/0.5332, allocations: 27.2 kB / 406.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.5333, allocations: 11.3 kB / 406.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001823/0.5335, allocations: 140.7 kB / 406.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.5335, allocations: 0 / 406.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004911/0.534, allocations: 75.12 kB / 406.6 MB, free: 15.6 MB / 330.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.0003457/0.5344, allocations: 130.3 kB / 406.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007257/0.5351, allocations: 203.4 kB / 406.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.72e-06/0.5351, allocations: 0 / 406.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.5355, allocations: 95.47 kB / 407 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.5359, allocations: 34.12 kB / 407 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.5374, allocations: 0.567 MB / 407.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.5378, allocations: 0.7473 MB / 408.3 MB, free: 13.87 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.538, allocations: 18.08 kB / 408.4 MB, free: 13.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.5381, allocations: 15.44 kB / 408.4 MB, free: 13.83 MB / 330.7 MB Notification: Performance of SimCode: time 1.802e-06/0.5381, allocations: 7.938 kB / 408.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of Templates: time 0.008837/0.5469, allocations: 2.763 MB / 411.1 MB, free: 11.08 MB / 330.7 MB