Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadModel(ModelicaTest): time 1.934/1.934, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.599e-05/2.564e-05, allocations: 0 / 273.1 MB, free: 3.676 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08554/0.08558, allocations: 48.7 MB / 321.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3363/0.4219, allocations: 76.78 MB / 398.5 MB, free: 7.008 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.4221, allocations: 70.44 kB / 398.6 MB, free: 7.008 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01568/0.4378, allocations: 4.322 MB / 402.9 MB, free: 5.555 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.536e-06/0.4379, allocations: 0 / 402.9 MB, free: 5.555 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.4379, allocations: 7.844 kB / 402.9 MB, free: 5.551 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007882/0.4387, allocations: 0.5169 MB / 403.4 MB, free: 5.102 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.4387, allocations: 7.688 kB / 403.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.4388, allocations: 27.09 kB / 403.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.4391, allocations: 237.3 kB / 403.7 MB, free: 4.855 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.4392, allocations: 17.88 kB / 403.7 MB, free: 4.852 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.4392, allocations: 25.81 kB / 403.8 MB, free: 4.848 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.4398, allocations: 249 kB / 404 MB, free: 4.773 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.4398, allocations: 7.75 kB / 404 MB, free: 4.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.4399, allocations: 7.5 kB / 404 MB, free: 4.766 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.4399, allocations: 7.719 kB / 404 MB, free: 4.766 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004727/0.4404, allocations: 220.1 kB / 404.2 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.4418, allocations: 0.7423 MB / 405 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.4424, allocations: 235.3 kB / 405.2 MB, free: 4.242 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.4427, allocations: 127.8 kB / 405.3 MB, free: 4.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.4428, allocations: 11.62 kB / 405.3 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.4428, allocations: 38.44 kB / 405.4 MB, free: 4.184 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 3.685e-06/0.4428, allocations: 0 / 405.4 MB, free: 4.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.002589/0.4454, allocations: 1.223 MB / 406.6 MB, free: 3.531 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.4455, allocations: 55.28 kB / 406.7 MB, free: 3.469 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.4457, allocations: 173.2 kB / 406.8 MB, free: 3.355 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.4457, allocations: 37.02 kB / 406.9 MB, free: 3.324 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/0.4458, allocations: 197.6 kB / 407.1 MB, free: 3.152 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.433e-05/0.4459, allocations: 108.7 kB / 407.2 MB, free: 3.074 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.4459, allocations: 11.47 kB / 407.2 MB, free: 3.074 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.967e-05/0.446, allocations: 326.4 kB / 407.5 MB, free: 2.754 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.4463, allocations: 109.7 kB / 407.6 MB, free: 2.754 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.4465, allocations: 162.3 kB / 407.8 MB, free: 2.703 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.4468, allocations: 108.8 kB / 407.9 MB, free: 2.684 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.578e-06/0.4468, allocations: 0 / 407.9 MB, free: 2.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001053/0.4479, allocations: 481.3 kB / 408.3 MB, free: 2.562 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4479, allocations: 7.734 kB / 408.3 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.4479, allocations: 0 / 408.3 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005885/0.4485, allocations: 242.6 kB / 408.6 MB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.4488, allocations: 56.22 kB / 408.6 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009135/0.4498, allocations: 0.7412 MB / 409.4 MB, free: 17.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.4501, allocations: 50.48 kB / 409.4 MB, free: 17.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/0.4502, allocations: 11.38 kB / 409.4 MB, free: 17.92 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.4504, allocations: 129.8 kB / 409.6 MB, free: 17.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.739e-05/0.4505, allocations: 27.27 kB / 409.6 MB, free: 17.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.85e-05/0.4506, allocations: 34.19 kB / 409.6 MB, free: 17.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.767e-06/0.4506, allocations: 3.906 kB / 409.6 MB, free: 17.78 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.566e-06/0.4506, allocations: 0 / 409.6 MB, free: 17.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.521e-06/0.4506, allocations: 3.984 kB / 409.6 MB, free: 17.78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.4526, allocations: 0.9834 MB / 410.6 MB, free: 17.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4526, allocations: 0 / 410.6 MB, free: 17.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/0.4529, allocations: 53.91 kB / 410.7 MB, free: 17.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004894/0.4534, allocations: 220.2 kB / 410.9 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.4534, allocations: 13.7 kB / 410.9 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007902/0.4542, allocations: 0.7145 MB / 411.6 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.583e-06/0.4543, allocations: 0 / 411.6 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.4555, allocations: 0.6797 MB / 412.3 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.4557, allocations: 130.9 kB / 412.4 MB, free: 16.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.4558, allocations: 7.406 kB / 412.4 MB, free: 16.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.4562, allocations: 56.31 kB / 412.5 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.4563, allocations: 54.55 kB / 412.5 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.885e-05/0.4564, allocations: 11.67 kB / 412.5 MB, free: 16.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001557/0.4565, allocations: 146.7 kB / 412.7 MB, free: 16.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.64e-07/0.4565, allocations: 4 kB / 412.7 MB, free: 16.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004603/0.457, allocations: 79.17 kB / 412.8 MB, free: 16.08 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002168/0.4572, allocations: 128.2 kB / 412.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006855/0.4579, allocations: 290.1 kB / 413.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.458, allocations: 0 / 413.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.4583, allocations: 146.3 kB / 413.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.4587, allocations: 28.95 kB / 413.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.4606, allocations: 0.6972 MB / 414 MB, free: 15.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.461, allocations: 0.7589 MB / 414.8 MB, free: 14.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.4611, allocations: 29.8 kB / 414.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of SimCode: time 1.748e-06/0.4612, allocations: 0 / 414.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of Templates: time 0.006443/0.4676, allocations: 3.757 MB / 418.6 MB, free: 12.92 MB / 330.7 MB