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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.878e-05/2.891e-05, allocations: 4 kB / 292.2 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.08864, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3971/0.4858, allocations: 98.97 MB / 441.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.4861, allocations: 84.33 kB / 441.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4037/0.8898, allocations: 95 MB / 0.524 GB, free: 120 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.904e-06/0.8899, allocations: 0 / 0.524 GB, free: 120 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002342/0.8901, allocations: 92 kB / 0.5241 GB, free: 28 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.2669/1.157, allocations: 4.694 MB / 0.5287 GB, free: 97.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/1.157, allocations: 9.125 kB / 0.5287 GB, free: 97.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01606/1.173, allocations: 2.693 MB / 0.5314 GB, free: 97.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01638/1.19, allocations: 5.309 MB / 0.5365 GB, free: 96.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003892/1.19, allocations: 360.1 kB / 0.5369 GB, free: 96.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/1.191, allocations: 485.1 kB / 0.5374 GB, free: 96.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02762/1.219, allocations: 12.47 MB / 0.5495 GB, free: 93.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001854/1.219, allocations: 70.09 kB / 0.5496 GB, free: 93.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000811/1.22, allocations: 228.3 kB / 0.5498 GB, free: 93.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001945/1.222, allocations: 1.215 MB / 0.551 GB, free: 93.85 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02531/1.247, allocations: 9.93 MB / 0.5607 GB, free: 93.83 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06065/1.308, allocations: 52.87 MB / 0.6123 GB, free: 55.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01388/1.322, allocations: 4.493 MB / 0.6167 GB, free: 53.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003005/1.325, allocations: 1.662 MB / 0.6183 GB, free: 53.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01501/1.34, allocations: 8.257 MB / 0.6264 GB, free: 48.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/1.34, allocations: 60.97 kB / 0.6265 GB, free: 48.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 7.232e-06/1.34, allocations: 3.688 kB / 0.6265 GB, free: 48.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=205): time 0.04356/1.384, allocations: 13.66 MB / 0.6398 GB, free: 37.81 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001098/1.385, allocations: 1.604 MB / 0.6414 GB, free: 36.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006696/1.392, allocations: 3.665 MB / 0.645 GB, free: 32.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003563/1.392, allocations: 57.45 kB / 0.645 GB, free: 32.76 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002138/1.394, allocations: 3.408 MB / 0.6483 GB, free: 29.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008884/1.395, allocations: 0.7963 MB / 0.6491 GB, free: 29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004893/1.396, allocations: 144 kB / 0.6492 GB, free: 28.87 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000385/1.396, allocations: 0.5853 MB / 0.6498 GB, free: 28.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003885/1.4, allocations: 2.137 MB / 0.6519 GB, free: 26.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006204/1.406, allocations: 6.179 MB / 0.6579 GB, free: 18.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006474/1.413, allocations: 3.594 MB / 0.6615 GB, free: 15.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.996e-05/1.413, allocations: 44 kB / 0.6615 GB, free: 15.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.02033/1.433, allocations: 8.465 MB / 0.6698 GB, free: 8.152 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.433, allocations: 68 kB / 0.6698 GB, free: 8.086 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006456/1.44, allocations: 2.784 MB / 0.6725 GB, free: 5.816 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004034/1.444, allocations: 1.091 MB / 0.6736 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006661/1.451, allocations: 1.591 MB / 0.6752 GB, free: 3.633 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005289/1.456, allocations: 4.378 MB / 0.6794 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007479/1.463, allocations: 0.4954 MB / 0.6799 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001449/1.465, allocations: 412 kB / 0.6803 GB, free: 14.1 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.001694/1.467, allocations: 0.6261 MB / 0.6809 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009426/1.468, allocations: 375.1 kB / 0.6813 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008734/1.476, allocations: 3.239 MB / 0.6844 GB, free: 9.824 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007216/1.484, allocations: 2.68 MB / 0.6871 GB, free: 7.121 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.247e-05/1.484, allocations: 7.938 kB / 0.6871 GB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.844e-05/1.484, allocations: 11.92 kB / 0.6871 GB, free: 7.105 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2901/1.774, allocations: 10.27 MB / 0.6971 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.246e-05/1.774, allocations: 14.06 kB / 0.6971 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002286/1.776, allocations: 365 kB / 0.6975 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004116/1.78, allocations: 0.9776 MB / 0.6984 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000426/1.781, allocations: 63.69 kB / 0.6985 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006324/1.787, allocations: 4.602 MB / 0.703 GB, free: 97.69 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001024/1.788, allocations: 1.458 MB / 0.7044 GB, free: 96.33 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/1.8, allocations: 7.445 MB / 0.7117 GB, free: 93.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/1.802, allocations: 449.9 kB / 0.7121 GB, free: 93.33 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008271/1.803, allocations: 60.14 kB / 0.7122 GB, free: 93.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002831/1.805, allocations: 177 kB / 0.7123 GB, free: 93.33 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005278/1.806, allocations: 170.9 kB / 0.7125 GB, free: 93.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002281/1.806, allocations: 80.05 kB / 0.7126 GB, free: 93.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005598/1.812, allocations: 2.518 MB / 0.715 GB, free: 93.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.212e-06/1.812, allocations: 0 / 0.715 GB, free: 93.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007494/1.819, allocations: 1.147 MB / 0.7162 GB, free: 93.12 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.0007493/1.82, allocations: 234.4 kB / 0.7164 GB, free: 93.03 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01133/1.831, allocations: 5.505 MB / 0.7217 GB, free: 92.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/1.832, allocations: 3.594 kB / 0.7218 GB, free: 92.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004803/1.836, allocations: 2.122 MB / 0.7238 GB, free: 92.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003423/1.84, allocations: 465.2 kB / 0.7243 GB, free: 92.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0196/1.859, allocations: 8.847 MB / 0.7329 GB, free: 89.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006443/1.866, allocations: 3.556 MB / 0.7364 GB, free: 89.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007245/1.873, allocations: 2.026 MB / 0.7384 GB, free: 89.01 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.874, allocations: 272.8 kB / 0.7386 GB, free: 89 MB / 458.7 MB Notification: Performance of SimCode: time 1.868e-06/1.874, allocations: 0 / 0.7386 GB, free: 89 MB / 458.7 MB Notification: Performance of Templates: time 0.09859/1.973, allocations: 36.41 MB / 0.7742 GB, free: 82.44 MB / 458.7 MB