Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadModel(ModelicaTest): time 2.245/2.245, allocations: 270 MB / 282.7 MB, free: 1.828 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.013e-05/4.023e-05, allocations: 0 / 347 MB, free: 3.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.317, allocations: 61.87 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.4553, allocations: 89.32 MB / 498.2 MB, free: 1.328 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.4556, allocations: 67.97 kB / 498.2 MB, free: 1.262 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01842/0.474, allocations: 4.62 MB / 0.4911 GB, free: 12.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.166e-06/0.4741, allocations: 3.938 kB / 0.4911 GB, free: 12.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.4741, allocations: 4 kB / 0.4911 GB, free: 12.61 MB / 426.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.0009223/0.475, allocations: 0.5138 MB / 0.4916 GB, free: 12.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4751, allocations: 8.031 kB / 0.4916 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.656e-05/0.4752, allocations: 23.72 kB / 0.4916 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.4755, allocations: 243.4 kB / 0.4918 GB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.4756, allocations: 16.44 kB / 0.4918 GB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.29e-05/0.4757, allocations: 20 kB / 0.4919 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.4763, allocations: 242.3 kB / 0.4921 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.4763, allocations: 4 kB / 0.4921 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.4763, allocations: 8 kB / 0.4921 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.4764, allocations: 4 kB / 0.4921 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/0.4769, allocations: 192.8 kB / 0.4923 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.4786, allocations: 0.717 MB / 0.493 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/0.4791, allocations: 207.1 kB / 0.4932 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.4794, allocations: 137.3 kB / 0.4933 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.32e-05/0.4795, allocations: 4.234 kB / 0.4933 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.4795, allocations: 30.8 kB / 0.4934 GB, free: 10.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 2.714e-06/0.4795, allocations: 3.938 kB / 0.4934 GB, free: 10.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.002899/0.4824, allocations: 1.161 MB / 0.4945 GB, free: 8.836 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.4825, allocations: 59.41 kB / 0.4945 GB, free: 8.766 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.4827, allocations: 157.9 kB / 0.4947 GB, free: 8.605 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/0.4828, allocations: 37.7 kB / 0.4947 GB, free: 8.562 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.4829, allocations: 194.9 kB / 0.4949 GB, free: 8.371 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.4831, allocations: 122.3 kB / 0.495 GB, free: 8.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.4831, allocations: 4 kB / 0.495 GB, free: 8.246 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4833, allocations: 330.8 kB / 0.4954 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.4836, allocations: 100 kB / 0.4954 GB, free: 7.816 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.4839, allocations: 143.4 kB / 0.4956 GB, free: 7.664 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.4842, allocations: 101 kB / 0.4957 GB, free: 7.566 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.44e-06/0.4842, allocations: 0 / 0.4957 GB, free: 7.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009698/0.4852, allocations: 393.8 kB / 0.4961 GB, free: 7.172 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4852, allocations: 4 kB / 0.4961 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.4853, allocations: 0 / 0.4961 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/0.4859, allocations: 196.8 kB / 0.4962 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.4862, allocations: 47.92 kB / 0.4963 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009452/0.4871, allocations: 0.7085 MB / 0.497 GB, free: 6.191 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.4875, allocations: 60 kB / 0.497 GB, free: 6.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.4875, allocations: 12 kB / 0.4971 GB, free: 6.121 MB / 426.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 ($PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode,bearingFriction1.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00016/0.4877, allocations: 128.9 kB / 0.4972 GB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.979e-05/0.4878, allocations: 23.75 kB / 0.4972 GB, free: 5.965 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.489, allocations: 429 kB / 0.4976 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.27e-06/0.489, allocations: 4 kB / 0.4976 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.067e-06/0.489, allocations: 3.953 kB / 0.4976 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.548e-06/0.489, allocations: 4 kB / 0.4976 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.4911, allocations: 0.9133 MB / 0.4985 GB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.542e-06/0.4911, allocations: 4 kB / 0.4985 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.4914, allocations: 51.91 kB / 0.4986 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004904/0.4919, allocations: 168.8 kB / 0.4987 GB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/0.492, allocations: 11.98 kB / 0.4987 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008325/0.4928, allocations: 0.6695 MB / 0.4994 GB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.794e-06/0.4928, allocations: 0 / 0.4994 GB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.4943, allocations: 0.6258 MB / 0.5 GB, free: 2.945 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.4945, allocations: 124.8 kB / 0.5001 GB, free: 2.805 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/0.4946, allocations: 12.06 kB / 0.5001 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.4949, allocations: 47.95 kB / 0.5002 GB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.4951, allocations: 59.84 kB / 0.5002 GB, free: 2.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/0.4952, allocations: 24.05 kB / 0.5003 GB, free: 2.664 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001606/0.4953, allocations: 139.3 kB / 0.5004 GB, free: 2.527 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.4953, allocations: 0 / 0.5004 GB, free: 2.527 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004997/0.4958, allocations: 76 kB / 0.5005 GB, free: 2.453 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 24 * 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.0002495/0.4961, allocations: 139.1 kB / 0.5006 GB, free: 2.309 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008338/0.497, allocations: 314.1 kB / 0.5009 GB, free: 1.996 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.092e-06/0.497, allocations: 0 / 0.5009 GB, free: 1.996 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004133/0.4974, allocations: 148.5 kB / 0.501 GB, free: 1.852 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.4978, allocations: 25.86 kB / 0.5011 GB, free: 1.824 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.4999, allocations: 0.6939 MB / 0.5017 GB, free: 1.102 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.5004, allocations: 0.7683 MB / 0.5025 GB, free: 316 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.439e-05/0.5005, allocations: 19.44 kB / 0.5025 GB, free: 296 kB / 426.7 MB Notification: Performance of SimCode: time 1.378e-06/0.5005, allocations: 0 / 0.5025 GB, free: 296 kB / 426.7 MB Notification: Performance of Templates: time 0.0081/0.5086, allocations: 3.951 MB / 0.5064 GB, free: 12.34 MB / 442.7 MB