Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.944e-05/2.963e-05, allocations: 6.812 kB / 292.1 MB, free: 8.855 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09232/0.09237, allocations: 50.41 MB / 342.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3818/0.4742, allocations: 93.7 MB / 436.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.4745, allocations: 88.69 kB / 436.3 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2345/0.7091, allocations: 58.85 MB / 495.2 MB, free: 10.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.7091, allocations: 0 / 495.2 MB, free: 10.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001271/0.7093, allocations: 44 kB / 495.2 MB, free: 10.07 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.01265/0.7219, allocations: 2.943 MB / 498.2 MB, free: 7.066 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.722, allocations: 12.02 kB / 498.2 MB, free: 7.055 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/0.7341, allocations: 2.052 MB / 0.4885 GB, free: 4.996 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/0.7463, allocations: 3.482 MB / 0.4919 GB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002934/0.7466, allocations: 189 kB / 0.4921 GB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001183/0.7478, allocations: 255.8 kB / 0.4923 GB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01713/0.7649, allocations: 6.923 MB / 0.4991 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001485/0.7651, allocations: 47.62 kB / 0.4991 GB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007739/0.7659, allocations: 127.9 kB / 0.4993 GB, free: 9.188 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001436/0.7674, allocations: 0.7189 MB / 0.5 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/0.7824, allocations: 5.813 MB / 0.5056 GB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2954/1.078, allocations: 32.69 MB / 0.5376 GB, free: 94.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008344/1.086, allocations: 2.635 MB / 0.5401 GB, free: 93.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002049/1.088, allocations: 1.01 MB / 0.5411 GB, free: 93.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007611/1.096, allocations: 3.889 MB / 0.5449 GB, free: 91.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/1.096, allocations: 56.2 kB / 0.545 GB, free: 91.65 MB / 442.7 MB Notification: Performance of pre-optimization done (n=112): time 5.804e-06/1.096, allocations: 0 / 0.545 GB, free: 91.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=125): time 0.02823/1.124, allocations: 8.875 MB / 0.5536 GB, free: 89.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001152/1.126, allocations: 1.577 MB / 0.5552 GB, free: 88.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004579/1.13, allocations: 2.409 MB / 0.5575 GB, free: 87.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002704/1.13, allocations: 41.7 kB / 0.5576 GB, free: 87.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001391/1.132, allocations: 2.077 MB / 0.5596 GB, free: 86.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006444/1.133, allocations: 0.5045 MB / 0.5601 GB, free: 86.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003887/1.133, allocations: 87.22 kB / 0.5602 GB, free: 86.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002902/1.133, allocations: 0.5042 MB / 0.5607 GB, free: 86.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00309/1.136, allocations: 1.566 MB / 0.5622 GB, free: 86.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004419/1.141, allocations: 4.311 MB / 0.5664 GB, free: 82.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004685/1.146, allocations: 2.605 MB / 0.569 GB, free: 82.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.235e-05/1.146, allocations: 28.5 kB / 0.569 GB, free: 82.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=589) (initialization): time 0.01711/1.163, allocations: 6.575 MB / 0.5754 GB, free: 80.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.881e-05/1.163, allocations: 49.5 kB / 0.5755 GB, free: 80.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007473/1.17, allocations: 2.52 MB / 0.5779 GB, free: 80.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006782/1.177, allocations: 1.49 MB / 0.5794 GB, free: 79.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00429/1.182, allocations: 1.012 MB / 0.5804 GB, free: 79.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/1.193, allocations: 7.22 MB / 0.5874 GB, free: 75.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005041/1.199, allocations: 370.9 kB / 0.5878 GB, free: 75.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000944/1.2, allocations: 282.2 kB / 0.588 GB, free: 75.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (541): * Single equations (assignments): 533 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009664/1.201, allocations: 448.6 kB / 0.5885 GB, free: 75.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005692/1.201, allocations: 236.8 kB / 0.5887 GB, free: 75.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007988/1.209, allocations: 2.828 MB / 0.5914 GB, free: 74.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007424/1.217, allocations: 2.491 MB / 0.5939 GB, free: 73.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/1.217, allocations: 3.625 kB / 0.5939 GB, free: 73.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/1.217, allocations: 7.391 kB / 0.5939 GB, free: 73.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/1.233, allocations: 6.861 MB / 0.6006 GB, free: 71.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/1.234, allocations: 3.406 kB / 0.6006 GB, free: 71.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/1.235, allocations: 177.5 kB / 0.6008 GB, free: 71.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006235/1.241, allocations: 1.428 MB / 0.6022 GB, free: 70.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002825/1.241, allocations: 31.69 kB / 0.6022 GB, free: 70.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/1.252, allocations: 7.341 MB / 0.6094 GB, free: 64.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009658/1.253, allocations: 1.436 MB / 0.6108 GB, free: 62.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/1.263, allocations: 4.919 MB / 0.6156 GB, free: 58.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007843/1.264, allocations: 307.1 kB / 0.6159 GB, free: 58.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004992/1.265, allocations: 31.59 kB / 0.6159 GB, free: 58.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/1.267, allocations: 124.9 kB / 0.616 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/1.267, allocations: 80.23 kB / 0.6161 GB, free: 58.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/1.267, allocations: 43.09 kB / 0.6161 GB, free: 58.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003057/1.27, allocations: 1.656 MB / 0.6177 GB, free: 56.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.051e-06/1.27, allocations: 0 / 0.6177 GB, free: 56.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005213/1.275, allocations: 0.7732 MB / 0.6185 GB, free: 56.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005442/1.276, allocations: 172.5 kB / 0.6187 GB, free: 55.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008106/1.284, allocations: 4.101 MB / 0.6227 GB, free: 52.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.639e-06/1.284, allocations: 0 / 0.6227 GB, free: 52.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003696/1.288, allocations: 1.677 MB / 0.6243 GB, free: 50.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/1.29, allocations: 239.7 kB / 0.6245 GB, free: 50.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/1.301, allocations: 5.819 MB / 0.6302 GB, free: 44.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003116/1.305, allocations: 2.348 MB / 0.6325 GB, free: 42.58 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008604/1.305, allocations: 199.4 kB / 0.6327 GB, free: 42.39 MB / 442.7 MB Notification: Performance of SimCode: time 1.75e-06/1.305, allocations: 0 / 0.6327 GB, free: 42.39 MB / 442.7 MB Notification: Performance of Templates: time 0.3518/1.657, allocations: 70.57 MB / 0.7016 GB, free: 124.4 MB / 458.7 MB