Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 1.957/1.957, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.13e-05/3.149e-05, allocations: 6.812 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09564/0.09569, allocations: 50.42 MB / 342.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3894/0.4852, allocations: 78.62 MB / 421.2 MB, free: 15.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4854, allocations: 73.14 kB / 421.2 MB, free: 15.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01555/0.501, allocations: 3.827 MB / 425.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5011, allocations: 0 / 425.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.216e-05/0.5011, allocations: 8 kB / 425.1 MB, free: 12.27 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007061/0.5018, allocations: 461.5 kB / 425.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.5019, allocations: 12.03 kB / 425.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.8e-05/0.502, allocations: 23.72 kB / 425.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.5023, allocations: 227.6 kB / 425.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.5023, allocations: 12.31 kB / 425.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.07e-05/0.5024, allocations: 23.69 kB / 425.8 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.5028, allocations: 198.5 kB / 426 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.5029, allocations: 7.906 kB / 426 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.5029, allocations: 3.938 kB / 426 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.5029, allocations: 11.94 kB / 426 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.5032, allocations: 115 kB / 426.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.5045, allocations: 0.6966 MB / 426.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.5049, allocations: 147.5 kB / 427 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.505, allocations: 64.34 kB / 427 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.5051, allocations: 4 kB / 427.1 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.5051, allocations: 33.31 kB / 427.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.443e-06/0.5051, allocations: 0 / 427.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001819/0.507, allocations: 0.8051 MB / 427.9 MB, free: 9.617 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.507, allocations: 55.62 kB / 427.9 MB, free: 9.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.5073, allocations: 154 kB / 428.1 MB, free: 9.402 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.5073, allocations: 37.02 kB / 428.1 MB, free: 9.363 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.5074, allocations: 206.5 kB / 428.3 MB, free: 9.172 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.421e-05/0.5075, allocations: 85.19 kB / 428.4 MB, free: 9.102 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.5076, allocations: 3.062 kB / 428.4 MB, free: 9.102 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.5077, allocations: 326.3 kB / 428.7 MB, free: 8.777 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.5079, allocations: 48.81 kB / 428.8 MB, free: 8.746 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.5081, allocations: 87.53 kB / 428.9 MB, free: 8.668 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.5082, allocations: 66.97 kB / 428.9 MB, free: 8.621 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5083, allocations: 0 / 428.9 MB, free: 8.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005696/0.5088, allocations: 230.2 kB / 429.2 MB, free: 8.438 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.5089, allocations: 4 kB / 429.2 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.245e-06/0.5089, allocations: 0 / 429.2 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002142/0.5091, allocations: 38.72 kB / 429.2 MB, free: 8.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.5094, allocations: 48.09 kB / 429.3 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.511, allocations: 1.378 MB / 430.6 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.5112, allocations: 11.06 kB / 430.6 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.5113, allocations: 11.98 kB / 430.7 MB, free: 6.906 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.5114, allocations: 119.8 kB / 430.8 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/0.5115, allocations: 23.62 kB / 430.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.346e-05/0.5116, allocations: 22.66 kB / 430.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.57e-06/0.5116, allocations: 0 / 430.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.328e-06/0.5116, allocations: 4 kB / 430.8 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.612e-06/0.5116, allocations: 7.984 kB / 430.8 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.5128, allocations: 0.6298 MB / 431.5 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.684e-06/0.5129, allocations: 0 / 431.5 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.5132, allocations: 59.17 kB / 431.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001851/0.5134, allocations: 28.78 kB / 431.5 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.5134, allocations: 8.078 kB / 431.5 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.515, allocations: 1.374 MB / 432.9 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.795e-06/0.515, allocations: 4.031 kB / 432.9 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/0.5157, allocations: 405.8 kB / 433.3 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.425e-05/0.5159, allocations: 92.83 kB / 433.4 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.5159, allocations: 11.84 kB / 433.4 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.5161, allocations: 7.25 kB / 433.4 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.5162, allocations: 23.19 kB / 433.5 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.5162, allocations: 11.92 kB / 433.5 MB, free: 4.113 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001409/0.5164, allocations: 126.5 kB / 433.6 MB, free: 4.004 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.5164, allocations: 4 kB / 433.6 MB, free: 4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004764/0.5169, allocations: 59.5 kB / 433.7 MB, free: 3.949 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001724/0.5171, allocations: 108.7 kB / 433.8 MB, free: 3.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006266/0.5177, allocations: 269.4 kB / 434 MB, free: 3.605 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.187e-06/0.5177, allocations: 4.188 kB / 434 MB, free: 3.602 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000367/0.5181, allocations: 209.8 kB / 434.2 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.5185, allocations: 38.2 kB / 434.3 MB, free: 3.387 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.5199, allocations: 0.5597 MB / 434.8 MB, free: 2.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.5203, allocations: 0.7522 MB / 435.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.731e-05/0.5204, allocations: 19.44 kB / 435.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of SimCode: time 1.856e-06/0.5204, allocations: 4 kB / 435.6 MB, free: 2.027 MB / 346.7 MB Notification: Performance of Templates: time 0.006872/0.5273, allocations: 3.311 MB / 438.9 MB, free: 14.75 MB / 362.7 MB