Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.148e-05/3.155e-05, allocations: 5.406 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09226/0.09232, allocations: 50.43 MB / 342.6 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3869/0.4792, allocations: 94.72 MB / 437.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.4795, allocations: 87.64 kB / 437.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3321/0.8116, allocations: 81.33 MB / 0.5065 GB, free: 2.355 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.8117, allocations: 4 kB / 0.5065 GB, free: 2.352 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002084/0.8119, allocations: 76 kB / 0.5066 GB, free: 2.277 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.0167/0.8286, allocations: 4.146 MB / 0.5107 GB, free: 14.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.8287, allocations: 12.03 kB / 0.5107 GB, free: 14.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01322/0.8419, allocations: 2.252 MB / 0.5129 GB, free: 11.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01484/0.8568, allocations: 4.258 MB / 0.517 GB, free: 7.484 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004547/0.8573, allocations: 328.5 kB / 0.5173 GB, free: 7.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/0.859, allocations: 423.9 kB / 0.5178 GB, free: 6.746 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3138/1.173, allocations: 10.47 MB / 0.528 GB, free: 96.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002274/1.173, allocations: 60.58 kB / 0.528 GB, free: 96.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001159/1.174, allocations: 211.1 kB / 0.5282 GB, free: 96.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002051/1.176, allocations: 1.031 MB / 0.5292 GB, free: 96.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02121/1.198, allocations: 8.09 MB / 0.5371 GB, free: 96.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0537/1.251, allocations: 49.1 MB / 0.5851 GB, free: 65.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/1.264, allocations: 3.923 MB / 0.5889 GB, free: 63.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002391/1.266, allocations: 1.39 MB / 0.5903 GB, free: 63.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/1.279, allocations: 7.676 MB / 0.5978 GB, free: 58.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/1.279, allocations: 49.56 kB / 0.5978 GB, free: 58.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 6.009e-06/1.279, allocations: 3.938 kB / 0.5978 GB, free: 58.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=159): time 0.03116/1.31, allocations: 10.05 MB / 0.6076 GB, free: 54.56 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001111/1.311, allocations: 1.59 MB / 0.6092 GB, free: 52.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005887/1.317, allocations: 3.35 MB / 0.6125 GB, free: 51.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002889/1.317, allocations: 44.98 kB / 0.6125 GB, free: 51.74 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001804/1.319, allocations: 3.072 MB / 0.6155 GB, free: 49.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007227/1.32, allocations: 0.6482 MB / 0.6161 GB, free: 48.85 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000439/1.32, allocations: 129.5 kB / 0.6163 GB, free: 48.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003492/1.321, allocations: 0.5703 MB / 0.6168 GB, free: 48.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003599/1.324, allocations: 1.931 MB / 0.6187 GB, free: 47.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007616/1.332, allocations: 5.807 MB / 0.6244 GB, free: 41.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008514/1.34, allocations: 3.346 MB / 0.6277 GB, free: 40.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001035/1.341, allocations: 37.59 kB / 0.6277 GB, free: 40.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02047/1.361, allocations: 8.131 MB / 0.6356 GB, free: 37.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.361, allocations: 68 kB / 0.6357 GB, free: 37.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007073/1.368, allocations: 2.755 MB / 0.6384 GB, free: 35.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006148/1.374, allocations: 1.534 MB / 0.6399 GB, free: 34.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00523/1.38, allocations: 1.379 MB / 0.6412 GB, free: 32.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006242/1.386, allocations: 5.496 MB / 0.6466 GB, free: 27.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006356/1.392, allocations: 440.2 kB / 0.647 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/1.394, allocations: 389.1 kB / 0.6474 GB, free: 26.97 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {4 31} Notification: Performance of prepare postOptimizeDAE: time 0.001074/1.395, allocations: 0.5835 MB / 0.648 GB, free: 26.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006719/1.395, allocations: 331.2 kB / 0.6483 GB, free: 26.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007845/1.403, allocations: 3.097 MB / 0.6513 GB, free: 23.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006779/1.41, allocations: 2.645 MB / 0.6539 GB, free: 21.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/1.41, allocations: 4 kB / 0.6539 GB, free: 21.58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.037e-05/1.41, allocations: 11.31 kB / 0.6539 GB, free: 21.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01953/1.43, allocations: 8.568 MB / 0.6623 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/1.43, allocations: 0 / 0.6623 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/1.431, allocations: 187.2 kB / 0.6624 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005552/1.436, allocations: 1.432 MB / 0.6638 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002534/1.437, allocations: 39.36 kB / 0.6639 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006651/1.443, allocations: 5.71 MB / 0.6695 GB, free: 8.273 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008809/1.444, allocations: 1.442 MB / 0.6709 GB, free: 6.746 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.455, allocations: 5.315 MB / 0.6761 GB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.456, allocations: 388.6 kB / 0.6764 GB, free: 1.031 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00066/1.457, allocations: 35.88 kB / 0.6765 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/1.459, allocations: 139.1 kB / 0.6766 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003524/1.459, allocations: 90.73 kB / 0.6767 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/1.459, allocations: 47.97 kB / 0.6767 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004913/1.464, allocations: 2.288 MB / 0.679 GB, free: 14.46 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.065e-06/1.464, allocations: 0 / 0.679 GB, free: 14.46 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006977/1.471, allocations: 1.009 MB / 0.6799 GB, free: 13.46 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {7 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006576/1.472, allocations: 187.2 kB / 0.6801 GB, free: 13.28 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01207/1.484, allocations: 5.088 MB / 0.6851 GB, free: 8.152 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.383e-06/1.484, allocations: 0 / 0.6851 GB, free: 8.152 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005044/1.489, allocations: 1.983 MB / 0.687 GB, free: 6.109 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/1.492, allocations: 352.4 kB / 0.6874 GB, free: 5.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.317/1.809, allocations: 7.822 MB / 0.695 GB, free: 105.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006245/1.815, allocations: 3.2 MB / 0.6981 GB, free: 104.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/1.816, allocations: 267.4 kB / 0.6984 GB, free: 104.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.696e-06/1.816, allocations: 0 / 0.6984 GB, free: 104.8 MB / 458.7 MB Notification: Performance of Templates: time 0.1745/1.991, allocations: 133.8 MB / 0.829 GB, free: 22.25 MB / 458.7 MB