Running command: translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.849e-05, allocations: 1.562 kB / 292.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 50.42 MB / 342.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3672/0.4846, allocations: 79.3 MB / 421.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.4849, allocations: 70.83 kB / 421.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01644/0.5013, allocations: 3.975 MB / 425.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.002e-06/0.5014, allocations: 0 / 425.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.5014, allocations: 8 kB / 425.9 MB, free: 11.41 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.0008084/0.5022, allocations: 475.3 kB / 426.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5023, allocations: 8.031 kB / 426.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.824e-05/0.5024, allocations: 23.72 kB / 426.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.5027, allocations: 228.8 kB / 426.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.5028, allocations: 14.75 kB / 426.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.5028, allocations: 18.25 kB / 426.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.5033, allocations: 205.1 kB / 426.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.5034, allocations: 3.984 kB / 426.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.5034, allocations: 19.52 kB / 426.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.915e-06/0.5034, allocations: 4 kB / 426.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003715/0.5038, allocations: 142.8 kB / 427 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.5056, allocations: 0.7746 MB / 427.8 MB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.506, allocations: 144.3 kB / 427.9 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.5062, allocations: 70.41 kB / 428 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.5062, allocations: 0 / 428 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.5063, allocations: 34.56 kB / 428 MB, free: 9.406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.515e-06/0.5063, allocations: 0 / 428 MB, free: 9.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001835/0.5081, allocations: 0.8088 MB / 428.8 MB, free: 8.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.5082, allocations: 55.41 kB / 428.9 MB, free: 8.559 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.5084, allocations: 162.1 kB / 429.1 MB, free: 8.418 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.5085, allocations: 33.2 kB / 429.1 MB, free: 8.383 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.5086, allocations: 193.8 kB / 429.3 MB, free: 8.207 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.006e-05/0.5087, allocations: 78.77 kB / 429.4 MB, free: 8.137 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.5088, allocations: 7.875 kB / 429.4 MB, free: 8.133 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5089, allocations: 326.6 kB / 429.7 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.5091, allocations: 63 kB / 429.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.5094, allocations: 106.3 kB / 429.8 MB, free: 7.684 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.5096, allocations: 68.7 kB / 429.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.936e-06/0.5096, allocations: 8 kB / 429.9 MB, free: 7.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000591/0.5102, allocations: 246.3 kB / 430.2 MB, free: 7.445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.5102, allocations: 4 kB / 430.2 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.5102, allocations: 7.953 kB / 430.2 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002873/0.5105, allocations: 68.12 kB / 430.2 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.5108, allocations: 35.92 kB / 430.3 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006793/0.5115, allocations: 0.609 MB / 430.9 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.5118, allocations: 30.95 kB / 430.9 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.5118, allocations: 11 kB / 430.9 MB, free: 6.715 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.0001376/0.512, allocations: 128 kB / 431.1 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.012e-05/0.5121, allocations: 19.72 kB / 431.1 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000712/0.5128, allocations: 246 kB / 431.3 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.5128, allocations: 7.938 kB / 431.3 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.449e-06/0.5128, allocations: 3.953 kB / 431.3 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.937e-06/0.5128, allocations: 0 / 431.3 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.5146, allocations: 0.6054 MB / 431.9 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.331e-06/0.5146, allocations: 0 / 431.9 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.5151, allocations: 35.92 kB / 432 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004064/0.5155, allocations: 63.36 kB / 432 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/0.5156, allocations: 7.609 kB / 432 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.5166, allocations: 0.606 MB / 432.6 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.356e-06/0.5167, allocations: 0 / 432.6 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.5179, allocations: 441.2 kB / 433.1 MB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.5182, allocations: 107.8 kB / 433.2 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.636e-05/0.5183, allocations: 7.875 kB / 433.2 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/0.5187, allocations: 31.92 kB / 433.2 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.5189, allocations: 34.7 kB / 433.2 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.5189, allocations: 4 kB / 433.3 MB, free: 4.535 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002644/0.5192, allocations: 141.3 kB / 433.4 MB, free: 4.414 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.085e-06/0.5192, allocations: 0 / 433.4 MB, free: 4.414 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008265/0.5201, allocations: 61.69 kB / 433.5 MB, free: 4.359 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.000348/0.5205, allocations: 130.8 kB / 433.6 MB, free: 4.227 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009208/0.5214, allocations: 211.3 kB / 433.8 MB, free: 4.062 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5214, allocations: 0 / 433.8 MB, free: 4.062 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004574/0.5219, allocations: 94.98 kB / 433.9 MB, free: 3.992 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.5225, allocations: 33.67 kB / 433.9 MB, free: 3.969 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.5248, allocations: 0.5862 MB / 434.5 MB, free: 3.379 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/0.5254, allocations: 0.7485 MB / 435.2 MB, free: 2.605 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/0.5256, allocations: 22.81 kB / 435.3 MB, free: 2.586 MB / 346.7 MB Notification: Performance of SimCode: time 1.972e-06/0.5256, allocations: 0 / 435.3 MB, free: 2.586 MB / 346.7 MB Notification: Performance of Templates: time 0.00713/0.5327, allocations: 3.351 MB / 438.6 MB, free: 15.27 MB / 362.7 MB