Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|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.|body2.Q.1.|body2.Q.2.|body2.Q.3.|body2.Q.4.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadModel(ModelicaTest): time 2.034/2.034, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.994e-05/5.003e-05, allocations: 3.938 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3613, allocations: 48.7 MB / 324.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.0642/0.4255, allocations: 39.94 MB / 364.8 MB, free: 7.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03532/0.4609, allocations: 9.188 MB / 374 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01487/0.4758, allocations: 215.4 kB / 374.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01231/0.4882, allocations: 2.076 MB / 376.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03638/0.5247, allocations: 5.769 MB / 382 MB, free: 6.258 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006413/0.5312, allocations: 0.7567 MB / 382.8 MB, free: 5.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01031/0.5415, allocations: 2.256 MB / 385 MB, free: 3.238 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01417/0.5558, allocations: 4.201 MB / 389.2 MB, free: 15 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00406/0.5599, allocations: 0.9897 MB / 390.2 MB, free: 14.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005897/0.5659, allocations: 1.613 MB / 391.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004815/0.5708, allocations: 0.8583 MB / 392.7 MB, free: 11.53 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002156/0.573, allocations: 140 kB / 392.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004842/0.5779, allocations: 1.777 MB / 394.6 MB, free: 9.613 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002792/0.5808, allocations: 312 kB / 394.9 MB, free: 9.309 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01496/0.5958, allocations: 5.987 MB / 400.9 MB, free: 3.309 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5959, allocations: 0 / 400.9 MB, free: 3.309 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.358e-06/0.5959, allocations: 0 / 400.9 MB, free: 3.309 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000367/0.5963, allocations: 0 / 400.9 MB, free: 3.309 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: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.02728/0.6236, allocations: 4.711 MB / 405.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.223e-05/0.6237, allocations: 8.031 kB / 405.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03054/0.6543, allocations: 2.599 MB / 408.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/0.6697, allocations: 3.434 MB / 411.7 MB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006179/0.6704, allocations: 274.8 kB / 411.9 MB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004175/0.6746, allocations: 0.5929 MB / 412.5 MB, free: 7.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03721/0.7118, allocations: 11.85 MB / 424.4 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002726/0.7122, allocations: 51.53 kB / 424.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001667/0.7139, allocations: 175.8 kB / 424.6 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006117/0.72, allocations: 2.092 MB / 426.7 MB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03731/0.7574, allocations: 10.56 MB / 437.3 MB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3824/1.14, allocations: 46.91 MB / 484.2 MB, free: 118.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02612/1.166, allocations: 5.081 MB / 489.2 MB, free: 117.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03065/1.197, allocations: 11.18 MB / 0.4887 GB, free: 112.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.621e-05/1.197, allocations: 51.78 kB / 0.4888 GB, free: 112.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=198): time 6.873e-06/1.197, allocations: 3.719 kB / 0.4888 GB, free: 112.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.1089/1.306, allocations: 24.7 MB / 0.5129 GB, free: 101.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003784/1.31, allocations: 4.59 MB / 0.5174 GB, free: 97.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0097/1.319, allocations: 4.385 MB / 0.5216 GB, free: 93.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007418/1.32, allocations: 57.7 kB / 0.5217 GB, free: 93.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002714/1.323, allocations: 3.394 MB / 0.525 GB, free: 89.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001682/1.325, allocations: 0.9486 MB / 0.5259 GB, free: 88.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/1.326, allocations: 146 kB / 0.5261 GB, free: 88.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005738/1.326, allocations: 0.6248 MB / 0.5267 GB, free: 88.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008457/1.335, allocations: 3.192 MB / 0.5298 GB, free: 84.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0111/1.346, allocations: 7.443 MB / 0.5371 GB, free: 75.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/1.357, allocations: 4.732 MB / 0.5417 GB, free: 70.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/1.357, allocations: 47.94 kB / 0.5417 GB, free: 70.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.0435/1.401, allocations: 13.14 MB / 0.5546 GB, free: 57.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/1.401, allocations: 68 kB / 0.5546 GB, free: 57.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02409/1.425, allocations: 6.612 MB / 0.5611 GB, free: 50.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01932/1.445, allocations: 3.692 MB / 0.5647 GB, free: 47.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00987/1.454, allocations: 1.665 MB / 0.5663 GB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02938/1.484, allocations: 16.71 MB / 0.5826 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/1.494, allocations: 0.6459 MB / 0.5833 GB, free: 27.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001541/1.496, allocations: 457.8 kB / 0.5837 GB, free: 26.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 685 * Number of states: 0 () * Number of discrete variables: 42 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (888): * Single equations (assignments): 868 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(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: 3 {(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 3 {3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.005739/1.501, allocations: 2.271 MB / 0.5859 GB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/1.503, allocations: 414.7 kB / 0.5863 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02606/1.529, allocations: 7.01 MB / 0.5932 GB, free: 17.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02418/1.553, allocations: 6.366 MB / 0.5994 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.445e-05/1.553, allocations: 12 kB / 0.5994 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.997e-05/1.553, allocations: 15.95 kB / 0.5994 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05394/1.607, allocations: 14.98 MB / 0.614 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.078e-05/1.607, allocations: 4 kB / 0.614 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005587/1.613, allocations: 419.3 kB / 0.6144 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02716/1.64, allocations: 3.359 MB / 0.6177 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009246/1.641, allocations: 76.88 kB / 0.6178 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04511/1.686, allocations: 16.89 MB / 0.6343 GB, free: 6.062 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004857/1.691, allocations: 4.46 MB / 0.6386 GB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3314/2.022, allocations: 10.89 MB / 0.6493 GB, free: 138 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/2.024, allocations: 490.9 kB / 0.6497 GB, free: 137.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002044/2.026, allocations: 64.8 kB / 0.6498 GB, free: 137.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005594/2.032, allocations: 300.2 kB / 0.6501 GB, free: 137.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/2.033, allocations: 186.6 kB / 0.6503 GB, free: 137.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004524/2.034, allocations: 73.14 kB / 0.6503 GB, free: 137.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008752/2.042, allocations: 3.085 MB / 0.6534 GB, free: 136.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.163e-06/2.042, allocations: 3.469 kB / 0.6534 GB, free: 136.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01032/2.053, allocations: 1.511 MB / 0.6548 GB, free: 136.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],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],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 8,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001456/2.054, allocations: 226 kB / 0.655 GB, free: 136.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02724/2.082, allocations: 9.303 MB / 0.6641 GB, free: 132.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/2.082, allocations: 3.75 kB / 0.6641 GB, free: 132.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01535/2.097, allocations: 4.591 MB / 0.6686 GB, free: 130.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004796/2.102, allocations: 0.4997 MB / 0.6691 GB, free: 130.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03393/2.136, allocations: 15.63 MB / 0.6844 GB, free: 121.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007504/2.143, allocations: 3.743 MB / 0.688 GB, free: 118.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002109/2.146, allocations: 365.5 kB / 0.6884 GB, free: 118.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.633e-06/2.146, allocations: 0 / 0.6884 GB, free: 118.6 MB / 442.7 MB Notification: Performance of Templates: time 0.754/2.9, allocations: 278.1 MB / 0.96 GB, free: 13.79 MB / 458.7 MB