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.224/2.224, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.274e-05, allocations: 3.938 kB / 304.9 MB, free: 5.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3287, allocations: 54.85 MB / 359.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.4621, allocations: 86.41 MB / 446.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.4624, allocations: 63.97 kB / 446.2 MB, free: 10.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05183/0.5142, allocations: 11.69 MB / 457.9 MB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.079e-06/0.5143, allocations: 4 kB / 457.9 MB, free: 14.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.379e-05/0.5143, allocations: 16 kB / 458 MB, free: 14.73 MB / 394.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.002498/0.5168, allocations: 0.9311 MB / 458.9 MB, free: 13.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.5169, allocations: 12.03 kB / 458.9 MB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/0.5171, allocations: 75.06 kB / 459 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007932/0.5179, allocations: 411.3 kB / 459.4 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-05/0.518, allocations: 45.31 kB / 459.4 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.5182, allocations: 67.86 kB / 459.5 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.52, allocations: 0.7379 MB / 460.2 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.396e-05/0.52, allocations: 7.906 kB / 460.2 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.5202, allocations: 24 kB / 460.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.5202, allocations: 16 kB / 460.3 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.5219, allocations: 0.6095 MB / 460.9 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006293/0.5282, allocations: 2.574 MB / 463.5 MB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.5299, allocations: 0.5542 MB / 464 MB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009214/0.5308, allocations: 347.2 kB / 464.3 MB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.531, allocations: 19.88 kB / 464.4 MB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.5311, allocations: 46.36 kB / 464.4 MB, free: 7.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 5.311e-06/0.5311, allocations: 0 / 464.4 MB, free: 7.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=82): time 0.006326/0.5374, allocations: 2.391 MB / 466.8 MB, free: 5.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.5376, allocations: 140.5 kB / 466.9 MB, free: 5.227 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.5381, allocations: 319.1 kB / 467.3 MB, free: 4.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.5383, allocations: 53.7 kB / 467.3 MB, free: 4.848 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.5385, allocations: 268.6 kB / 467.6 MB, free: 4.578 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003639/0.5389, allocations: 284.1 kB / 467.8 MB, free: 4.297 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-05/0.539, allocations: 16 kB / 467.9 MB, free: 4.281 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002314/0.5392, allocations: 366.8 kB / 468.2 MB, free: 3.914 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008458/0.5401, allocations: 318.9 kB / 468.5 MB, free: 3.602 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.5412, allocations: 464.7 kB / 469 MB, free: 3.094 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007203/0.5419, allocations: 266.1 kB / 469.2 MB, free: 2.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.495e-06/0.5419, allocations: 4 kB / 469.2 MB, free: 2.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003423/0.5454, allocations: 1.099 MB / 470.3 MB, free: 1.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.5454, allocations: 11.95 kB / 470.4 MB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-05/0.5455, allocations: 8 kB / 470.4 MB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/0.5472, allocations: 0.5892 MB / 471 MB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008045/0.548, allocations: 147.8 kB / 471.1 MB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00321/0.5512, allocations: 2.57 MB / 473.7 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.5526, allocations: 195.8 kB / 473.9 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.5527, allocations: 39.98 kB / 473.9 MB, free: 14.05 MB / 410.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.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,$PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free,bearingFriction.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 6,1 7,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003242/0.5531, allocations: 175.8 kB / 474.1 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/0.5534, allocations: 71.23 kB / 474.1 MB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/0.5565, allocations: 1.025 MB / 475.2 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.5566, allocations: 12 kB / 475.2 MB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.627e-06/0.5566, allocations: 1.031 kB / 475.2 MB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.5566, allocations: 3.984 kB / 475.2 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005116/0.5617, allocations: 2.028 MB / 477.2 MB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.572e-06/0.5618, allocations: 0 / 477.2 MB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008658/0.5627, allocations: 123.9 kB / 477.3 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001544/0.5642, allocations: 0.5499 MB / 477.9 MB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.5644, allocations: 35.91 kB / 477.9 MB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003043/0.5674, allocations: 2.522 MB / 480.4 MB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.213e-06/0.5675, allocations: 256 / 480.4 MB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003896/0.5714, allocations: 1.627 MB / 482.1 MB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005242/0.5719, allocations: 220.1 kB / 482.3 MB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.5722, allocations: 28 kB / 482.3 MB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.5734, allocations: 171.8 kB / 482.5 MB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000468/0.5739, allocations: 179.6 kB / 482.7 MB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.574, allocations: 35.97 kB / 482.7 MB, free: 4.949 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004329/0.5745, allocations: 261.2 kB / 482.9 MB, free: 4.695 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.5745, allocations: 0 / 482.9 MB, free: 4.695 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001074/0.5756, allocations: 199.9 kB / 483.1 MB, free: 4.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (55): * Single equations (assignments): 51 * 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.00037/0.576, allocations: 167.1 kB / 483.3 MB, free: 4.328 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002454/0.5784, allocations: 0.9082 MB / 484.2 MB, free: 3.398 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.173e-06/0.5785, allocations: 0 / 484.2 MB, free: 3.398 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.5801, allocations: 468.5 kB / 484.7 MB, free: 2.941 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.5812, allocations: 99.91 kB / 484.8 MB, free: 2.848 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006391/0.5876, allocations: 2.008 MB / 486.8 MB, free: 0.793 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007451/0.5884, allocations: 0.922 MB / 487.7 MB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004437/0.5888, allocations: 60.81 kB / 487.8 MB, free: 15.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.5891, allocations: 39.42 kB / 487.8 MB, free: 15.74 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-06/0.5891, allocations: 0 / 487.8 MB, free: 15.74 MB / 426.7 MB Notification: Performance of Templates: time 0.03199/0.6211, allocations: 13.23 MB / 0.4893 GB, free: 2.535 MB / 426.7 MB