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.345/2.345, allocations: 235 MB / 247.2 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.696e-05/4.703e-05, allocations: 8.922 kB / 304.9 MB, free: 5.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3787, allocations: 54.85 MB / 359.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/0.5301, allocations: 99.53 MB / 459.3 MB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.5304, allocations: 60.75 kB / 459.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.274/0.8044, allocations: 47.89 MB / 0.4954 GB, free: 13.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.996e-06/0.8044, allocations: 0 / 0.4954 GB, free: 13.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001558/0.8046, allocations: 55.98 kB / 0.4954 GB, free: 13.3 MB / 442.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.00842/0.813, allocations: 2.341 MB / 0.4977 GB, free: 10.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.8131, allocations: 8.031 kB / 0.4977 GB, free: 10.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.8148, allocations: 300.8 kB / 0.498 GB, free: 10.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/0.8179, allocations: 0.9746 MB / 0.499 GB, free: 9.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001085/0.819, allocations: 460.1 kB / 0.4994 GB, free: 9.074 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008964/0.8199, allocations: 247.6 kB / 0.4996 GB, free: 8.832 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006812/0.8267, allocations: 2.311 MB / 0.5019 GB, free: 6.441 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001617/0.8269, allocations: 31.7 kB / 0.5019 GB, free: 6.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003437/0.8273, allocations: 95.98 kB / 0.502 GB, free: 6.316 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.358e-05/0.8274, allocations: 59.89 kB / 0.5021 GB, free: 6.258 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006634/0.8341, allocations: 2.164 MB / 0.5042 GB, free: 4.094 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01963/0.8537, allocations: 6.768 MB / 0.5108 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005734/0.8595, allocations: 2.207 MB / 0.5129 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003515/0.8631, allocations: 1.216 MB / 0.5141 GB, free: 9.633 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000373/0.8635, allocations: 127.1 kB / 0.5143 GB, free: 9.492 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.779e-05/0.8636, allocations: 72.36 kB / 0.5143 GB, free: 9.414 MB / 458.7 MB Notification: Performance of pre-optimization done (n=280): time 7.47e-06/0.8636, allocations: 0 / 0.5143 GB, free: 9.414 MB / 458.7 MB Notification: Performance of matching and sorting (n=338): time 0.2826/1.146, allocations: 11.08 MB / 0.5251 GB, free: 119.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.146, allocations: 330.9 kB / 0.5255 GB, free: 119.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/1.148, allocations: 0.9124 MB / 0.5264 GB, free: 119.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005285/1.149, allocations: 99.34 kB / 0.5264 GB, free: 119.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006276/1.149, allocations: 0.683 MB / 0.5271 GB, free: 119 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001374/1.151, allocations: 1.133 MB / 0.5282 GB, free: 118.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/1.151, allocations: 65.36 kB / 0.5283 GB, free: 118.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000213/1.151, allocations: 429.8 kB / 0.5287 GB, free: 118.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002807/1.154, allocations: 1.013 MB / 0.5297 GB, free: 118.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003259/1.157, allocations: 1.406 MB / 0.5311 GB, free: 117.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/1.16, allocations: 1.014 MB / 0.532 GB, free: 117.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/1.16, allocations: 2.75 kB / 0.532 GB, free: 117.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.008886/1.169, allocations: 3.258 MB / 0.5352 GB, free: 117.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/1.169, allocations: 12.08 kB / 0.5352 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.782e-05/1.169, allocations: 11.52 kB / 0.5353 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003231/1.172, allocations: 1.021 MB / 0.5362 GB, free: 117.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004499/1.177, allocations: 0.746 MB / 0.537 GB, free: 117.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/1.188, allocations: 7.391 MB / 0.5442 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003472/1.192, allocations: 294.1 kB / 0.5445 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007097/1.193, allocations: 133.8 kB / 0.5446 GB, free: 112.6 MB / 458.7 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.0008146/1.193, allocations: 285.5 kB / 0.5449 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008573/1.194, allocations: 217.4 kB / 0.5451 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006431/1.201, allocations: 2.29 MB / 0.5473 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.369e-05/1.201, allocations: 34.78 kB / 0.5474 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.863e-05/1.201, allocations: 5.094 kB / 0.5474 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.791e-05/1.201, allocations: 18.08 kB / 0.5474 GB, free: 111.3 MB / 458.7 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.01966/1.221, allocations: 7.332 MB / 0.5545 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.592e-05/1.221, allocations: 13.69 kB / 0.5545 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00471/1.225, allocations: 0.7346 MB / 0.5553 GB, free: 108 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003298/1.229, allocations: 1.017 MB / 0.5563 GB, free: 107.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005267/1.229, allocations: 108 kB / 0.5564 GB, free: 107.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/1.241, allocations: 9.996 MB / 0.5661 GB, free: 99.22 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/1.241, allocations: 16.5 kB / 0.5661 GB, free: 99.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/1.254, allocations: 5.762 MB / 0.5718 GB, free: 95.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/1.256, allocations: 0.527 MB / 0.5723 GB, free: 95.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006267/1.256, allocations: 89.34 kB / 0.5724 GB, free: 95.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003387/1.26, allocations: 299 kB / 0.5726 GB, free: 95.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001354/1.261, allocations: 457.1 kB / 0.5731 GB, free: 95.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003605/1.261, allocations: 126.7 kB / 0.5732 GB, free: 95.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001328/1.263, allocations: 0.7023 MB / 0.5739 GB, free: 94.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.26e-07/1.263, allocations: 0 / 0.5739 GB, free: 94.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0044/1.267, allocations: 0.7412 MB / 0.5746 GB, free: 94.88 MB / 458.7 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.0008901/1.268, allocations: 270.2 kB / 0.5749 GB, free: 94.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007075/1.275, allocations: 3.012 MB / 0.5778 GB, free: 93.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/1.275, allocations: 4.969 kB / 0.5778 GB, free: 93.39 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007004/1.282, allocations: 2.593 MB / 0.5804 GB, free: 92.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/1.285, allocations: 312.8 kB / 0.5806 GB, free: 91.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/1.299, allocations: 5.674 MB / 0.5862 GB, free: 89.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/1.3, allocations: 1.603 MB / 0.5878 GB, free: 88.24 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002145/1.302, allocations: 312.4 kB / 0.5881 GB, free: 88.19 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009619/1.303, allocations: 183.4 kB / 0.5882 GB, free: 88.18 MB / 458.7 MB Notification: Performance of SimCode: time 1.994e-06/1.303, allocations: 4.375 kB / 0.5882 GB, free: 88.17 MB / 458.7 MB Notification: Performance of Templates: time 0.083/1.386, allocations: 36.07 MB / 0.6235 GB, free: 60.55 MB / 458.7 MB