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.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadModel(ModelicaTest): time 2.508/2.508, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.763e-05, allocations: 0 / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3936, allocations: 54.85 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.00374/0.3974, allocations: 1.764 MB / 364.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.3993, allocations: 0.6311 MB / 365.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.3996, allocations: 5.906 kB / 365.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.3997, allocations: 24.23 kB / 365.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.4, allocations: 64.41 kB / 365.4 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.4004, allocations: 97.83 kB / 365.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.4008, allocations: 160.4 kB / 365.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.4009, allocations: 59.59 kB / 365.7 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.4012, allocations: 105.6 kB / 365.8 MB, free: 9.926 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.4015, allocations: 125.1 kB / 365.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.4017, allocations: 49.7 kB / 365.9 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.978e-05/0.4018, allocations: 18.69 kB / 366 MB, free: 9.828 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.856e-05/0.4019, allocations: 46.2 kB / 366 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.267e-05/0.402, allocations: 20.34 kB / 366 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004387/0.4024, allocations: 239.4 kB / 366.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.4024, allocations: 4 kB / 366.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4025, allocations: 0 / 366.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.4025, allocations: 0 / 366.3 MB, free: 9.617 MB / 298.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.001197/0.4037, allocations: 0.5101 MB / 366.8 MB, free: 9.148 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.4037, allocations: 9.344 kB / 366.8 MB, free: 9.148 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.4038, allocations: 24.53 kB / 366.8 MB, free: 9.137 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.4042, allocations: 249.2 kB / 367.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.4043, allocations: 14.38 kB / 367.1 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.969e-05/0.4044, allocations: 22.22 kB / 367.1 MB, free: 8.859 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.4055, allocations: 259.2 kB / 367.3 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.4056, allocations: 9.844 kB / 367.3 MB, free: 8.695 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.4056, allocations: 9.219 kB / 367.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.4057, allocations: 10.33 kB / 367.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008491/0.4065, allocations: 243.2 kB / 367.6 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.4087, allocations: 0.7358 MB / 368.3 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008805/0.4096, allocations: 248.5 kB / 368.6 MB, free: 7.852 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.467e-05/0.4097, allocations: 6.281 kB / 368.6 MB, free: 7.848 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.4097, allocations: 48.78 kB / 368.6 MB, free: 7.793 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 2.665e-06/0.4097, allocations: 0 / 368.6 MB, free: 7.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.005219/0.415, allocations: 1.497 MB / 370.1 MB, free: 6.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.4151, allocations: 59.36 kB / 370.2 MB, free: 6.156 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.4153, allocations: 177.7 kB / 370.4 MB, free: 5.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/0.4154, allocations: 33.7 kB / 370.4 MB, free: 5.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.4155, allocations: 140.5 kB / 370.5 MB, free: 5.789 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.4157, allocations: 118.5 kB / 370.7 MB, free: 5.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.4158, allocations: 7.984 kB / 370.7 MB, free: 5.664 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4159, allocations: 326.8 kB / 371 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/0.4163, allocations: 127.9 kB / 371.1 MB, free: 5.211 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.4168, allocations: 163.4 kB / 371.3 MB, free: 5.039 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.4173, allocations: 109.8 kB / 371.4 MB, free: 4.934 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4173, allocations: 0 / 371.4 MB, free: 4.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001551/0.4188, allocations: 465.6 kB / 371.8 MB, free: 4.469 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.4189, allocations: 8 kB / 371.8 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.4189, allocations: 0 / 371.8 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008108/0.4197, allocations: 236.7 kB / 372.1 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.4202, allocations: 55.91 kB / 372.1 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.4213, allocations: 0.7475 MB / 372.9 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.4219, allocations: 52.05 kB / 372.9 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.4219, allocations: 15.94 kB / 372.9 MB, free: 3.332 MB / 298.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.0002457/0.4222, allocations: 154.7 kB / 373.1 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.303e-05/0.4223, allocations: 23.7 kB / 373.1 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.4224, allocations: 34.64 kB / 373.1 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.4225, allocations: 4 kB / 373.1 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4225, allocations: 0 / 373.1 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.4225, allocations: 3.953 kB / 373.1 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/0.425, allocations: 0.9597 MB / 374.1 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4251, allocations: 0 / 374.1 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.4255, allocations: 55.86 kB / 374.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007016/0.4263, allocations: 220.7 kB / 374.4 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.4263, allocations: 8 kB / 374.4 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.4274, allocations: 0.7122 MB / 375.1 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.4274, allocations: 4.094 kB / 375.1 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.4294, allocations: 0.6584 MB / 375.8 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.4297, allocations: 124.8 kB / 375.9 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.939e-05/0.4298, allocations: 16.05 kB / 375.9 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004938/0.4303, allocations: 47.97 kB / 375.9 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.4305, allocations: 51.88 kB / 376 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.4306, allocations: 12 kB / 376 MB, free: 104 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002204/0.4308, allocations: 143.2 kB / 376.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.4308, allocations: 0 / 376.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005161/0.4313, allocations: 83.98 kB / 376.2 MB, free: 15.88 MB / 314.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.0002698/0.4316, allocations: 119.2 kB / 376.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.4328, allocations: 316.5 kB / 376.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4328, allocations: 4 kB / 376.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005892/0.4334, allocations: 167.7 kB / 376.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.4339, allocations: 39.14 kB / 376.9 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.4373, allocations: 0.9337 MB / 377.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.4378, allocations: 0.7568 MB / 378.6 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.438, allocations: 22.28 kB / 378.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.734e-05/0.4381, allocations: 23.44 kB / 378.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.4381, allocations: 0 / 378.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of Templates: time 0.0139/0.452, allocations: 4.597 MB / 383.2 MB, free: 8.855 MB / 314.7 MB