Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.637e-05/2.644e-05, allocations: 4 kB / 292.1 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09181/0.09185, allocations: 50.4 MB / 342.5 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3519/0.4438, allocations: 78.55 MB / 421.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.4441, allocations: 71.28 kB / 421.2 MB, free: 15.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01541/0.4595, allocations: 3.834 MB / 425 MB, free: 12.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.076e-06/0.4596, allocations: 3.984 kB / 425 MB, free: 12.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.4596, allocations: 7.984 kB / 425 MB, free: 12.37 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.0007227/0.4603, allocations: 472.7 kB / 425.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4604, allocations: 8.031 kB / 425.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.873e-05/0.4605, allocations: 23.72 kB / 425.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.4608, allocations: 215.5 kB / 425.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.4608, allocations: 14.94 kB / 425.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.4609, allocations: 26.23 kB / 425.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.4613, allocations: 196.4 kB / 426 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.4614, allocations: 7.906 kB / 426 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.4614, allocations: 6.625 kB / 426 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.4614, allocations: 11.95 kB / 426 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/0.4617, allocations: 107.7 kB / 426.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.4631, allocations: 0.707 MB / 426.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.4634, allocations: 141.2 kB / 426.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.4636, allocations: 58.17 kB / 427 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.4636, allocations: 4 kB / 427 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.4637, allocations: 37.88 kB / 427 MB, free: 10.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.956e-06/0.4637, allocations: 0 / 427 MB, free: 10.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.00182/0.4655, allocations: 0.8064 MB / 427.8 MB, free: 9.723 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.4656, allocations: 59.62 kB / 427.9 MB, free: 9.652 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.4658, allocations: 155.4 kB / 428 MB, free: 9.504 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.4659, allocations: 29.64 kB / 428.1 MB, free: 9.469 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.466, allocations: 148.2 kB / 428.2 MB, free: 9.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.746e-05/0.4661, allocations: 85.36 kB / 428.3 MB, free: 9.266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.4661, allocations: 3.375 kB / 428.3 MB, free: 9.266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4663, allocations: 329.4 kB / 428.6 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.4664, allocations: 47.69 kB / 428.7 MB, free: 8.914 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.4666, allocations: 90.84 kB / 428.8 MB, free: 8.832 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.4668, allocations: 67.28 kB / 428.8 MB, free: 8.785 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.412e-06/0.4668, allocations: 0 / 428.8 MB, free: 8.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005701/0.4674, allocations: 239 kB / 429.1 MB, free: 8.594 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.4674, allocations: 9.406 kB / 429.1 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.888e-06/0.4674, allocations: 0 / 429.1 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002025/0.4677, allocations: 31.84 kB / 429.1 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.468, allocations: 50.78 kB / 429.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.4696, allocations: 1.378 MB / 430.5 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.4698, allocations: 11.34 kB / 430.5 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.4699, allocations: 11.98 kB / 430.5 MB, free: 7.062 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.0001353/0.47, allocations: 127.9 kB / 430.7 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.4701, allocations: 15.81 kB / 430.7 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.922e-05/0.4702, allocations: 26.72 kB / 430.7 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.4702, allocations: 4 kB / 430.7 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.904e-06/0.4702, allocations: 0 / 430.7 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.882e-06/0.4702, allocations: 3.984 kB / 430.7 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.4715, allocations: 0.6318 MB / 431.4 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.919e-06/0.4715, allocations: 4 kB / 431.4 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.4718, allocations: 54.92 kB / 431.4 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001747/0.472, allocations: 31.59 kB / 431.4 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.4721, allocations: 4.062 kB / 431.4 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.4737, allocations: 1.38 MB / 432.8 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.4737, allocations: 4.062 kB / 432.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.4745, allocations: 406 kB / 433.2 MB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-05/0.4746, allocations: 92.92 kB / 433.3 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.4746, allocations: 11.78 kB / 433.3 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.4748, allocations: 7.938 kB / 433.3 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.662e-05/0.4749, allocations: 19.88 kB / 433.4 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.4749, allocations: 19.61 kB / 433.4 MB, free: 4.258 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001463/0.4751, allocations: 126.6 kB / 433.5 MB, free: 4.148 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.4751, allocations: 0 / 433.5 MB, free: 4.148 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004684/0.4756, allocations: 58.69 kB / 433.6 MB, free: 4.098 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.0001735/0.4758, allocations: 114.7 kB / 433.7 MB, free: 3.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006291/0.4764, allocations: 274.8 kB / 433.9 MB, free: 3.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.779e-06/0.4764, allocations: 0 / 433.9 MB, free: 3.746 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.4768, allocations: 194.7 kB / 434.1 MB, free: 3.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.4772, allocations: 38.66 kB / 434.2 MB, free: 3.543 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.4785, allocations: 0.5302 MB / 434.7 MB, free: 3.016 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.479, allocations: 0.7522 MB / 435.4 MB, free: 2.238 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.4792, allocations: 18.08 kB / 435.5 MB, free: 2.219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.4792, allocations: 19.44 kB / 435.5 MB, free: 2.203 MB / 346.7 MB Notification: Performance of SimCode: time 2.069e-06/0.4793, allocations: 4 kB / 435.5 MB, free: 2.199 MB / 346.7 MB Notification: Performance of Templates: time 0.00773/0.487, allocations: 2.139 MB / 437.6 MB, free: 80 kB / 346.7 MB