Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.924e-05, allocations: 4 kB / 292.7 MB, free: 8.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09028/0.09033, allocations: 50.42 MB / 343.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3882/0.4785, allocations: 98.98 MB / 442.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.4788, allocations: 86.7 kB / 442.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3628/0.8417, allocations: 95 MB / 0.5246 GB, free: 176 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.879e-06/0.8417, allocations: 0 / 0.5246 GB, free: 176 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002287/0.842, allocations: 88.19 kB / 0.5246 GB, free: 88 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.3036/1.146, allocations: 4.697 MB / 0.5292 GB, free: 97.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.146, allocations: 8.25 kB / 0.5292 GB, free: 97.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01596/1.162, allocations: 2.696 MB / 0.5319 GB, free: 97.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01736/1.179, allocations: 5.306 MB / 0.5371 GB, free: 97.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005395/1.18, allocations: 364.1 kB / 0.5374 GB, free: 97.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002076/1.182, allocations: 476.2 kB / 0.5379 GB, free: 97.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0309/1.213, allocations: 12.47 MB / 0.55 GB, free: 94.06 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001993/1.213, allocations: 66.09 kB / 0.5501 GB, free: 94.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009881/1.214, allocations: 231.9 kB / 0.5503 GB, free: 94.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002316/1.216, allocations: 1.214 MB / 0.5515 GB, free: 94.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02609/1.242, allocations: 9.931 MB / 0.5612 GB, free: 94.03 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06219/1.305, allocations: 52.87 MB / 0.6128 GB, free: 55.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01489/1.32, allocations: 4.492 MB / 0.6172 GB, free: 53.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003056/1.323, allocations: 1.663 MB / 0.6188 GB, free: 53.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01523/1.338, allocations: 8.265 MB / 0.6269 GB, free: 48.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/1.338, allocations: 58.34 kB / 0.627 GB, free: 48.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 7.371e-06/1.338, allocations: 3 kB / 0.627 GB, free: 48.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=205): time 0.04308/1.381, allocations: 13.66 MB / 0.6403 GB, free: 37.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001093/1.382, allocations: 1.602 MB / 0.6419 GB, free: 36.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006355/1.389, allocations: 3.661 MB / 0.6455 GB, free: 32.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003518/1.389, allocations: 53.7 kB / 0.6455 GB, free: 32.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0022/1.391, allocations: 3.407 MB / 0.6488 GB, free: 29.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008858/1.392, allocations: 0.806 MB / 0.6496 GB, free: 29.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004611/1.393, allocations: 128 kB / 0.6497 GB, free: 28.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003756/1.393, allocations: 0.5899 MB / 0.6503 GB, free: 28.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003868/1.397, allocations: 2.142 MB / 0.6524 GB, free: 26.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006224/1.403, allocations: 6.178 MB / 0.6584 GB, free: 18.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006189/1.409, allocations: 3.594 MB / 0.662 GB, free: 15.56 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.501e-05/1.409, allocations: 40 kB / 0.662 GB, free: 15.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.01941/1.429, allocations: 8.472 MB / 0.6703 GB, free: 8.238 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.937e-05/1.429, allocations: 68.22 kB / 0.6703 GB, free: 8.172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006277/1.435, allocations: 2.796 MB / 0.6731 GB, free: 5.895 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003875/1.439, allocations: 1.077 MB / 0.6741 GB, free: 5.113 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006386/1.446, allocations: 1.593 MB / 0.6757 GB, free: 3.719 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005238/1.451, allocations: 4.379 MB / 0.6799 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007478/1.458, allocations: 0.4916 MB / 0.6804 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002057/1.461, allocations: 416 kB / 0.6808 GB, free: 14.18 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (845): * Single equations (assignments): 836 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003022/1.464, allocations: 0.6338 MB / 0.6814 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001264/1.465, allocations: 375.1 kB / 0.6818 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008552/1.474, allocations: 3.224 MB / 0.685 GB, free: 9.914 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006936/1.48, allocations: 2.687 MB / 0.6876 GB, free: 7.211 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/1.481, allocations: 4 kB / 0.6876 GB, free: 7.207 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.742e-05/1.481, allocations: 11.92 kB / 0.6876 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2823/1.763, allocations: 10.27 MB / 0.6976 GB, free: 100.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.621e-05/1.763, allocations: 14.16 kB / 0.6976 GB, free: 100.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002081/1.765, allocations: 363.5 kB / 0.698 GB, free: 100.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003957/1.769, allocations: 0.9758 MB / 0.6989 GB, free: 100.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003847/1.769, allocations: 68.25 kB / 0.699 GB, free: 100.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006127/1.776, allocations: 4.597 MB / 0.7035 GB, free: 97.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001014/1.777, allocations: 1.471 MB / 0.7049 GB, free: 96.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/1.788, allocations: 7.438 MB / 0.7122 GB, free: 93.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/1.789, allocations: 449.2 kB / 0.7126 GB, free: 93.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006248/1.79, allocations: 55.67 kB / 0.7127 GB, free: 93.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/1.792, allocations: 183.1 kB / 0.7128 GB, free: 93.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003925/1.793, allocations: 174.5 kB / 0.713 GB, free: 93.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000211/1.793, allocations: 76.59 kB / 0.7131 GB, free: 93.51 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00497/1.798, allocations: 2.516 MB / 0.7155 GB, free: 93.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-06/1.798, allocations: 2.938 kB / 0.7155 GB, free: 93.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007304/1.805, allocations: 1.156 MB / 0.7167 GB, free: 93.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 172 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006625/1.806, allocations: 230 kB / 0.7169 GB, free: 93.22 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01079/1.817, allocations: 5.506 MB / 0.7223 GB, free: 92.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.817, allocations: 0 / 0.7223 GB, free: 92.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004767/1.822, allocations: 2.128 MB / 0.7243 GB, free: 92.36 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/1.825, allocations: 457.3 kB / 0.7248 GB, free: 92.33 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/1.843, allocations: 8.844 MB / 0.7334 GB, free: 90.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004891/1.848, allocations: 3.561 MB / 0.7369 GB, free: 89.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006598/1.854, allocations: 2.027 MB / 0.7389 GB, free: 89.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009864/1.855, allocations: 271.5 kB / 0.7391 GB, free: 89.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.878e-06/1.855, allocations: 3.188 kB / 0.7391 GB, free: 89.2 MB / 458.7 MB Notification: Performance of Templates: time 0.09742/1.953, allocations: 36.4 MB / 0.7747 GB, free: 82.66 MB / 458.7 MB