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.2_ModelicaTest.Rotational.AllComponents") Notification: Performance of loadModel(ModelicaTest): time 2.403/2.403, allocations: 234.9 MB / 249.4 MB, free: 10.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.431e-05, allocations: 8 kB / 308 MB, free: 108 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3609, allocations: 54.87 MB / 362.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.01213/0.3731, allocations: 7.27 MB / 370.1 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007918/0.381, allocations: 2.81 MB / 373 MB, free: 1.695 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.3828, allocations: 63.81 kB / 373 MB, free: 1.633 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009529/0.3838, allocations: 238.1 kB / 373.3 MB, free: 1.398 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.3873, allocations: 0.7593 MB / 374 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00295/0.3903, allocations: 0.6826 MB / 374.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004526/0.3948, allocations: 1.623 MB / 376.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.3963, allocations: 463.3 kB / 376.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002552/0.3989, allocations: 1.009 MB / 377.8 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00271/0.4016, allocations: 1.215 MB / 379 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.4029, allocations: 207.8 kB / 379.2 MB, free: 11.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006889/0.4036, allocations: 116 kB / 379.3 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006899/0.4043, allocations: 498.3 kB / 379.8 MB, free: 10.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007685/0.4051, allocations: 220 kB / 380 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004084/0.4092, allocations: 2.351 MB / 382.4 MB, free: 8.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4093, allocations: 4 kB / 382.4 MB, free: 8.266 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4093, allocations: 0 / 382.4 MB, free: 8.266 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001147/0.4094, allocations: 0 / 382.4 MB, free: 8.266 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: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.01055/0.42, allocations: 2.436 MB / 384.8 MB, free: 5.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.42, allocations: 12.03 kB / 384.8 MB, free: 5.758 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.4219, allocations: 296.9 kB / 385.1 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003268/0.4252, allocations: 1.08 MB / 386.2 MB, free: 4.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001858/0.4271, allocations: 0.5 MB / 386.7 MB, free: 3.773 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009262/0.428, allocations: 239.7 kB / 386.9 MB, free: 3.539 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009839/0.4379, allocations: 2.624 MB / 389.5 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001737/0.4381, allocations: 31.7 kB / 389.6 MB, free: 0.793 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003478/0.4385, allocations: 91.95 kB / 389.7 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.357e-05/0.4385, allocations: 52 kB / 389.7 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/0.4503, allocations: 2.754 MB / 392.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02295/0.4733, allocations: 7.015 MB / 399.5 MB, free: 6.766 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009118/0.4825, allocations: 2.569 MB / 402.1 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005498/0.4831, allocations: 123.1 kB / 402.2 MB, free: 3.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.475e-05/0.4832, allocations: 72.47 kB / 402.2 MB, free: 3.852 MB / 330.7 MB Notification: Performance of pre-optimization done (n=275): time 6.372e-06/0.4832, allocations: 3.938 kB / 402.2 MB, free: 3.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=333): time 0.05606/0.5393, allocations: 14.58 MB / 416.8 MB, free: 4.695 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002046/0.5395, allocations: 328.7 kB / 417.1 MB, free: 4.305 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/0.5419, allocations: 0.9965 MB / 418.1 MB, free: 3.301 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007937/0.5428, allocations: 97.69 kB / 418.2 MB, free: 3.199 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008578/0.5436, allocations: 0.6944 MB / 418.9 MB, free: 2.496 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002006/0.5457, allocations: 1.124 MB / 420.1 MB, free: 1.355 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004453/0.5461, allocations: 68 kB / 420.1 MB, free: 1.289 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003327/0.5465, allocations: 424.6 kB / 420.5 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005297/0.5518, allocations: 1.139 MB / 421.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005505/0.5574, allocations: 1.553 MB / 423.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004924/0.5623, allocations: 1.169 MB / 424.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.201e-05/0.5624, allocations: 4 kB / 424.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.01424/0.5766, allocations: 3.591 MB / 428 MB, free: 9.254 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.5767, allocations: 8 kB / 428 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/0.5768, allocations: 8 kB / 428 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004538/0.5813, allocations: 1.212 MB / 429.2 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006495/0.5878, allocations: 0.749 MB / 430 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01615/0.604, allocations: 7.651 MB / 437.6 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004253/0.6083, allocations: 299.8 kB / 437.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005712/0.609, allocations: 116 kB / 438 MB, free: 14.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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,bearingFriction.free,$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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (338): * Single equations (assignments): 333 * 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: 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.001607/0.6106, allocations: 481.1 kB / 438.5 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008399/0.6114, allocations: 209.5 kB / 438.7 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/0.6134, allocations: 0.6146 MB / 439.3 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.079e-05/0.6135, allocations: 36 kB / 439.4 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.507e-05/0.6135, allocations: 4 kB / 439.4 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.542e-05/0.6136, allocations: 19.94 kB / 439.4 MB, free: 13.5 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02854/0.6421, allocations: 7.963 MB / 447.3 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.085e-05/0.6422, allocations: 8.844 kB / 447.3 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00641/0.6486, allocations: 0.7061 MB / 448.1 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004688/0.6534, allocations: 1.204 MB / 449.3 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000726/0.6541, allocations: 95.92 kB / 449.3 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0191/0.6733, allocations: 10.29 MB / 459.6 MB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/0.6733, allocations: 8 kB / 459.6 MB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02189/0.6952, allocations: 6.616 MB / 466.3 MB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/0.6971, allocations: 0.5449 MB / 466.8 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006953/0.6978, allocations: 84 kB / 466.9 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003833/0.7016, allocations: 295.8 kB / 467.2 MB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001463/0.7031, allocations: 449 kB / 467.6 MB, free: 100 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003884/0.7035, allocations: 119.9 kB / 467.7 MB, free: 15.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001842/0.7054, allocations: 0.7695 MB / 468.5 MB, free: 15.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7054, allocations: 0 / 468.5 MB, free: 15.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0037/0.7091, allocations: 0.7305 MB / 469.2 MB, free: 14.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 31 (inertia17.phi,inertia17.w,elastoBacklash2.phi_rel,elastoBacklash2.w_rel,inertia14.phi,inertia14.w,constantSpeed.phi,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,position.phi,position.w,speed.phi,speed.w,inertia13.phi,inertia13.w,accelerate.phi,accelerate.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 (267): * Single equations (assignments): 260 * 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.0007362/0.7099, allocations: 267.1 kB / 469.5 MB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01227/0.7222, allocations: 3.517 MB / 473 MB, free: 10.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.7222, allocations: 0 / 473 MB, free: 10.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01073/0.7329, allocations: 2.918 MB / 475.9 MB, free: 7.676 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/0.7363, allocations: 299.4 kB / 476.2 MB, free: 7.387 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3401/1.076, allocations: 7.468 MB / 483.7 MB, free: 104.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002913/1.079, allocations: 1.595 MB / 485.3 MB, free: 103.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00249/1.082, allocations: 309.8 kB / 485.6 MB, free: 103.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/1.083, allocations: 178.5 kB / 485.8 MB, free: 103.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/1.083, allocations: 3.609 kB / 485.8 MB, free: 103.5 MB / 410.7 MB Notification: Performance of Templates: time 0.08947/1.172, allocations: 37.08 MB / 0.5106 GB, free: 76.81 MB / 410.7 MB