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.2_cpp_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadModel(ModelicaTest): time 2.176/2.176, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.274e-05, allocations: 0.9375 kB / 304.9 MB, free: 5.645 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3282, allocations: 54.85 MB / 359.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.4749, allocations: 95.48 MB / 455.2 MB, free: 1.453 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.4752, allocations: 75.95 kB / 455.3 MB, free: 1.379 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6292/1.104, allocations: 96.18 MB / 0.5386 GB, free: 100.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.002e-06/1.104, allocations: 0 / 0.5386 GB, free: 100.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002719/1.105, allocations: 95.23 kB / 0.5387 GB, free: 100.3 MB / 458.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.02992/1.135, allocations: 5.818 MB / 0.5443 GB, free: 98.42 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.135, allocations: 9.562 kB / 0.5444 GB, free: 98.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0181/1.153, allocations: 2.922 MB / 0.5472 GB, free: 98.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02169/1.175, allocations: 7.199 MB / 0.5542 GB, free: 97.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004469/1.175, allocations: 355.9 kB / 0.5546 GB, free: 97.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002028/1.177, allocations: 474.2 kB / 0.555 GB, free: 97.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02869/1.206, allocations: 12.04 MB / 0.5668 GB, free: 94.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003278/1.206, allocations: 69.12 kB / 0.5669 GB, free: 94.15 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001953/1.208, allocations: 232.3 kB / 0.5671 GB, free: 94.15 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002176/1.21, allocations: 1.196 MB / 0.5682 GB, free: 94.13 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0247/1.235, allocations: 9.943 MB / 0.578 GB, free: 91.96 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.075/1.31, allocations: 57.05 MB / 0.6337 GB, free: 46.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06327/1.374, allocations: 5.001 MB / 0.6386 GB, free: 42.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01402/1.388, allocations: 2.357 MB / 0.6409 GB, free: 39.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02172/1.409, allocations: 11.14 MB / 0.6517 GB, free: 29.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/1.409, allocations: 55.88 kB / 0.6518 GB, free: 29.22 MB / 458.7 MB Notification: Performance of pre-optimization done (n=198): time 6.171e-06/1.41, allocations: 0 / 0.6518 GB, free: 29.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=237): time 0.0619/1.471, allocations: 20.57 MB / 0.6719 GB, free: 8.512 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002872/1.474, allocations: 4.598 MB / 0.6764 GB, free: 3.449 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007824/1.482, allocations: 3.977 MB / 0.6803 GB, free: 15.45 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006083/1.483, allocations: 57.7 kB / 0.6803 GB, free: 15.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003715/1.487, allocations: 3.392 MB / 0.6836 GB, free: 12.01 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001731/1.488, allocations: 0.9476 MB / 0.6845 GB, free: 11.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000803/1.489, allocations: 148 kB / 0.6847 GB, free: 10.92 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006502/1.49, allocations: 0.6169 MB / 0.6853 GB, free: 10.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007287/1.497, allocations: 3.048 MB / 0.6883 GB, free: 7.246 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01161/1.509, allocations: 7.236 MB / 0.6953 GB, free: 13.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/1.519, allocations: 4.636 MB / 0.6999 GB, free: 9.289 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001379/1.519, allocations: 44.22 kB / 0.6999 GB, free: 9.246 MB / 490.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.3144/1.834, allocations: 12.3 MB / 0.7119 GB, free: 112 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/1.834, allocations: 70.45 kB / 0.712 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01892/1.853, allocations: 6.367 MB / 0.7182 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01418/1.867, allocations: 3.346 MB / 0.7215 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007671/1.875, allocations: 1.7 MB / 0.7231 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02212/1.897, allocations: 15.92 MB / 0.7387 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009156/1.906, allocations: 0.762 MB / 0.7394 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001545/1.908, allocations: 454.4 kB / 0.7398 GB, free: 104 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * 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 (882): * Single equations (assignments): 862 * Array equations: 9 * 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%),(4,100.0%),(3,100.0%),(4,100.0%),(3,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%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001456/1.909, allocations: 0.6511 MB / 0.7405 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009511/1.91, allocations: 412.6 kB / 0.7409 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01869/1.929, allocations: 6.953 MB / 0.7477 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01729/1.946, allocations: 6.3 MB / 0.7538 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-05/1.946, allocations: 10.22 kB / 0.7538 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.398e-05/1.946, allocations: 10.12 kB / 0.7538 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03738/1.984, allocations: 14.93 MB / 0.7684 GB, free: 98.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-05/1.984, allocations: 3.594 kB / 0.7684 GB, free: 98.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002879/1.987, allocations: 417 kB / 0.7688 GB, free: 98.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0141/2.001, allocations: 3.337 MB / 0.7721 GB, free: 98.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006747/2.001, allocations: 74.12 kB / 0.7722 GB, free: 98.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02352/2.025, allocations: 16.54 MB / 0.7883 GB, free: 87.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00291/2.028, allocations: 4.413 MB / 0.7926 GB, free: 83.74 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02463/2.053, allocations: 10.83 MB / 0.8032 GB, free: 79.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/2.054, allocations: 481.2 kB / 0.8036 GB, free: 79.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/2.055, allocations: 69.25 kB / 0.8037 GB, free: 79.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00406/2.059, allocations: 329.1 kB / 0.804 GB, free: 79.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009622/2.06, allocations: 187.5 kB / 0.8042 GB, free: 78.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000324/2.061, allocations: 78.75 kB / 0.8043 GB, free: 78.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005795/2.067, allocations: 2.752 MB / 0.807 GB, free: 76.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.015e-06/2.067, allocations: 0 / 0.807 GB, free: 76.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008541/2.075, allocations: 1.489 MB / 0.8084 GB, free: 74.96 MB / 490.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 {(3,100.0%),(4,100.0%),(3,100.0%),(4,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.000872/2.076, allocations: 220.5 kB / 0.8086 GB, free: 74.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01777/2.094, allocations: 8.827 MB / 0.8173 GB, free: 66.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.223e-06/2.094, allocations: 0 / 0.8173 GB, free: 66.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01011/2.104, allocations: 4.479 MB / 0.8216 GB, free: 61.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/2.108, allocations: 0.4917 MB / 0.8221 GB, free: 61.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0243/2.132, allocations: 11.77 MB / 0.8336 GB, free: 49.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007355/2.139, allocations: 3.738 MB / 0.8373 GB, free: 46.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001696/2.141, allocations: 355.3 kB / 0.8376 GB, free: 45.81 MB / 490.7 MB Notification: Performance of SimCode: time 1.604e-06/2.141, allocations: 0 / 0.8376 GB, free: 45.81 MB / 490.7 MB Notification: Performance of Templates: time 0.9132/3.054, allocations: 276.7 MB / 1.108 GB, free: 151.2 MB / 0.5261 GB