Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadModel(ModelicaTest): time 2.333/2.333, allocations: 270 MB / 282.7 MB, free: 1.793 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.236e-05, allocations: 4 kB / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3216, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.4819, allocations: 104.6 MB / 0.5014 GB, free: 2.027 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.4822, allocations: 87.94 kB / 0.5015 GB, free: 1.941 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6487/1.131, allocations: 99.65 MB / 0.5988 GB, free: 41.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.247e-06/1.131, allocations: 0 / 0.5988 GB, free: 41.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002035/1.131, allocations: 92 kB / 0.5989 GB, free: 41.36 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02773/1.159, allocations: 5.914 MB / 0.6047 GB, free: 35.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/1.159, allocations: 8.031 kB / 0.6047 GB, free: 35.37 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01689/1.176, allocations: 2.938 MB / 0.6075 GB, free: 32.42 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01855/1.195, allocations: 6.818 MB / 0.6142 GB, free: 25.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003974/1.195, allocations: 369.6 kB / 0.6146 GB, free: 25.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001879/1.197, allocations: 491.7 kB / 0.615 GB, free: 24.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02723/1.224, allocations: 12.4 MB / 0.6271 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002178/1.224, allocations: 67.34 kB / 0.6272 GB, free: 11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00108/1.225, allocations: 239.9 kB / 0.6274 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002008/1.228, allocations: 1.249 MB / 0.6286 GB, free: 9.512 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02383/1.251, allocations: 10.25 MB / 0.6387 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08875/1.34, allocations: 57.97 MB / 0.6953 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01939/1.36, allocations: 5.308 MB / 0.7005 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0051/1.365, allocations: 2.432 MB / 0.7028 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3303/1.695, allocations: 12.3 MB / 0.7148 GB, free: 127 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.308e-05/1.695, allocations: 57.58 kB / 0.7149 GB, free: 127 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=219): time 7.976e-06/1.695, allocations: 0 / 0.7149 GB, free: 127 MB / 0.5105 GB Notification: Performance of matching and sorting (n=258): time 0.06986/1.765, allocations: 21.12 MB / 0.7355 GB, free: 124 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002893/1.768, allocations: 4.61 MB / 0.74 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007214/1.775, allocations: 3.974 MB / 0.7439 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005644/1.776, allocations: 65.05 kB / 0.744 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002128/1.778, allocations: 3.422 MB / 0.7473 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001209/1.779, allocations: 1.017 MB / 0.7483 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005908/1.78, allocations: 152.4 kB / 0.7484 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004312/1.78, allocations: 0.6264 MB / 0.7491 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006116/1.786, allocations: 3.086 MB / 0.7521 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008537/1.795, allocations: 7.301 MB / 0.7592 GB, free: 111 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008718/1.804, allocations: 4.693 MB / 0.7638 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001263/1.804, allocations: 44.16 kB / 0.7638 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.03358/1.837, allocations: 12.4 MB / 0.7759 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/1.838, allocations: 69.75 kB / 0.776 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01818/1.856, allocations: 6.459 MB / 0.7823 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01436/1.87, allocations: 3.341 MB / 0.7856 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006901/1.877, allocations: 1.734 MB / 0.7873 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01987/1.897, allocations: 15.83 MB / 0.8027 GB, free: 85.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00918/1.906, allocations: 0.775 MB / 0.8035 GB, free: 85.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001558/1.908, allocations: 457.2 kB / 0.8039 GB, free: 84.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 682 * Number of states: 0 () * Number of discrete variables: 45 (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.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 (906): * Single equations (assignments): 886 * 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.001421/1.909, allocations: 0.6613 MB / 0.8046 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009185/1.91, allocations: 414.7 kB / 0.805 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01685/1.927, allocations: 7.056 MB / 0.8119 GB, free: 78.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0159/1.943, allocations: 6.391 MB / 0.8181 GB, free: 73.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.65e-05/1.943, allocations: 16 kB / 0.8181 GB, free: 73.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.421e-05/1.943, allocations: 11.72 kB / 0.8181 GB, free: 73.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03561/1.979, allocations: 15.36 MB / 0.8331 GB, free: 59.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.35e-05/1.979, allocations: 4 kB / 0.8331 GB, free: 59.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002715/1.982, allocations: 455.3 kB / 0.8336 GB, free: 59.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01226/1.994, allocations: 3.325 MB / 0.8368 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006067/1.995, allocations: 79.94 kB / 0.8369 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/2.016, allocations: 16.48 MB / 0.853 GB, free: 38.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002683/2.018, allocations: 4.411 MB / 0.8573 GB, free: 33.76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0223/2.041, allocations: 11.23 MB / 0.8682 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/2.042, allocations: 495.5 kB / 0.8687 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001234/2.043, allocations: 59.98 kB / 0.8688 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003964/2.047, allocations: 343.4 kB / 0.8691 GB, free: 21.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008457/2.048, allocations: 205.5 kB / 0.8693 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000342/2.049, allocations: 89.53 kB / 0.8694 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005408/2.054, allocations: 2.741 MB / 0.8721 GB, free: 18.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.093e-06/2.054, allocations: 0 / 0.8721 GB, free: 18.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008653/2.063, allocations: 1.531 MB / 0.8736 GB, free: 16.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (196): * Single equations (assignments): 182 * 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.000829/2.064, allocations: 229.5 kB / 0.8738 GB, free: 16.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01744/2.081, allocations: 8.921 MB / 0.8825 GB, free: 7.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/2.081, allocations: 4 kB / 0.8825 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009881/2.091, allocations: 4.567 MB / 0.8869 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003419/2.094, allocations: 0.5127 MB / 0.8874 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02703/2.121, allocations: 12 MB / 0.8992 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008334/2.13, allocations: 3.801 MB / 0.9029 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001795/2.132, allocations: 355.3 kB / 0.9032 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of SimCode: time 1.829e-06/2.132, allocations: 0 / 0.9032 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of Templates: time 0.9677/3.099, allocations: 281.3 MB / 1.178 GB, free: 144.8 MB / 0.5573 GB