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_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadModel(Modelica): time 1.677/1.677, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.86e-05, allocations: 0 / 228.1 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08262/0.08267, allocations: 38.77 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.2818/0.3646, allocations: 36.87 MB / 303.8 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02258/0.3872, allocations: 8.539 MB / 312.3 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009314/0.3966, allocations: 195.9 kB / 312.5 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006703/0.4033, allocations: 1.908 MB / 314.4 MB, free: 2.918 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01982/0.4232, allocations: 5.278 MB / 319.7 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003703/0.4269, allocations: 0.6666 MB / 320.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005558/0.4325, allocations: 1.92 MB / 322.3 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007453/0.44, allocations: 4.011 MB / 326.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.4422, allocations: 0.892 MB / 327.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002992/0.4452, allocations: 1.422 MB / 328.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.448, allocations: 0.9159 MB / 329.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008656/0.4489, allocations: 136.2 kB / 329.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00214/0.451, allocations: 1.621 MB / 331.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.4523, allocations: 285.9 kB / 331.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.4624, allocations: 5.636 MB / 337.2 MB, free: 8.672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.4625, allocations: 0 / 337.2 MB, free: 8.672 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4625, allocations: 0 / 337.2 MB, free: 8.672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002553/0.4627, allocations: 0 / 337.2 MB, free: 8.672 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.01926/0.482, allocations: 4.192 MB / 341.4 MB, free: 4.445 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/0.4821, allocations: 8.031 kB / 341.4 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02131/0.5034, allocations: 2.489 MB / 343.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008667/0.5121, allocations: 2.865 MB / 346.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003852/0.5126, allocations: 260.1 kB / 347 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002356/0.515, allocations: 420.5 kB / 347.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03901/0.554, allocations: 12.09 MB / 359.5 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001803/0.5543, allocations: 43.62 kB / 359.6 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009545/0.5552, allocations: 169.2 kB / 359.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006053/0.5613, allocations: 2.129 MB / 361.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03724/0.5986, allocations: 10.11 MB / 372 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09154/0.6902, allocations: 44.32 MB / 416.3 MB, free: 7.902 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04593/0.7362, allocations: 6.689 MB / 423 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02145/0.7577, allocations: 8.407 MB / 431.4 MB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/0.7578, allocations: 51.5 kB / 431.4 MB, free: 8.391 MB / 362.7 MB Notification: Performance of pre-optimization done (n=165): time 6.402e-06/0.7578, allocations: 4 kB / 431.4 MB, free: 8.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=188): time 0.3579/1.116, allocations: 22.51 MB / 453.9 MB, free: 123.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001364/1.117, allocations: 1.61 MB / 455.6 MB, free: 122.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008346/1.126, allocations: 3.952 MB / 459.5 MB, free: 120.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004981/1.126, allocations: 54.02 kB / 459.6 MB, free: 120.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002761/1.129, allocations: 3.364 MB / 462.9 MB, free: 118.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/1.13, allocations: 0.7497 MB / 463.7 MB, free: 117.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006403/1.131, allocations: 128.5 kB / 463.8 MB, free: 117.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003802/1.131, allocations: 0.5856 MB / 464.4 MB, free: 117.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005951/1.137, allocations: 2.329 MB / 466.7 MB, free: 116.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008398/1.146, allocations: 6.402 MB / 473.1 MB, free: 109.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008589/1.154, allocations: 3.722 MB / 476.8 MB, free: 106.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001394/1.154, allocations: 47.94 kB / 476.9 MB, free: 106.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.02599/1.18, allocations: 9.262 MB / 486.1 MB, free: 97.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.181, allocations: 79.41 kB / 486.2 MB, free: 97.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009423/1.19, allocations: 3.084 MB / 489.3 MB, free: 94.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005523/1.196, allocations: 1.193 MB / 490.5 MB, free: 92.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008936/1.205, allocations: 1.567 MB / 492.1 MB, free: 91.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006725/1.211, allocations: 4.639 MB / 496.7 MB, free: 86.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007552/1.219, allocations: 454 kB / 497.1 MB, free: 85.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/1.22, allocations: 408 kB / 497.5 MB, free: 85.59 MB / 362.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: 42 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (828): * Single equations (assignments): 819 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.004892/1.225, allocations: 2.155 MB / 499.7 MB, free: 83.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/1.226, allocations: 371.2 kB / 0.4883 GB, free: 83.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/1.236, allocations: 3.483 MB / 0.4917 GB, free: 79.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008988/1.245, allocations: 2.934 MB / 0.4946 GB, free: 76.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/1.245, allocations: 3.938 kB / 0.4946 GB, free: 76.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.83e-05/1.245, allocations: 15.92 kB / 0.4946 GB, free: 76.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03274/1.278, allocations: 10.46 MB / 0.5048 GB, free: 65.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-05/1.278, allocations: 12 kB / 0.5049 GB, free: 65.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003819/1.282, allocations: 371.4 kB / 0.5052 GB, free: 65.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005216/1.287, allocations: 0.9787 MB / 0.5062 GB, free: 64.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004756/1.288, allocations: 59.97 kB / 0.5062 GB, free: 64.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007146/1.295, allocations: 4.676 MB / 0.5108 GB, free: 59.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001145/1.296, allocations: 1.483 MB / 0.5122 GB, free: 57.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/1.312, allocations: 7.565 MB / 0.5196 GB, free: 49.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002286/1.315, allocations: 0.6796 MB / 0.5203 GB, free: 49.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009978/1.316, allocations: 56.67 kB / 0.5203 GB, free: 49.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003493/1.319, allocations: 172.6 kB / 0.5205 GB, free: 48.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005493/1.32, allocations: 160.5 kB / 0.5207 GB, free: 48.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002226/1.32, allocations: 69.47 kB / 0.5207 GB, free: 48.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005784/1.326, allocations: 2.753 MB / 0.5234 GB, free: 45.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.326, allocations: 1.781 kB / 0.5234 GB, free: 45.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007987/1.334, allocations: 1.142 MB / 0.5245 GB, free: 44.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * 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 (165): * Single equations (assignments): 158 * 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 {(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 Backend phase and start with SimCode phase: time 0.0008608/1.335, allocations: 224.3 kB / 0.5248 GB, free: 44.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0151/1.35, allocations: 6.01 MB / 0.5306 GB, free: 38.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/1.35, allocations: 7.938 kB / 0.5306 GB, free: 38.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006799/1.357, allocations: 2.241 MB / 0.5328 GB, free: 36.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003943/1.361, allocations: 455.8 kB / 0.5333 GB, free: 35.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0248/1.385, allocations: 12.47 MB / 0.5454 GB, free: 23.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005719/1.391, allocations: 3.49 MB / 0.5488 GB, free: 19.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.008482/1.4, allocations: 2.022 MB / 0.5508 GB, free: 17.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/1.401, allocations: 271.4 kB / 0.5511 GB, free: 17.22 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/1.401, allocations: 0 / 0.5511 GB, free: 17.22 MB / 362.7 MB Notification: Performance of Templates: time 0.3449/1.746, allocations: 37.46 MB / 0.5876 GB, free: 101.2 MB / 362.7 MB