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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadModel(Modelica): time 1.876/1.876, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.873e-05, allocations: 4 kB / 258.8 MB, free: 8.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3203, allocations: 44.5 MB / 303.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.05683/0.3772, allocations: 36.87 MB / 340.2 MB, free: 8.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02366/0.4009, allocations: 8.564 MB / 348.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0081/0.4091, allocations: 195.5 kB / 349 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006343/0.4155, allocations: 1.905 MB / 350.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01904/0.4346, allocations: 5.282 MB / 356.1 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.4382, allocations: 0.6513 MB / 356.8 MB, free: 7.867 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005576/0.4439, allocations: 1.907 MB / 358.7 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008265/0.4522, allocations: 4.009 MB / 362.7 MB, free: 1.898 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.4542, allocations: 0.8845 MB / 363.6 MB, free: 1.012 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003104/0.4573, allocations: 1.43 MB / 365 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002972/0.4603, allocations: 0.9323 MB / 366 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001064/0.4614, allocations: 136 kB / 366.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002575/0.464, allocations: 1.617 MB / 367.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.4654, allocations: 287.9 kB / 368 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009158/0.4746, allocations: 5.647 MB / 373.6 MB, free: 6.949 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4747, allocations: 0 / 373.6 MB, free: 6.949 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.4747, allocations: 0 / 373.6 MB, free: 6.949 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002512/0.475, allocations: 0 / 373.6 MB, free: 6.949 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.01311/0.4881, allocations: 4.194 MB / 377.8 MB, free: 2.691 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.4882, allocations: 8.031 kB / 377.8 MB, free: 2.684 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01665/0.5048, allocations: 2.517 MB / 380.4 MB, free: 160 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007925/0.5128, allocations: 2.868 MB / 383.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003514/0.5132, allocations: 258.6 kB / 383.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00217/0.5154, allocations: 423.5 kB / 383.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03639/0.5518, allocations: 12.08 MB / 396 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001709/0.552, allocations: 51.52 kB / 396 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008475/0.5529, allocations: 167.8 kB / 396.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005991/0.5589, allocations: 2.123 MB / 398.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06066/0.6196, allocations: 10.11 MB / 408.4 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3512/0.9708, allocations: 44.33 MB / 452.8 MB, free: 77.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03341/1.004, allocations: 6.677 MB / 459.4 MB, free: 74.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02755/1.032, allocations: 8.444 MB / 467.9 MB, free: 68.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.289e-05/1.032, allocations: 54.06 kB / 467.9 MB, free: 68.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=165): time 7.744e-06/1.032, allocations: 0 / 467.9 MB, free: 68.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=188): time 0.1593/1.191, allocations: 22.51 MB / 490.4 MB, free: 45.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001954/1.193, allocations: 1.614 MB / 492.1 MB, free: 43.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01212/1.206, allocations: 3.945 MB / 496 MB, free: 39.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006494/1.206, allocations: 54.88 kB / 496.1 MB, free: 39.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004232/1.211, allocations: 3.373 MB / 499.4 MB, free: 36.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001865/1.212, allocations: 0.7522 MB / 0.4885 GB, free: 35.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/1.214, allocations: 128.7 kB / 0.4886 GB, free: 35.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0006308/1.215, allocations: 0.5792 MB / 0.4891 GB, free: 34.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006102/1.221, allocations: 2.355 MB / 0.4914 GB, free: 32.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008051/1.229, allocations: 6.432 MB / 0.4977 GB, free: 24.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009174/1.238, allocations: 3.743 MB / 0.5014 GB, free: 20.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-05/1.238, allocations: 44 kB / 0.5014 GB, free: 20.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.03586/1.274, allocations: 10.18 MB / 0.5114 GB, free: 10.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.236e-05/1.274, allocations: 68.94 kB / 0.5114 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01969/1.294, allocations: 3.998 MB / 0.5153 GB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01861/1.313, allocations: 2.188 MB / 0.5175 GB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008845/1.321, allocations: 1.563 MB / 0.519 GB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01493/1.336, allocations: 6.377 MB / 0.5252 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007429/1.344, allocations: 440.6 kB / 0.5256 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009869/1.345, allocations: 412 kB / 0.526 GB, free: 10.82 MB / 378.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): 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.004952/1.35, allocations: 2.144 MB / 0.5281 GB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009068/1.351, allocations: 371.2 kB / 0.5285 GB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/1.362, allocations: 3.494 MB / 0.5319 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009838/1.372, allocations: 2.931 MB / 0.5348 GB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/1.372, allocations: 8 kB / 0.5348 GB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.004e-05/1.372, allocations: 7.969 kB / 0.5348 GB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02969/1.402, allocations: 10.48 MB / 0.545 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.094e-05/1.402, allocations: 12 kB / 0.545 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00309/1.405, allocations: 367.4 kB / 0.5454 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005491/1.41, allocations: 0.9831 MB / 0.5463 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002772/1.411, allocations: 55.98 kB / 0.5464 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008525/1.419, allocations: 4.679 MB / 0.551 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001489/1.421, allocations: 1.482 MB / 0.5524 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/1.439, allocations: 7.556 MB / 0.5598 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002467/1.441, allocations: 0.6874 MB / 0.5605 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/1.442, allocations: 55.98 kB / 0.5605 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003474/1.446, allocations: 159.8 kB / 0.5607 GB, free: 6.082 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005312/1.446, allocations: 168.4 kB / 0.5608 GB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002423/1.447, allocations: 71.97 kB / 0.5609 GB, free: 5.848 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006917/1.453, allocations: 2.75 MB / 0.5636 GB, free: 3.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.12e-07/1.454, allocations: 0 / 0.5636 GB, free: 3.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007217/1.461, allocations: 1.169 MB / 0.5647 GB, free: 1.93 MB / 410.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.0008975/1.462, allocations: 220 kB / 0.5649 GB, free: 1.715 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.2747/1.736, allocations: 6.066 MB / 0.5709 GB, free: 142.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/1.737, allocations: 0 / 0.5709 GB, free: 142.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006358/1.743, allocations: 2.249 MB / 0.5731 GB, free: 141.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/1.746, allocations: 447.2 kB / 0.5735 GB, free: 141.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02434/1.771, allocations: 12.47 MB / 0.5857 GB, free: 134.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005839/1.777, allocations: 3.492 MB / 0.5891 GB, free: 133 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.008502/1.785, allocations: 2.015 MB / 0.591 GB, free: 131.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/1.787, allocations: 275.4 kB / 0.5913 GB, free: 130.9 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/1.787, allocations: 0 / 0.5913 GB, free: 130.9 MB / 410.7 MB Notification: Performance of Templates: time 0.105/1.892, allocations: 39.85 MB / 0.6302 GB, free: 91.1 MB / 410.7 MB