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_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadModel(ModelicaTest): time 2.429/2.429, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.318e-05, allocations: 4.938 kB / 304.9 MB, free: 5.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3622, allocations: 54.85 MB / 359.8 MB, free: 2.695 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.509, allocations: 95.48 MB / 455.3 MB, free: 1.293 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.5093, allocations: 76.48 kB / 455.3 MB, free: 1.219 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6313/1.141, allocations: 96.17 MB / 0.5386 GB, free: 100.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.338e-06/1.141, allocations: 0.9688 kB / 0.5386 GB, free: 100.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002787/1.141, allocations: 95.59 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.03065/1.172, allocations: 5.825 MB / 0.5444 GB, free: 98.41 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.172, allocations: 9.156 kB / 0.5444 GB, free: 98.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01917/1.191, allocations: 2.919 MB / 0.5472 GB, free: 98.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02087/1.212, allocations: 7.195 MB / 0.5543 GB, free: 97.46 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000445/1.212, allocations: 354.6 kB / 0.5546 GB, free: 97.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002067/1.214, allocations: 492.4 kB / 0.5551 GB, free: 97.44 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02776/1.242, allocations: 12.03 MB / 0.5668 GB, free: 94.13 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002554/1.242, allocations: 74.81 kB / 0.5669 GB, free: 94.13 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00135/1.244, allocations: 234.4 kB / 0.5671 GB, free: 94.13 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002041/1.246, allocations: 1.193 MB / 0.5683 GB, free: 94.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0239/1.27, allocations: 9.942 MB / 0.578 GB, free: 91.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06843/1.338, allocations: 57.05 MB / 0.6337 GB, free: 46.31 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01652/1.355, allocations: 5 MB / 0.6386 GB, free: 41.96 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00431/1.359, allocations: 2.36 MB / 0.6409 GB, free: 39.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02122/1.38, allocations: 11.14 MB / 0.6518 GB, free: 29.04 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/1.381, allocations: 55.88 kB / 0.6518 GB, free: 28.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=198): time 6.447e-06/1.381, allocations: 0 / 0.6518 GB, free: 28.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=237): time 0.06366/1.444, allocations: 20.57 MB / 0.6719 GB, free: 8.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002864/1.447, allocations: 4.598 MB / 0.6764 GB, free: 3.203 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00799/1.455, allocations: 3.981 MB / 0.6803 GB, free: 15.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000721/1.456, allocations: 61.45 kB / 0.6803 GB, free: 15.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003972/1.46, allocations: 3.48 MB / 0.6837 GB, free: 11.67 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001769/1.462, allocations: 0.9545 MB / 0.6847 GB, free: 10.72 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009538/1.463, allocations: 144 kB / 0.6848 GB, free: 10.58 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007032/1.463, allocations: 0.6121 MB / 0.6854 GB, free: 9.965 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007524/1.471, allocations: 3.048 MB / 0.6884 GB, free: 6.914 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01214/1.483, allocations: 7.236 MB / 0.6955 GB, free: 13.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/1.494, allocations: 4.643 MB / 0.7 GB, free: 8.957 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001492/1.494, allocations: 47.94 kB / 0.7 GB, free: 8.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.3182/1.812, allocations: 12.43 MB / 0.7122 GB, free: 111.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/1.812, allocations: 69.27 kB / 0.7122 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01978/1.832, allocations: 6.366 MB / 0.7185 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01439/1.846, allocations: 3.349 MB / 0.7217 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008062/1.854, allocations: 1.695 MB / 0.7234 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02182/1.876, allocations: 15.92 MB / 0.7389 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009415/1.886, allocations: 0.7636 MB / 0.7397 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001643/1.888, allocations: 448.4 kB / 0.7401 GB, free: 103.9 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.001681/1.889, allocations: 0.654 MB / 0.7407 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009873/1.89, allocations: 415.6 kB / 0.7411 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0183/1.909, allocations: 6.953 MB / 0.7479 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01672/1.925, allocations: 6.301 MB / 0.7541 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-05/1.925, allocations: 10.44 kB / 0.7541 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.158e-05/1.925, allocations: 10.92 kB / 0.7541 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03619/1.962, allocations: 14.92 MB / 0.7687 GB, free: 98.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-05/1.962, allocations: 3.781 kB / 0.7687 GB, free: 98.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002664/1.964, allocations: 417 kB / 0.7691 GB, free: 98.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01301/1.977, allocations: 3.339 MB / 0.7723 GB, free: 97.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006369/1.978, allocations: 82.94 kB / 0.7724 GB, free: 97.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02222/2, allocations: 16.54 MB / 0.7886 GB, free: 87.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002707/2.003, allocations: 4.412 MB / 0.7929 GB, free: 83.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02351/2.027, allocations: 10.82 MB / 0.8034 GB, free: 79.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/2.028, allocations: 481.3 kB / 0.8039 GB, free: 79.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/2.03, allocations: 62.84 kB / 0.804 GB, free: 78.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00433/2.034, allocations: 337 kB / 0.8043 GB, free: 78.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009863/2.035, allocations: 186.4 kB / 0.8045 GB, free: 78.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003984/2.036, allocations: 77.8 kB / 0.8045 GB, free: 78.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006365/2.042, allocations: 2.743 MB / 0.8072 GB, free: 76.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.44e-06/2.042, allocations: 0 / 0.8072 GB, free: 76.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009223/2.051, allocations: 1.494 MB / 0.8087 GB, free: 74.71 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.0009382/2.052, allocations: 225.6 kB / 0.8089 GB, free: 74.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01771/2.07, allocations: 8.803 MB / 0.8175 GB, free: 66.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.479e-06/2.07, allocations: 0.9375 kB / 0.8175 GB, free: 66.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0102/2.08, allocations: 4.473 MB / 0.8219 GB, free: 61.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003739/2.084, allocations: 0.4976 MB / 0.8223 GB, free: 60.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02351/2.108, allocations: 11.24 MB / 0.8333 GB, free: 49.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007429/2.115, allocations: 3.741 MB / 0.837 GB, free: 46.13 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007745/2.123, allocations: 2.2 MB / 0.8391 GB, free: 43.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001463/2.124, allocations: 291.3 kB / 0.8394 GB, free: 43.64 MB / 490.7 MB Notification: Performance of SimCode: time 1.837e-06/2.124, allocations: 4 kB / 0.8394 GB, free: 43.64 MB / 490.7 MB Notification: Performance of Templates: time 0.409/2.533, allocations: 54.71 MB / 0.8928 GB, free: 124.9 MB / 0.4948 GB