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_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 1.971/1.971, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.571e-05/2.585e-05, allocations: 4 kB / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09161/0.09165, allocations: 50.42 MB / 343.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3906/0.4823, allocations: 78.55 MB / 421.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.4826, allocations: 68.94 kB / 421.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01533/0.4979, allocations: 3.834 MB / 425.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.289e-06/0.498, allocations: 0 / 425.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.498, allocations: 8 kB / 425.5 MB, free: 12.36 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.0006985/0.4987, allocations: 463.5 kB / 426 MB, free: 11.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4988, allocations: 8.031 kB / 426 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.752e-05/0.4989, allocations: 27.72 kB / 426 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.4992, allocations: 224.9 kB / 426.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.4993, allocations: 16.38 kB / 426.3 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.4993, allocations: 22.06 kB / 426.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004151/0.4997, allocations: 195.7 kB / 426.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.4998, allocations: 3.906 kB / 426.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.4998, allocations: 14.67 kB / 426.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.4998, allocations: 7.953 kB / 426.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.5001, allocations: 108 kB / 426.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.5014, allocations: 0.7004 MB / 427.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.5018, allocations: 149.5 kB / 427.5 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.5019, allocations: 62.42 kB / 427.5 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.502, allocations: 4 kB / 427.5 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.502, allocations: 34 kB / 427.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.129e-06/0.502, allocations: 0 / 427.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001779/0.5038, allocations: 0.8081 MB / 428.4 MB, free: 9.707 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.5039, allocations: 51.41 kB / 428.4 MB, free: 9.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.5041, allocations: 151.9 kB / 428.6 MB, free: 9.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.5041, allocations: 25.7 kB / 428.6 MB, free: 9.469 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.5043, allocations: 155.7 kB / 428.7 MB, free: 9.332 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.79e-05/0.5044, allocations: 84.92 kB / 428.8 MB, free: 9.258 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.5044, allocations: 11.12 kB / 428.8 MB, free: 9.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.5046, allocations: 329.6 kB / 429.2 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.5047, allocations: 48.69 kB / 429.2 MB, free: 8.898 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.5049, allocations: 88.59 kB / 429.3 MB, free: 8.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.5051, allocations: 63.8 kB / 429.4 MB, free: 8.777 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.44e-06/0.5051, allocations: 0 / 429.4 MB, free: 8.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000563/0.5057, allocations: 231.8 kB / 429.6 MB, free: 8.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5057, allocations: 7.938 kB / 429.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5057, allocations: 3.984 kB / 429.6 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.5059, allocations: 39.66 kB / 429.6 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.5063, allocations: 52.09 kB / 429.7 MB, free: 8.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.5079, allocations: 1.379 MB / 431.1 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.5081, allocations: 11.38 kB / 431.1 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.5082, allocations: 7.25 kB / 431.1 MB, free: 7.051 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.0001265/0.5083, allocations: 123.9 kB / 431.2 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.5084, allocations: 19.81 kB / 431.2 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.253e-05/0.5085, allocations: 26.27 kB / 431.2 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.753e-06/0.5085, allocations: 4 kB / 431.2 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.842e-06/0.5085, allocations: 0 / 431.2 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.402e-06/0.5085, allocations: 4 kB / 431.2 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.5097, allocations: 0.6297 MB / 431.9 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.581e-06/0.5098, allocations: 3.984 kB / 431.9 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.5101, allocations: 55.12 kB / 431.9 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001682/0.5103, allocations: 32.14 kB / 432 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.5103, allocations: 7.938 kB / 432 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.5119, allocations: 1.371 MB / 433.3 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.246e-06/0.5119, allocations: 7.969 kB / 433.4 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007147/0.5126, allocations: 405.9 kB / 433.8 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-05/0.5127, allocations: 88.92 kB / 433.8 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.5128, allocations: 7.25 kB / 433.8 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.513, allocations: 11.81 kB / 433.9 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.5131, allocations: 23.47 kB / 433.9 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.5131, allocations: 4 kB / 433.9 MB, free: 4.262 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.5132, allocations: 135.1 kB / 434 MB, free: 4.145 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.09e-07/0.5132, allocations: 0 / 434 MB, free: 4.145 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000471/0.5137, allocations: 59.12 kB / 434.1 MB, free: 4.094 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.0001765/0.5139, allocations: 111.1 kB / 434.2 MB, free: 3.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007297/0.5147, allocations: 273.8 kB / 434.4 MB, free: 3.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5147, allocations: 4.25 kB / 434.5 MB, free: 3.742 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000437/0.5151, allocations: 199 kB / 434.6 MB, free: 3.562 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.5155, allocations: 30.03 kB / 434.7 MB, free: 3.543 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.5168, allocations: 0.5404 MB / 435.2 MB, free: 3.008 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.5173, allocations: 0.7521 MB / 436 MB, free: 2.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.5175, allocations: 30.05 kB / 436 MB, free: 2.199 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.5175, allocations: 15.44 kB / 436 MB, free: 2.188 MB / 346.7 MB Notification: Performance of SimCode: time 1.967e-06/0.5175, allocations: 0 / 436 MB, free: 2.188 MB / 346.7 MB Notification: Performance of Templates: time 0.007746/0.5253, allocations: 2.129 MB / 438.1 MB, free: 76 kB / 346.7 MB