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_trunk_ModelicaTest.Rotational.TestFriction") Notification: Performance of loadModel(ModelicaTest): time 2.57/2.57, allocations: 270.1 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.526e-05, allocations: 1.828 kB / 348.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 61.9 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4581/0.5704, allocations: 92.64 MB / 0.4911 GB, free: 11.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.5706, allocations: 63.97 kB / 0.4912 GB, free: 11.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05221/0.6229, allocations: 12.08 MB / 0.503 GB, free: 15.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.6229, allocations: 3.938 kB / 0.503 GB, free: 15.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.326e-05/0.623, allocations: 16 kB / 0.503 GB, free: 15.28 MB / 426.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.002572/0.6256, allocations: 0.9349 MB / 0.5039 GB, free: 14.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.6256, allocations: 12.02 kB / 0.5039 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002661/0.6259, allocations: 83.06 kB / 0.504 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008069/0.6267, allocations: 392.8 kB / 0.5044 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-05/0.6268, allocations: 49.31 kB / 0.5044 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.627, allocations: 71.89 kB / 0.5045 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.6289, allocations: 0.7339 MB / 0.5052 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.593e-05/0.6289, allocations: 7.844 kB / 0.5052 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.6291, allocations: 28 kB / 0.5053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.6291, allocations: 19.94 kB / 0.5053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.6308, allocations: 0.6017 MB / 0.5059 GB, free: 12.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006617/0.6374, allocations: 2.571 MB / 0.5084 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.6391, allocations: 0.5764 MB / 0.5089 GB, free: 8.934 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008715/0.6401, allocations: 326.2 kB / 0.5092 GB, free: 8.605 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.6402, allocations: 27.88 kB / 0.5093 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.6402, allocations: 46.5 kB / 0.5093 GB, free: 8.523 MB / 426.7 MB Notification: Performance of pre-optimization done (n=78): time 5.021e-06/0.6403, allocations: 0 / 0.5093 GB, free: 8.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=82): time 0.006316/0.6466, allocations: 2.392 MB / 0.5116 GB, free: 5.941 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.6467, allocations: 136.5 kB / 0.5118 GB, free: 5.777 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/0.6473, allocations: 331 kB / 0.5121 GB, free: 5.445 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.6475, allocations: 49.7 kB / 0.5121 GB, free: 5.391 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.6478, allocations: 256.7 kB / 0.5124 GB, free: 5.133 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003874/0.6482, allocations: 288.1 kB / 0.5127 GB, free: 4.848 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.593e-05/0.6483, allocations: 20 kB / 0.5127 GB, free: 4.828 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002374/0.6485, allocations: 366.8 kB / 0.513 GB, free: 4.461 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000881/0.6494, allocations: 314 kB / 0.5133 GB, free: 4.152 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.6505, allocations: 479.1 kB / 0.5138 GB, free: 3.637 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007522/0.6513, allocations: 255.7 kB / 0.514 GB, free: 3.395 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.512e-06/0.6513, allocations: 4 kB / 0.514 GB, free: 3.391 MB / 426.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003508/0.6548, allocations: 1.103 MB / 0.5151 GB, free: 2.277 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.6549, allocations: 8 kB / 0.5151 GB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/0.6549, allocations: 7.984 kB / 0.5151 GB, free: 2.262 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/0.6567, allocations: 0.5891 MB / 0.5157 GB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008353/0.6576, allocations: 147.7 kB / 0.5158 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/0.6609, allocations: 2.572 MB / 0.5184 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.6622, allocations: 199.9 kB / 0.5185 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.6624, allocations: 39.98 kB / 0.5186 GB, free: 14.61 MB / 442.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.000339/0.6628, allocations: 163.2 kB / 0.5187 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.6631, allocations: 67.23 kB / 0.5188 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00324/0.6664, allocations: 1.029 MB / 0.5198 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.6664, allocations: 11.98 kB / 0.5198 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.6664, allocations: 4 kB / 0.5198 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.6665, allocations: 3.984 kB / 0.5198 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00529/0.6718, allocations: 2.018 MB / 0.5218 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.6718, allocations: 4 kB / 0.5218 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009048/0.6727, allocations: 123.9 kB / 0.5219 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001631/0.6744, allocations: 0.5537 MB / 0.5225 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001684/0.6746, allocations: 27.97 kB / 0.5225 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003148/0.6777, allocations: 2.514 MB / 0.5249 GB, free: 7.867 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/0.6778, allocations: 8.094 kB / 0.525 GB, free: 7.859 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004108/0.6819, allocations: 1.637 MB / 0.5266 GB, free: 6.156 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005413/0.6825, allocations: 212.2 kB / 0.5268 GB, free: 5.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.6827, allocations: 31.98 kB / 0.5268 GB, free: 5.898 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.684, allocations: 171.8 kB / 0.5269 GB, free: 5.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004881/0.6845, allocations: 179.6 kB / 0.5271 GB, free: 5.555 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/0.6846, allocations: 39.91 kB / 0.5272 GB, free: 5.516 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004436/0.6851, allocations: 257.2 kB / 0.5274 GB, free: 5.266 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.143e-06/0.6851, allocations: 0 / 0.5274 GB, free: 5.266 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001143/0.6862, allocations: 203.9 kB / 0.5276 GB, free: 5.066 MB / 442.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.0003646/0.6866, allocations: 166.6 kB / 0.5278 GB, free: 4.898 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002527/0.6892, allocations: 0.9027 MB / 0.5286 GB, free: 3.973 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.545e-06/0.6892, allocations: 4.125 kB / 0.5286 GB, free: 3.969 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.6908, allocations: 474 kB / 0.5291 GB, free: 3.508 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.6919, allocations: 94.73 kB / 0.5292 GB, free: 3.414 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006349/0.6983, allocations: 2.008 MB / 0.5311 GB, free: 1.359 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000763/0.6991, allocations: 0.926 MB / 0.532 GB, free: 416 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004248/0.6995, allocations: 52.83 kB / 0.5321 GB, free: 360 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.6997, allocations: 39.42 kB / 0.5321 GB, free: 320 kB / 442.7 MB Notification: Performance of SimCode: time 1.925e-06/0.6998, allocations: 0 / 0.5321 GB, free: 320 kB / 442.7 MB Notification: Performance of Templates: time 0.03237/0.7321, allocations: 13.21 MB / 0.545 GB, free: 3.145 MB / 458.7 MB