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.737/1.737, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.184e-05, allocations: 4 kB / 225 MB, free: 2.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2204, allocations: 38.76 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.3498, allocations: 84.65 MB / 348.4 MB, free: 5.043 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.3501, allocations: 83.95 kB / 348.5 MB, free: 4.961 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5471/0.8972, allocations: 91.6 MB / 440.1 MB, free: 33.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.313e-06/0.8972, allocations: 0 / 440.1 MB, free: 33.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001925/0.8974, allocations: 91.94 kB / 440.2 MB, free: 33.29 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: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.01561/0.9131, allocations: 4.613 MB / 444.8 MB, free: 28.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.9131, allocations: 15.97 kB / 444.8 MB, free: 28.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/0.9279, allocations: 2.674 MB / 447.5 MB, free: 25.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02041/0.9484, allocations: 5.54 MB / 453.1 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007819/0.9493, allocations: 353.1 kB / 453.4 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003411/0.9527, allocations: 467.8 kB / 453.9 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.093/1.046, allocations: 12.22 MB / 466.1 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003091/1.046, allocations: 75.33 kB / 466.1 MB, free: 6.043 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001907/1.048, allocations: 227.9 kB / 466.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003006/1.051, allocations: 1.175 MB / 467.5 MB, free: 4.641 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0276/1.079, allocations: 9.717 MB / 477.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3054/1.384, allocations: 52.32 MB / 0.5172 GB, free: 36.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0261/1.41, allocations: 4.021 MB / 0.5211 GB, free: 35.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005583/1.416, allocations: 1.599 MB / 0.5227 GB, free: 35.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02535/1.441, allocations: 7.4 MB / 0.5299 GB, free: 33.37 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/1.442, allocations: 48.47 kB / 0.5299 GB, free: 33.33 MB / 346.7 MB Notification: Performance of pre-optimization done (n=165): time 1.065e-05/1.442, allocations: 0 / 0.5299 GB, free: 33.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=188): time 0.05538/1.497, allocations: 13.82 MB / 0.5434 GB, free: 30.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001137/1.498, allocations: 1.597 MB / 0.545 GB, free: 28.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007033/1.505, allocations: 3.659 MB / 0.5486 GB, free: 28.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003655/1.506, allocations: 52.02 kB / 0.5486 GB, free: 28.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002308/1.508, allocations: 3.374 MB / 0.5519 GB, free: 25.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008793/1.509, allocations: 0.7546 MB / 0.5526 GB, free: 25.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005219/1.509, allocations: 131.8 kB / 0.5528 GB, free: 25.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003922/1.51, allocations: 0.586 MB / 0.5533 GB, free: 24.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004248/1.514, allocations: 2.089 MB / 0.5554 GB, free: 24.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006435/1.52, allocations: 6.111 MB / 0.5614 GB, free: 17.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006697/1.527, allocations: 3.54 MB / 0.5648 GB, free: 17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000115/1.527, allocations: 38.69 kB / 0.5648 GB, free: 17 MB / 346.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.02018/1.548, allocations: 8.251 MB / 0.5729 GB, free: 13.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/1.548, allocations: 68.94 kB / 0.573 GB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006384/1.554, allocations: 2.621 MB / 0.5755 GB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003801/1.558, allocations: 1.002 MB / 0.5765 GB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006833/1.565, allocations: 1.587 MB / 0.5781 GB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003995/1.569, allocations: 4.012 MB / 0.582 GB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007391/1.576, allocations: 0.5042 MB / 0.5825 GB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/1.578, allocations: 409.3 kB / 0.5829 GB, free: 4.555 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * 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): 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 {1} * 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.00139/1.579, allocations: 0.6073 MB / 0.5834 GB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008062/1.58, allocations: 371.2 kB / 0.5838 GB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007386/1.587, allocations: 3.135 MB / 0.5869 GB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01011/1.597, allocations: 2.79 MB / 0.5896 GB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.192e-05/1.598, allocations: 4 kB / 0.5896 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-05/1.598, allocations: 11.11 kB / 0.5896 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02675/1.624, allocations: 9.923 MB / 0.5993 GB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.924e-05/1.624, allocations: 15.88 kB / 0.5993 GB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002168/1.627, allocations: 344.2 kB / 0.5996 GB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003956/1.631, allocations: 0.9788 MB / 0.6006 GB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004134/1.631, allocations: 58.47 kB / 0.6006 GB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00693/1.638, allocations: 4.583 MB / 0.6051 GB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001492/1.64, allocations: 1.467 MB / 0.6066 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/1.654, allocations: 7.146 MB / 0.6135 GB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003685/1.658, allocations: 0.6523 MB / 0.6142 GB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001711/1.66, allocations: 51.98 kB / 0.6142 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005404/1.665, allocations: 179.7 kB / 0.6144 GB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008848/1.666, allocations: 159.7 kB / 0.6145 GB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004042/1.666, allocations: 71.97 kB / 0.6146 GB, free: 8.148 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01046/1.677, allocations: 2.517 MB / 0.6171 GB, free: 5.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.851e-06/1.677, allocations: 0 / 0.6171 GB, free: 5.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01383/1.691, allocations: 1.11 MB / 0.6182 GB, free: 4.512 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * 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 (164): * Single equations (assignments): 157 * 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.00123/1.692, allocations: 216.5 kB / 0.6184 GB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02262/1.715, allocations: 5.275 MB / 0.6235 GB, free: 15.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/1.715, allocations: 4 kB / 0.6235 GB, free: 15.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005372/1.72, allocations: 2.082 MB / 0.6256 GB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003577/1.724, allocations: 440.5 kB / 0.626 GB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02607/1.75, allocations: 8.661 MB / 0.6344 GB, free: 3.613 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01109/1.761, allocations: 3.491 MB / 0.6378 GB, free: 104 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.2557/2.017, allocations: 2.002 MB / 0.6398 GB, free: 110.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/2.018, allocations: 267.1 kB / 0.64 GB, free: 110.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.871e-06/2.018, allocations: 0 / 0.64 GB, free: 110.9 MB / 394.7 MB Notification: Performance of Templates: time 0.09695/2.115, allocations: 34.91 MB / 0.6741 GB, free: 109.3 MB / 394.7 MB