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_trunk_ModelicaTest.Rotational.AllComponents") Notification: Performance of loadModel(ModelicaTest): time 2.553/2.553, allocations: 270 MB / 283.6 MB, free: 1.797 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.056e-05, allocations: 4 kB / 348.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3622, allocations: 61.87 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.5231, allocations: 106.4 MB / 0.5046 GB, free: 164 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.5234, allocations: 71.97 kB / 0.5046 GB, free: 92 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5107/1.034, allocations: 50.03 MB / 0.5535 GB, free: 89.28 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.222e-06/1.034, allocations: 0 / 0.5535 GB, free: 89.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001333/1.034, allocations: 51.92 kB / 0.5535 GB, free: 89.23 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.00751/1.042, allocations: 2.34 MB / 0.5558 GB, free: 86.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/1.042, allocations: 11.97 kB / 0.5558 GB, free: 86.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/1.043, allocations: 304.8 kB / 0.5561 GB, free: 86.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/1.046, allocations: 0.9668 MB / 0.5571 GB, free: 85.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009435/1.047, allocations: 468.1 kB / 0.5575 GB, free: 84.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008369/1.048, allocations: 235.7 kB / 0.5578 GB, free: 84.76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005848/1.054, allocations: 2.322 MB / 0.56 GB, free: 82.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001517/1.054, allocations: 39.55 kB / 0.5601 GB, free: 82.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003039/1.054, allocations: 88 kB / 0.5601 GB, free: 82.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/1.054, allocations: 52 kB / 0.5602 GB, free: 82.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005485/1.06, allocations: 2.168 MB / 0.5623 GB, free: 80.01 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0168/1.077, allocations: 6.759 MB / 0.5689 GB, free: 73.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0047/1.081, allocations: 2.205 MB / 0.5711 GB, free: 70.81 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002952/1.084, allocations: 1.209 MB / 0.5722 GB, free: 69.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003147/1.085, allocations: 127.1 kB / 0.5724 GB, free: 69.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/1.085, allocations: 76.33 kB / 0.5724 GB, free: 69.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=280): time 7.887e-06/1.085, allocations: 0 / 0.5724 GB, free: 69.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=338): time 0.02435/1.109, allocations: 11.1 MB / 0.5833 GB, free: 57.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.374e-05/1.109, allocations: 321.5 kB / 0.5836 GB, free: 57.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/1.111, allocations: 0.912 MB / 0.5845 GB, free: 56.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000605/1.112, allocations: 93.7 kB / 0.5846 GB, free: 56.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005262/1.112, allocations: 0.6753 MB / 0.5852 GB, free: 55.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00113/1.113, allocations: 1.132 MB / 0.5863 GB, free: 54.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/1.114, allocations: 67.98 kB / 0.5864 GB, free: 54.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/1.114, allocations: 424.7 kB / 0.5868 GB, free: 54.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002737/1.117, allocations: 1.01 MB / 0.5878 GB, free: 53.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003268/1.12, allocations: 1.402 MB / 0.5892 GB, free: 51.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0027/1.123, allocations: 1.016 MB / 0.5901 GB, free: 50.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/1.123, allocations: 3.938 kB / 0.5902 GB, free: 50.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.008654/1.131, allocations: 3.266 MB / 0.5933 GB, free: 47.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/1.131, allocations: 8 kB / 0.5933 GB, free: 47.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-05/1.131, allocations: 15.98 kB / 0.5934 GB, free: 47.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002931/1.134, allocations: 1.026 MB / 0.5944 GB, free: 46.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004039/1.138, allocations: 0.7412 MB / 0.5951 GB, free: 45.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/1.149, allocations: 7.391 MB / 0.6023 GB, free: 37.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003341/1.153, allocations: 295.9 kB / 0.6026 GB, free: 37.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006837/1.153, allocations: 131.9 kB / 0.6027 GB, free: 37.24 MB / 442.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.0007088/1.154, allocations: 288.3 kB / 0.603 GB, free: 36.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007616/1.155, allocations: 217.4 kB / 0.6032 GB, free: 36.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005672/1.161, allocations: 2.29 MB / 0.6054 GB, free: 34.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.929e-05/1.161, allocations: 39.95 kB / 0.6055 GB, free: 34.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.118e-05/1.161, allocations: 4 kB / 0.6055 GB, free: 34.37 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.058e-05/1.161, allocations: 15.94 kB / 0.6055 GB, free: 34.36 MB / 442.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.0194/1.18, allocations: 7.336 MB / 0.6127 GB, free: 26.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.047e-05/1.18, allocations: 8 kB / 0.6127 GB, free: 26.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00435/1.185, allocations: 0.7379 MB / 0.6134 GB, free: 26.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003097/1.188, allocations: 1.001 MB / 0.6144 GB, free: 25.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006139/1.188, allocations: 111.9 kB / 0.6145 GB, free: 24.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/1.2, allocations: 10.02 MB / 0.6243 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/1.2, allocations: 11.94 kB / 0.6243 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/1.212, allocations: 5.741 MB / 0.6299 GB, free: 8.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/1.214, allocations: 0.5333 MB / 0.6304 GB, free: 7.676 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007249/1.215, allocations: 87.94 kB / 0.6305 GB, free: 7.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006295/1.221, allocations: 303.8 kB / 0.6308 GB, free: 7.293 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002302/1.223, allocations: 453.1 kB / 0.6312 GB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006694/1.224, allocations: 127.9 kB / 0.6313 GB, free: 6.723 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002299/1.226, allocations: 0.7011 MB / 0.632 GB, free: 6.016 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.198e-06/1.226, allocations: 0 / 0.632 GB, free: 6.016 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007056/1.233, allocations: 0.7304 MB / 0.6327 GB, free: 5.285 MB / 442.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.001306/1.235, allocations: 282.5 kB / 0.633 GB, free: 5.004 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01201/1.247, allocations: 3.01 MB / 0.6359 GB, free: 1.953 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.838e-05/1.247, allocations: 8.25 kB / 0.6359 GB, free: 1.945 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01254/1.259, allocations: 2.594 MB / 0.6385 GB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005515/1.265, allocations: 319.7 kB / 0.6388 GB, free: 15 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02137/1.286, allocations: 5.68 MB / 0.6443 GB, free: 9.168 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/1.289, allocations: 1.592 MB / 0.6459 GB, free: 7.539 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002243/1.291, allocations: 309.3 kB / 0.6462 GB, free: 7.234 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009947/1.292, allocations: 187.3 kB / 0.6464 GB, free: 7.051 MB / 458.7 MB Notification: Performance of SimCode: time 2.152e-06/1.292, allocations: 0 / 0.6464 GB, free: 7.051 MB / 458.7 MB Notification: Performance of Templates: time 0.0963/1.388, allocations: 36.06 MB / 0.6816 GB, free: 3.094 MB / 490.7 MB