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_4.0.0_ModelicaTest.Rotational.AllComponents") Notification: Performance of loadModel(ModelicaTest): time 2.565/2.565, allocations: 270 MB / 283.6 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.711e-05, allocations: 4 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1264, allocations: 61.88 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4971/0.6236, allocations: 106.4 MB / 0.5046 GB, free: 13.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.01307/0.6367, allocations: 65.28 kB / 0.5046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3228/0.9596, allocations: 50.02 MB / 0.5535 GB, free: 11.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.02e-06/0.9596, allocations: 0 / 0.5535 GB, free: 11.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001374/0.9598, allocations: 55.94 kB / 0.5535 GB, free: 11.41 MB / 474.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.007668/0.9675, allocations: 2.348 MB / 0.5558 GB, free: 9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.9675, allocations: 11.97 kB / 0.5558 GB, free: 8.988 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.969, allocations: 292.9 kB / 0.5561 GB, free: 8.699 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/0.9719, allocations: 0.9746 MB / 0.5571 GB, free: 7.668 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001048/0.973, allocations: 464 kB / 0.5575 GB, free: 7.168 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/0.9745, allocations: 243.7 kB / 0.5577 GB, free: 6.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01373/0.9883, allocations: 2.315 MB / 0.56 GB, free: 4.535 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002951/0.9886, allocations: 35.55 kB / 0.56 GB, free: 4.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006684/0.9893, allocations: 99.98 kB / 0.5601 GB, free: 4.402 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.9894, allocations: 55.98 kB / 0.5602 GB, free: 4.348 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0121/1.002, allocations: 2.164 MB / 0.5623 GB, free: 2.176 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03365/1.035, allocations: 6.764 MB / 0.5689 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/1.045, allocations: 2.215 MB / 0.5711 GB, free: 8.953 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00432/1.05, allocations: 1.208 MB / 0.5722 GB, free: 7.727 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003839/1.05, allocations: 131 kB / 0.5724 GB, free: 7.582 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.05e-05/1.05, allocations: 72.38 kB / 0.5724 GB, free: 7.504 MB / 490.7 MB Notification: Performance of pre-optimization done (n=280): time 7.702e-06/1.05, allocations: 0 / 0.5724 GB, free: 7.504 MB / 490.7 MB Notification: Performance of matching and sorting (n=338): time 0.02846/1.079, allocations: 11.08 MB / 0.5832 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002352/1.079, allocations: 329.4 kB / 0.5836 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/1.081, allocations: 0.912 MB / 0.5845 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005962/1.082, allocations: 89.7 kB / 0.5845 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008014/1.082, allocations: 0.6753 MB / 0.5852 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001692/1.084, allocations: 1.132 MB / 0.5863 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002977/1.084, allocations: 67.98 kB / 0.5864 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003343/1.085, allocations: 440.5 kB / 0.5868 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003015/1.088, allocations: 1.006 MB / 0.5878 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00392/1.092, allocations: 1.41 MB / 0.5891 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/1.095, allocations: 1.009 MB / 0.5901 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/1.095, allocations: 11.94 kB / 0.5901 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.009868/1.105, allocations: 3.258 MB / 0.5933 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/1.105, allocations: 8 kB / 0.5933 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-05/1.105, allocations: 8 kB / 0.5933 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003317/1.108, allocations: 1.021 MB / 0.5943 GB, free: 312 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004208/1.113, allocations: 0.749 MB / 0.5951 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/1.126, allocations: 7.397 MB / 0.6023 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/1.129, allocations: 295.8 kB / 0.6026 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006498/1.13, allocations: 124 kB / 0.6027 GB, free: 7.41 MB / 0.5105 GB 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.0008436/1.131, allocations: 288.3 kB / 0.603 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008477/1.132, allocations: 221.4 kB / 0.6032 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006431/1.138, allocations: 2.289 MB / 0.6054 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.963e-05/1.138, allocations: 32 kB / 0.6054 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.209e-05/1.138, allocations: 4 kB / 0.6054 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.47e-05/1.138, allocations: 19.94 kB / 0.6055 GB, free: 4.527 MB / 0.5105 GB 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.3077/1.446, allocations: 7.332 MB / 0.6126 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-05/1.446, allocations: 12.03 kB / 0.6126 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004513/1.451, allocations: 0.734 MB / 0.6134 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003353/1.454, allocations: 1.003 MB / 0.6143 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005991/1.455, allocations: 104.5 kB / 0.6144 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/1.468, allocations: 10.03 MB / 0.6242 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.471e-05/1.468, allocations: 15.83 kB / 0.6242 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/1.48, allocations: 5.74 MB / 0.6298 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/1.482, allocations: 0.5334 MB / 0.6304 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006485/1.483, allocations: 94.12 kB / 0.6305 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003228/1.486, allocations: 300.3 kB / 0.6307 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001525/1.488, allocations: 450.6 kB / 0.6312 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004332/1.488, allocations: 128.8 kB / 0.6313 GB, free: 133 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001468/1.49, allocations: 0.7007 MB / 0.632 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.49e-07/1.49, allocations: 3.938 kB / 0.632 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004204/1.494, allocations: 0.7255 MB / 0.6327 GB, free: 132.9 MB / 0.5105 GB 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.000935/1.495, allocations: 278.2 kB / 0.633 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007586/1.503, allocations: 3.018 MB / 0.6359 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/1.503, allocations: 6.688 kB / 0.6359 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007564/1.51, allocations: 2.585 MB / 0.6384 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/1.513, allocations: 312.2 kB / 0.6387 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/1.527, allocations: 5.678 MB / 0.6443 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/1.529, allocations: 1.59 MB / 0.6458 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002119/1.531, allocations: 308 kB / 0.6461 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009641/1.532, allocations: 192.5 kB / 0.6463 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.654e-06/1.532, allocations: 0 / 0.6463 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.08027/1.612, allocations: 36.07 MB / 0.6815 GB, free: 118.5 MB / 0.5105 GB