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_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadModel(ModelicaTest): time 2.368/2.368, allocations: 234.9 MB / 250.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.473e-05, allocations: 7.984 kB / 308 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4149, allocations: 54.86 MB / 362.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003424/0.4184, allocations: 1.764 MB / 364.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.4201, allocations: 0.6399 MB / 365.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.4203, allocations: 5.719 kB / 365.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.4205, allocations: 20.41 kB / 365.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004027/0.4209, allocations: 67.42 kB / 365.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.4213, allocations: 98 kB / 365.4 MB, free: 9.973 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.4217, allocations: 157.2 kB / 365.6 MB, free: 9.859 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.4219, allocations: 53.75 kB / 365.6 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.4221, allocations: 114.6 kB / 365.8 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.4224, allocations: 121 kB / 365.9 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.4226, allocations: 49.81 kB / 365.9 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.4227, allocations: 14.5 kB / 365.9 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.905e-05/0.4228, allocations: 49 kB / 366 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.697e-05/0.4229, allocations: 20.88 kB / 366 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004237/0.4233, allocations: 238.3 kB / 366.2 MB, free: 9.461 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4233, allocations: 9.062 kB / 366.2 MB, free: 9.453 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.4233, allocations: 0 / 366.2 MB, free: 9.453 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.4234, allocations: 0 / 366.2 MB, free: 9.453 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.001271/0.4246, allocations: 0.5061 MB / 366.8 MB, free: 8.988 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.4247, allocations: 17.73 kB / 366.8 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.4248, allocations: 23.81 kB / 366.8 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.4252, allocations: 232.9 kB / 367 MB, free: 8.723 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.4253, allocations: 17.72 kB / 367 MB, free: 8.711 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.606e-05/0.4254, allocations: 22.91 kB / 367.1 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008053/0.4262, allocations: 264 kB / 367.3 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.4262, allocations: 9.031 kB / 367.3 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.124e-05/0.4263, allocations: 6.281 kB / 367.3 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.4263, allocations: 13.52 kB / 367.3 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008206/0.4272, allocations: 242.8 kB / 367.6 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.4294, allocations: 0.7444 MB / 368.3 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009031/0.4303, allocations: 244.7 kB / 368.6 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.4304, allocations: 1.484 kB / 368.6 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.4304, allocations: 37.06 kB / 368.6 MB, free: 7.645 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 3.036e-06/0.4304, allocations: 0 / 368.6 MB, free: 7.645 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.005347/0.4358, allocations: 1.506 MB / 370.1 MB, free: 6.316 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.4359, allocations: 63.3 kB / 370.2 MB, free: 6.242 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.4362, allocations: 173.7 kB / 370.3 MB, free: 6.059 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.4363, allocations: 37.7 kB / 370.4 MB, free: 6.016 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.4364, allocations: 203 kB / 370.6 MB, free: 5.816 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.4366, allocations: 114.4 kB / 370.7 MB, free: 5.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.4367, allocations: 4 kB / 370.7 MB, free: 5.699 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4368, allocations: 322.8 kB / 371 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.4373, allocations: 127.9 kB / 371.1 MB, free: 5.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.4378, allocations: 159.4 kB / 371.3 MB, free: 5.082 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.4382, allocations: 121.7 kB / 371.4 MB, free: 4.965 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.4382, allocations: 0 / 371.4 MB, free: 4.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001532/0.4398, allocations: 449.8 kB / 371.8 MB, free: 4.516 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.4398, allocations: 8 kB / 371.9 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.4398, allocations: 0 / 371.9 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008758/0.4407, allocations: 236.7 kB / 372.1 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.4412, allocations: 51.91 kB / 372.1 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.4424, allocations: 0.7514 MB / 372.9 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005219/0.443, allocations: 52.05 kB / 372.9 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.443, allocations: 12 kB / 372.9 MB, free: 3.383 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.0002515/0.4433, allocations: 150.7 kB / 373.1 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.217e-05/0.4434, allocations: 23.72 kB / 373.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.4435, allocations: 34.64 kB / 373.2 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.4435, allocations: 4 kB / 373.2 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.4435, allocations: 0 / 373.2 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.4436, allocations: 7.938 kB / 373.2 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/0.4462, allocations: 0.9597 MB / 374.1 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.4463, allocations: 3.938 kB / 374.1 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/0.4467, allocations: 63.83 kB / 374.2 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000717/0.4474, allocations: 216.7 kB / 374.4 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.4475, allocations: 12.06 kB / 374.4 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.4486, allocations: 0.7045 MB / 375.1 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4486, allocations: 0 / 375.1 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.4506, allocations: 0.6584 MB / 375.8 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.4509, allocations: 128.8 kB / 375.9 MB, free: 280 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.279e-05/0.451, allocations: 16.06 kB / 375.9 MB, free: 264 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004989/0.4515, allocations: 43.97 kB / 376 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.4518, allocations: 51.88 kB / 376 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.4518, allocations: 16 kB / 376 MB, free: 152 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002093/0.452, allocations: 140.5 kB / 376.2 MB, free: 12 kB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4521, allocations: 0 / 376.2 MB, free: 12 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005967/0.4527, allocations: 84.03 kB / 376.2 MB, free: 15.93 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.0003075/0.453, allocations: 126.1 kB / 376.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.4542, allocations: 316.3 kB / 376.7 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4542, allocations: 0 / 376.7 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005654/0.4548, allocations: 167.7 kB / 376.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.4553, allocations: 31.88 kB / 376.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.4588, allocations: 0.9667 MB / 377.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.4593, allocations: 0.7607 MB / 378.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.4595, allocations: 19.44 kB / 378.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of SimCode: time 1.472e-06/0.4595, allocations: 0 / 378.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of Templates: time 0.01004/0.4695, allocations: 3.939 MB / 382.6 MB, free: 9.543 MB / 314.7 MB