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_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.703/1.703, allocations: 171.1 MB / 186.3 MB, free: 1.422 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.476e-05, allocations: 0 / 228.1 MB, free: 8.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 38.78 MB / 266.9 MB, free: 1.137 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.05363/0.1578, allocations: 33.02 MB / 299.9 MB, free: 12 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2485/0.4063, allocations: 7.788 MB / 307.7 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009504/0.4158, allocations: 172.5 kB / 307.9 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007072/0.423, allocations: 1.728 MB / 309.6 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0196/0.4426, allocations: 4.739 MB / 314.4 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003489/0.4462, allocations: 0.5394 MB / 314.9 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004745/0.451, allocations: 1.524 MB / 316.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007633/0.4587, allocations: 3.709 MB / 320.1 MB, free: 100 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.4611, allocations: 0.7504 MB / 320.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002893/0.4641, allocations: 1.126 MB / 322 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003147/0.4673, allocations: 0.8329 MB / 322.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00126/0.4686, allocations: 110.3 kB / 322.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002462/0.4711, allocations: 1.354 MB / 324.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.4726, allocations: 246.2 kB / 324.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00868/0.4813, allocations: 5.009 MB / 329.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4814, allocations: 6.188 kB / 329.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.4814, allocations: 0 / 329.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002901/0.4817, allocations: 0 / 329.6 MB, free: 12.14 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: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.01238/0.4941, allocations: 3.613 MB / 333.2 MB, free: 9.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.4942, allocations: 12.03 kB / 333.2 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01454/0.5087, allocations: 2.174 MB / 335.3 MB, free: 7.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006889/0.5157, allocations: 2.157 MB / 337.5 MB, free: 5.504 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.516, allocations: 232.8 kB / 337.7 MB, free: 5.375 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001991/0.518, allocations: 381.9 kB / 338.1 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0281/0.5461, allocations: 9.78 MB / 347.9 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001535/0.5463, allocations: 47.53 kB / 347.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007392/0.5471, allocations: 152.6 kB / 348.1 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004852/0.552, allocations: 1.804 MB / 349.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02777/0.5798, allocations: 8.106 MB / 358 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1144/0.6943, allocations: 38.6 MB / 396.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01688/0.7112, allocations: 3.598 MB / 400.2 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0169/0.7282, allocations: 6.547 MB / 406.7 MB, free: 424 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/0.7283, allocations: 47.16 kB / 406.8 MB, free: 368 kB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 7.253e-06/0.7283, allocations: 3.984 kB / 406.8 MB, free: 364 kB / 330.7 MB Notification: Performance of matching and sorting (n=138): time 0.05567/0.784, allocations: 12.05 MB / 418.8 MB, free: 4.059 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001759/0.7858, allocations: 1.6 MB / 420.4 MB, free: 2.289 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008908/0.7947, allocations: 3.479 MB / 423.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004336/0.7952, allocations: 49.7 kB / 424 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003424/0.7987, allocations: 3.027 MB / 427 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001143/0.7998, allocations: 0.58 MB / 427.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007171/0.8006, allocations: 120.2 kB / 427.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005228/0.8011, allocations: 0.5668 MB / 428.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00582/0.807, allocations: 1.964 MB / 430.2 MB, free: 8.512 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009602/0.8166, allocations: 5.855 MB / 436.1 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2404/1.057, allocations: 3.311 MB / 439.4 MB, free: 120.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001883/1.057, allocations: 42.97 kB / 439.4 MB, free: 120.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02995/1.087, allocations: 8.691 MB / 448.1 MB, free: 118.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001743/1.088, allocations: 65.78 kB / 448.2 MB, free: 118.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01155/1.099, allocations: 2.862 MB / 451.1 MB, free: 117.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/1.109, allocations: 1.761 MB / 452.8 MB, free: 117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007442/1.117, allocations: 1.334 MB / 454.1 MB, free: 116.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009197/1.126, allocations: 5.82 MB / 460 MB, free: 113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006721/1.133, allocations: 387.8 kB / 460.3 MB, free: 112.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00125/1.134, allocations: 386.7 kB / 460.7 MB, free: 112.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 36 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (717): * Single equations (assignments): 707 * 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: 3 * 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: 2 {6 26,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.004864/1.139, allocations: 1.945 MB / 462.7 MB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008147/1.14, allocations: 318 kB / 463 MB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/1.151, allocations: 3.06 MB / 466 MB, free: 110.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009676/1.161, allocations: 2.618 MB / 468.7 MB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.798e-05/1.161, allocations: 4 kB / 468.7 MB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-05/1.161, allocations: 15.91 kB / 468.7 MB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008614/1.169, allocations: 3.552 MB / 472.2 MB, free: 105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/1.169, allocations: 0 / 472.2 MB, free: 105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/1.171, allocations: 171.7 kB / 472.4 MB, free: 104.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008359/1.179, allocations: 1.488 MB / 473.9 MB, free: 103.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003716/1.18, allocations: 39.97 kB / 473.9 MB, free: 103.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00925/1.189, allocations: 5.859 MB / 479.8 MB, free: 97.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00112/1.19, allocations: 1.465 MB / 481.2 MB, free: 95.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/1.205, allocations: 5.237 MB / 486.5 MB, free: 90.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.206, allocations: 380.7 kB / 486.9 MB, free: 90.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/1.207, allocations: 29.39 kB / 486.9 MB, free: 90.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/1.21, allocations: 119.8 kB / 487 MB, free: 89.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004566/1.211, allocations: 88.81 kB / 487.1 MB, free: 89.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/1.211, allocations: 41.16 kB / 487.1 MB, free: 89.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005539/1.216, allocations: 2.404 MB / 489.5 MB, free: 87.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.216, allocations: 0 / 489.5 MB, free: 87.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006471/1.223, allocations: 0.9859 MB / 490.5 MB, free: 86.41 MB / 362.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 (73): * Single equations (assignments): 65 * 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 {(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: 1 {8 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008167/1.224, allocations: 189.4 kB / 490.7 MB, free: 86.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01365/1.237, allocations: 5.3 MB / 496 MB, free: 80.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.238, allocations: 0 / 496 MB, free: 80.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006364/1.244, allocations: 1.963 MB / 498 MB, free: 78.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/1.247, allocations: 353.8 kB / 498.3 MB, free: 78.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/1.269, allocations: 10.75 MB / 0.4971 GB, free: 67.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005666/1.275, allocations: 3.126 MB / 0.5002 GB, free: 64.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/1.276, allocations: 259.4 kB / 0.5004 GB, free: 64.33 MB / 362.7 MB Notification: Performance of SimCode: time 1.502e-06/1.276, allocations: 0 / 0.5004 GB, free: 64.33 MB / 362.7 MB Notification: Performance of Templates: time 0.4495/1.726, allocations: 131.9 MB / 0.6292 GB, free: 58.34 MB / 362.7 MB