Running command: translateModel(ModelicaTest.Rotational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|accelerate.phi|accelerate.w|clutch.phi_rel|clutch.w_rel|damper.phi_rel|damper.w_rel|elastoBacklash.phi_rel|elastoBacklash.w_rel|gear2_1.phi_rel|gear2_1.w_rel|inertia13.phi|inertia13.w|inertia14.phi|inertia14.w|inertia15.phi|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia8.phi|inertia8.w|position.phi|position.w|speed.phi|speed.w|springDamper.phi_rel|springDamper.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|gear2_1.lossyGear.mode|lossyGear.mode",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.AllComponents") Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 2.723e-05/2.766e-05, allocations: 0 / 323.4 MB, free: 4.324 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3871, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.5496, allocations: 105.1 MB / 487.3 MB, free: 3.414 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.5498, allocations: 67.97 kB / 487.3 MB, free: 3.348 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.2168/0.7666, allocations: 49.25 MB / 0.524 GB, free: 1.914 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.25e-06/0.7667, allocations: 0 / 0.524 GB, free: 1.914 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001348/0.7668, allocations: 47.98 kB / 0.5241 GB, free: 1.867 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.2785/1.045, allocations: 2.347 MB / 0.5263 GB, free: 113.6 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/1.045, allocations: 8.875 kB / 0.5264 GB, free: 113.6 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/1.047, allocations: 300.2 kB / 0.5266 GB, free: 113.4 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/1.05, allocations: 0.9742 MB / 0.5276 GB, free: 113.2 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001058/1.051, allocations: 463.7 kB / 0.528 GB, free: 113 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009067/1.052, allocations: 244.7 kB / 0.5283 GB, free: 112.9 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00673/1.059, allocations: 2.318 MB / 0.5305 GB, free: 112.7 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001827/1.059, allocations: 31.55 kB / 0.5306 GB, free: 112.7 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003575/1.06, allocations: 90.06 kB / 0.5306 GB, free: 112.7 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.737e-05/1.06, allocations: 52.53 kB / 0.5307 GB, free: 112.7 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006403/1.066, allocations: 2.169 MB / 0.5328 GB, free: 112.7 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01745/1.084, allocations: 6.773 MB / 0.5394 GB, free: 111.3 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004818/1.088, allocations: 2.207 MB / 0.5416 GB, free: 110.8 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003086/1.092, allocations: 1.216 MB / 0.5428 GB, free: 110.4 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003232/1.092, allocations: 129.2 kB / 0.5429 GB, free: 110.3 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/1.092, allocations: 69.38 kB / 0.543 GB, free: 110.2 MB / 458.8 MB Notification: Performance of pre-optimization done (n=280): time 7.813e-06/1.092, allocations: 0 / 0.543 GB, free: 110.2 MB / 458.8 MB Notification: Performance of matching and sorting (n=338): time 0.02498/1.117, allocations: 11.11 MB / 0.5538 GB, free: 103.8 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.356e-05/1.117, allocations: 319.8 kB / 0.5541 GB, free: 103.4 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/1.119, allocations: 0.9096 MB / 0.555 GB, free: 103.1 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007061/1.12, allocations: 100.5 kB / 0.5551 GB, free: 103 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005919/1.12, allocations: 0.6678 MB / 0.5557 GB, free: 102.5 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001426/1.122, allocations: 1.135 MB / 0.5569 GB, free: 101.6 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005189/1.122, allocations: 75.33 kB / 0.5569 GB, free: 101.5 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002087/1.122, allocations: 425.4 kB / 0.5573 GB, free: 101.2 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002931/1.125, allocations: 1.007 MB / 0.5583 GB, free: 100.8 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003417/1.129, allocations: 1.406 MB / 0.5597 GB, free: 99.99 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002865/1.132, allocations: 1.01 MB / 0.5607 GB, free: 99.62 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/1.132, allocations: 4.125 kB / 0.5607 GB, free: 99.62 MB / 458.8 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.008851/1.141, allocations: 3.267 MB / 0.5639 GB, free: 98.36 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/1.141, allocations: 6.906 kB / 0.5639 GB, free: 98.36 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.334e-05/1.141, allocations: 15.72 kB / 0.5639 GB, free: 98.36 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003003/1.144, allocations: 1.021 MB / 0.5649 GB, free: 98.07 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004369/1.148, allocations: 0.7493 MB / 0.5656 GB, free: 98.02 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/1.159, allocations: 7.381 MB / 0.5728 GB, free: 91.75 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003/1.162, allocations: 292.2 kB / 0.5731 GB, free: 91.53 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006286/1.163, allocations: 127.3 kB / 0.5732 GB, free: 91.42 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 38 (gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,$PRE.gear2_1.lossyGear.mode,gear2_1.lossyGear.mode,gear2_1.lossyGear.ideal,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,$PRE.lossyGear.mode,lossyGear.mode,lossyGear.ideal,bearingFriction.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (338): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 22,2 25,1 6,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007226/1.164, allocations: 298.5 kB / 0.5735 GB, free: 91.13 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007836/1.164, allocations: 213.5 kB / 0.5737 GB, free: 90.92 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005489/1.17, allocations: 2.294 MB / 0.576 GB, free: 88.94 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.794e-05/1.17, allocations: 32 kB / 0.576 GB, free: 88.91 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.333e-05/1.17, allocations: 4 kB / 0.576 GB, free: 88.9 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.32e-05/1.17, allocations: 20.45 kB / 0.576 GB, free: 88.9 MB / 458.8 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01906/1.189, allocations: 7.33 MB / 0.5832 GB, free: 82.72 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.152e-05/1.189, allocations: 8 kB / 0.5832 GB, free: 82.71 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004275/1.194, allocations: 0.7388 MB / 0.5839 GB, free: 82.11 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003094/1.197, allocations: 1.011 MB / 0.5849 GB, free: 81.29 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006009/1.197, allocations: 108.4 kB / 0.585 GB, free: 81.21 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/1.209, allocations: 10 MB / 0.5948 GB, free: 71.07 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.365e-05/1.209, allocations: 19.89 kB / 0.5948 GB, free: 71.05 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/1.221, allocations: 5.744 MB / 0.6004 GB, free: 65.3 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001927/1.223, allocations: 0.5329 MB / 0.6009 GB, free: 64.86 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000972/1.224, allocations: 84 kB / 0.601 GB, free: 64.77 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003387/1.228, allocations: 298.6 kB / 0.6013 GB, free: 64.54 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00143/1.229, allocations: 454 kB / 0.6017 GB, free: 64.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005085/1.23, allocations: 130.4 kB / 0.6018 GB, free: 64.2 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001404/1.231, allocations: 0.705 MB / 0.6025 GB, free: 63.55 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.131e-06/1.231, allocations: 3.828 kB / 0.6025 GB, free: 63.55 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.00413/1.235, allocations: 0.725 MB / 0.6032 GB, free: 62.83 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 31 (inertia17.phi,inertia17.w,elastoBacklash2.phi_rel,elastoBacklash2.w_rel,inertia14.phi,inertia14.w,constantSpeed.phi,position.phi,position.w,speed.phi,speed.w,inertia13.phi,inertia13.w,accelerate.phi,accelerate.w,gear2_1.phi_rel,gear2_1.w_rel,relativeStates.phi_rel,relativeStates.w_rel,inertia2.phi,inertia2.w,damper.phi_rel,damper.w_rel,springDamper.phi_rel,springDamper.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,clutch.phi_rel,clutch.w_rel,inertia6.phi,inertia6.w) * Number of discrete variables: 24 (gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,gear2_1.lossyGear.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,lossyGear.mode) * Number of discrete states: 11 (bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,lossyGear.mode,brake.mode,brake.startForward,brake.startBackward,clutch.mode,clutch.startBackward,clutch.startForward,gear2_1.lossyGear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 263 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 2} * Non-linear torn systems: 5 {2 21,1 5,1 6,2 23,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000987/1.236, allocations: 283.5 kB / 0.6035 GB, free: 62.56 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007243/1.244, allocations: 3.02 MB / 0.6065 GB, free: 59.63 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/1.244, allocations: 0 / 0.6065 GB, free: 59.63 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006966/1.251, allocations: 2.603 MB / 0.609 GB, free: 57.13 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/1.254, allocations: 311 kB / 0.6093 GB, free: 56.89 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/1.267, allocations: 5.684 MB / 0.6148 GB, free: 51.79 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/1.269, allocations: 1.597 MB / 0.6164 GB, free: 50.48 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.002131/1.271, allocations: 309.8 kB / 0.6167 GB, free: 50.25 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.272, allocations: 193.9 kB / 0.6169 GB, free: 50.09 MB / 458.8 MB Notification: Performance of SimCode: time 1.899e-06/1.272, allocations: 0 / 0.6169 GB, free: 50.09 MB / 458.8 MB Notification: Performance of Templates: time 0.07942/1.352, allocations: 36.06 MB / 0.6521 GB, free: 14.96 MB / 458.8 MB