Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,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.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 2.159/2.159, allocations: 224.7 MB / 241.1 MB, free: 1.648 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.069e-05, allocations: 7.984 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1683, allocations: 50.41 MB / 345 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.05398/0.2223, allocations: 34.75 MB / 379.7 MB, free: 6.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02505/0.2474, allocations: 8.247 MB / 388 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007994/0.2555, allocations: 183.5 kB / 388.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006514/0.2621, allocations: 1.765 MB / 389.9 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01962/0.2817, allocations: 5.002 MB / 394.9 MB, free: 6.832 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.2851, allocations: 0.5382 MB / 395.5 MB, free: 6.293 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004915/0.2901, allocations: 1.584 MB / 397.1 MB, free: 4.703 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007957/0.2981, allocations: 3.751 MB / 400.8 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.3001, allocations: 0.7832 MB / 401.6 MB, free: 120 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3355/0.6357, allocations: 1.164 MB / 402.8 MB, free: 6.352 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003843/0.6396, allocations: 0.8587 MB / 403.6 MB, free: 6.352 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001597/0.6413, allocations: 112.9 kB / 403.7 MB, free: 6.352 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002974/0.6443, allocations: 1.426 MB / 405.1 MB, free: 6.352 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002078/0.6464, allocations: 259.8 kB / 405.4 MB, free: 6.352 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00994/0.6564, allocations: 5.124 MB / 410.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6564, allocations: 0 / 410.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.6565, allocations: 0.875 kB / 410.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003046/0.6568, allocations: 0 / 410.5 MB, free: 5.984 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01392/0.6707, allocations: 3.717 MB / 414.2 MB, free: 4.285 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.6708, allocations: 12.16 kB / 414.3 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01488/0.6857, allocations: 2.22 MB / 416.5 MB, free: 4.008 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00691/0.6926, allocations: 2.054 MB / 418.5 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003643/0.6931, allocations: 252.2 kB / 418.8 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00247/0.6956, allocations: 397.3 kB / 419.2 MB, free: 3.488 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03077/0.7264, allocations: 10.17 MB / 429.3 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/0.7266, allocations: 41.78 kB / 429.4 MB, free: 16 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001058/0.7277, allocations: 162.2 kB / 429.5 MB, free: 12 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00549/0.7332, allocations: 1.877 MB / 431.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02985/0.7631, allocations: 8.443 MB / 439.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09517/0.8583, allocations: 39.45 MB / 479.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01893/0.8773, allocations: 4.006 MB / 483.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01925/0.8966, allocations: 7.702 MB / 491 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.158e-05/0.8968, allocations: 54.27 kB / 491.1 MB, free: 14.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=152): time 6.402e-06/0.8968, allocations: 0 / 491.1 MB, free: 14.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=159): time 0.06115/0.9579, allocations: 12.65 MB / 0.4919 GB, free: 2.031 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001898/0.9599, allocations: 1.607 MB / 0.4935 GB, free: 272 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01003/0.97, allocations: 3.502 MB / 0.4969 GB, free: 12.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004786/0.9705, allocations: 52.2 kB / 0.4969 GB, free: 12.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003737/0.9742, allocations: 3.061 MB / 0.4999 GB, free: 9.664 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00134/0.9757, allocations: 0.6504 MB / 0.5006 GB, free: 9.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008866/0.9766, allocations: 127.5 kB / 0.5007 GB, free: 8.898 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005888/0.9772, allocations: 0.5673 MB / 0.5012 GB, free: 8.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006659/0.9838, allocations: 2.026 MB / 0.5032 GB, free: 6.289 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01057/0.9945, allocations: 5.938 MB / 0.509 GB, free: 14.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009474/1.004, allocations: 3.382 MB / 0.5123 GB, free: 11.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001352/1.004, allocations: 40 kB / 0.5124 GB, free: 11.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.0411/1.045, allocations: 9.605 MB / 0.5217 GB, free: 2.391 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/1.046, allocations: 64 kB / 0.5218 GB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02289/1.068, allocations: 3.758 MB / 0.5255 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02317/1.092, allocations: 2.637 MB / 0.528 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008581/1.1, allocations: 1.362 MB / 0.5294 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01862/1.119, allocations: 7.476 MB / 0.5367 GB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007607/1.127, allocations: 407.2 kB / 0.5371 GB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001689/1.128, allocations: 388 kB / 0.5374 GB, free: 2.215 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[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 (738): * Single equations (assignments): 728 * 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: 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: 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: 1 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.006714/1.135, allocations: 1.975 MB / 0.5394 GB, free: 368 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009287/1.136, allocations: 327.8 kB / 0.5397 GB, free: 36 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/1.149, allocations: 3.115 MB / 0.5427 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01136/1.161, allocations: 2.686 MB / 0.5453 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.333e-05/1.161, allocations: 6.25 kB / 0.5453 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.907e-05/1.161, allocations: 7.969 kB / 0.5454 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03069/1.192, allocations: 8.567 MB / 0.5537 GB, free: 1.633 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.959e-05/1.192, allocations: 0 / 0.5537 GB, free: 1.633 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/1.194, allocations: 192.1 kB / 0.5539 GB, free: 1.453 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008898/1.203, allocations: 1.441 MB / 0.5553 GB, free: 0 / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004541/1.203, allocations: 39.94 kB / 0.5553 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/1.215, allocations: 5.79 MB / 0.561 GB, free: 9.895 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001624/1.216, allocations: 1.467 MB / 0.5624 GB, free: 8.293 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/1.234, allocations: 5.365 MB / 0.5677 GB, free: 2.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/1.235, allocations: 384.7 kB / 0.568 GB, free: 2.512 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/1.237, allocations: 34.42 kB / 0.5681 GB, free: 2.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002957/1.24, allocations: 123.8 kB / 0.5682 GB, free: 2.359 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004965/1.24, allocations: 90.55 kB / 0.5683 GB, free: 2.273 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/1.24, allocations: 47.92 kB / 0.5683 GB, free: 2.227 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.3117/1.552, allocations: 2.409 MB / 0.5707 GB, free: 175 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.292e-06/1.552, allocations: 2.625 kB / 0.5707 GB, free: 175 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008783/1.561, allocations: 1.046 MB / 0.5717 GB, free: 175 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 83 * 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: 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: 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: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.001091/1.562, allocations: 190.6 kB / 0.5719 GB, free: 174.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01702/1.579, allocations: 5.431 MB / 0.5772 GB, free: 174.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.579, allocations: 3.438 kB / 0.5772 GB, free: 174.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007347/1.587, allocations: 2.016 MB / 0.5792 GB, free: 173.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/1.59, allocations: 360.5 kB / 0.5795 GB, free: 173.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02673/1.617, allocations: 11.07 MB / 0.5903 GB, free: 167.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00719/1.624, allocations: 3.197 MB / 0.5934 GB, free: 166.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/1.626, allocations: 262.2 kB / 0.5937 GB, free: 166.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.733e-06/1.626, allocations: 0 / 0.5937 GB, free: 166.2 MB / 474.7 MB Notification: Performance of Templates: time 0.2249/1.85, allocations: 135.8 MB / 0.7263 GB, free: 34.95 MB / 474.7 MB