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_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 1.723/1.723, allocations: 194.9 MB / 208 MB, free: 3.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.568e-05/2.58e-05, allocations: 7.984 kB / 255.4 MB, free: 2.746 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0852/0.08525, allocations: 44.5 MB / 299.9 MB, free: 6.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3298/0.4152, allocations: 73.05 MB / 372.9 MB, free: 22.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.4154, allocations: 74.94 kB / 373 MB, free: 22.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0136/0.429, allocations: 3.609 MB / 376.6 MB, free: 21.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.079e-06/0.4291, allocations: 0 / 376.6 MB, free: 21.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.4291, allocations: 3.844 kB / 376.6 MB, free: 21.93 MB / 314.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.000572/0.4297, allocations: 470.1 kB / 377.1 MB, free: 21.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4297, allocations: 8.875 kB / 377.1 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.4298, allocations: 27.34 kB / 377.1 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.4301, allocations: 229.6 kB / 377.3 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.4301, allocations: 15.53 kB / 377.4 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.513e-05/0.4302, allocations: 20.56 kB / 377.4 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.4306, allocations: 196.5 kB / 377.6 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.4306, allocations: 5.469 kB / 377.6 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.4306, allocations: 9.375 kB / 377.6 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.4307, allocations: 8.016 kB / 377.6 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.431, allocations: 115.9 kB / 377.7 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.4321, allocations: 0.6998 MB / 378.4 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.4324, allocations: 138.7 kB / 378.5 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.4326, allocations: 61.58 kB / 378.6 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.4326, allocations: 3.281 kB / 378.6 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.4326, allocations: 45.41 kB / 378.6 MB, free: 20.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 3.236e-06/0.4327, allocations: 0 / 378.6 MB, free: 20.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.001585/0.4342, allocations: 0.8133 MB / 379.5 MB, free: 20.26 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.4343, allocations: 57.84 kB / 379.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.4345, allocations: 158.6 kB / 379.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.4345, allocations: 29.2 kB / 379.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.4346, allocations: 144.9 kB / 379.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.4347, allocations: 82.97 kB / 379.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/0.4347, allocations: 5.062 kB / 379.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.576e-05/0.4348, allocations: 339.3 kB / 380.3 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.4349, allocations: 45.41 kB / 380.3 MB, free: 19.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.4351, allocations: 97.69 kB / 380.4 MB, free: 19.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.4353, allocations: 59.78 kB / 380.5 MB, free: 19.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4353, allocations: 1.281 kB / 380.5 MB, free: 19.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005178/0.4358, allocations: 230.8 kB / 380.7 MB, free: 19.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4358, allocations: 7.125 kB / 380.7 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4359, allocations: 5.156 kB / 380.7 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/0.4361, allocations: 43.22 kB / 380.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.4364, allocations: 50.27 kB / 380.8 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.4375, allocations: 1.375 MB / 382.2 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.4377, allocations: 11.86 kB / 382.2 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.4378, allocations: 9.812 kB / 382.2 MB, free: 18.16 MB / 314.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 8.184e-05/0.4379, allocations: 115.7 kB / 382.3 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.438, allocations: 17.28 kB / 382.3 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.438, allocations: 29.38 kB / 382.3 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.876e-06/0.438, allocations: 6.984 kB / 382.3 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.744e-06/0.4381, allocations: 2.625 kB / 382.3 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.778e-06/0.4381, allocations: 4.906 kB / 382.3 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.4392, allocations: 0.6403 MB / 383 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.863e-06/0.4392, allocations: 0.9688 kB / 383 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.4396, allocations: 43.62 kB / 383 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001721/0.4398, allocations: 34.77 kB / 383.1 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.4398, allocations: 2.25 kB / 383.1 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.441, allocations: 1.386 MB / 384.5 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.977e-06/0.441, allocations: 9 kB / 384.5 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006721/0.4417, allocations: 409.5 kB / 384.9 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.4418, allocations: 96.28 kB / 385 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.4418, allocations: 1.906 kB / 385 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.442, allocations: 13.09 kB / 385 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.4421, allocations: 18.66 kB / 385 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.4421, allocations: 5.969 kB / 385 MB, free: 16.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001131/0.4422, allocations: 124 kB / 385.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.15e-07/0.4422, allocations: 0 / 385.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004872/0.4427, allocations: 58.19 kB / 385.2 MB, free: 15.96 MB / 314.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.0001321/0.4429, allocations: 110.6 kB / 385.3 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005721/0.4435, allocations: 262.2 kB / 385.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.651e-06/0.4435, allocations: 1.062 kB / 385.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.4438, allocations: 201 kB / 385.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.4443, allocations: 41.06 kB / 385.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.4454, allocations: 0.5281 MB / 386.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006999/0.4461, allocations: 0.753 MB / 387.1 MB, free: 30.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.4462, allocations: 24.16 kB / 387.1 MB, free: 30.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.4463, allocations: 21.41 kB / 387.1 MB, free: 30.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.78e-06/0.4463, allocations: 0 / 387.1 MB, free: 30.59 MB / 330.7 MB Notification: Performance of Templates: time 0.007162/0.4535, allocations: 2.138 MB / 389.2 MB, free: 30.41 MB / 330.7 MB