Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.01e-05/3.018e-05, allocations: 7.797 kB / 292.2 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08849/0.08854, allocations: 50.42 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4321/0.5207, allocations: 94.63 MB / 437.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004124/0.5211, allocations: 92.56 kB / 437.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3246/0.8458, allocations: 81.33 MB / 0.5065 GB, free: 2.207 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.8458, allocations: 0 / 0.5065 GB, free: 2.207 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002032/0.846, allocations: 76 kB / 0.5065 GB, free: 2.133 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.02668/0.8727, allocations: 4.154 MB / 0.5106 GB, free: 13.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.8728, allocations: 8.031 kB / 0.5106 GB, free: 13.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01874/0.8916, allocations: 2.252 MB / 0.5128 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/0.9057, allocations: 4.258 MB / 0.517 GB, free: 7.336 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004379/0.9062, allocations: 324.5 kB / 0.5173 GB, free: 7.016 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00172/0.9079, allocations: 431.9 kB / 0.5177 GB, free: 6.594 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2897/1.198, allocations: 10.46 MB / 0.5279 GB, free: 97.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000181/1.198, allocations: 57.34 kB / 0.5279 GB, free: 97.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007385/1.199, allocations: 212.8 kB / 0.5281 GB, free: 97.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001857/1.2, allocations: 1.033 MB / 0.5292 GB, free: 97.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02343/1.224, allocations: 8.09 MB / 0.5371 GB, free: 97.29 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05598/1.28, allocations: 49.1 MB / 0.585 GB, free: 65.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/1.293, allocations: 3.927 MB / 0.5888 GB, free: 63.63 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002436/1.295, allocations: 1.392 MB / 0.5902 GB, free: 63.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01274/1.308, allocations: 7.671 MB / 0.5977 GB, free: 58.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/1.308, allocations: 47 kB / 0.5977 GB, free: 58.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 6.534e-06/1.308, allocations: 0 / 0.5977 GB, free: 58.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=159): time 0.02991/1.338, allocations: 10.06 MB / 0.6076 GB, free: 54.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001082/1.339, allocations: 1.593 MB / 0.6091 GB, free: 53.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005453/1.345, allocations: 3.347 MB / 0.6124 GB, free: 51.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002394/1.345, allocations: 51.17 kB / 0.6124 GB, free: 51.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001751/1.347, allocations: 3.119 MB / 0.6155 GB, free: 49.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006482/1.348, allocations: 0.6427 MB / 0.6161 GB, free: 48.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003277/1.348, allocations: 121.7 kB / 0.6162 GB, free: 48.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003394/1.348, allocations: 0.5682 MB / 0.6168 GB, free: 48.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003514/1.352, allocations: 1.932 MB / 0.6187 GB, free: 47.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005156/1.357, allocations: 5.805 MB / 0.6243 GB, free: 41.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00561/1.363, allocations: 3.338 MB / 0.6276 GB, free: 40.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-05/1.363, allocations: 42.5 kB / 0.6276 GB, free: 40.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01933/1.382, allocations: 8.239 MB / 0.6357 GB, free: 37.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-05/1.382, allocations: 64 kB / 0.6357 GB, free: 37.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006682/1.389, allocations: 2.745 MB / 0.6384 GB, free: 35.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00567/1.395, allocations: 1.54 MB / 0.6399 GB, free: 34.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00513/1.4, allocations: 1.375 MB / 0.6413 GB, free: 32.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006147/1.406, allocations: 5.503 MB / 0.6466 GB, free: 27.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006027/1.412, allocations: 434.7 kB / 0.6471 GB, free: 27.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008784/1.413, allocations: 387.5 kB / 0.6474 GB, free: 26.91 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.0009646/1.414, allocations: 0.5831 MB / 0.648 GB, free: 26.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006311/1.415, allocations: 331.7 kB / 0.6483 GB, free: 26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007563/1.422, allocations: 3.105 MB / 0.6514 GB, free: 23.58 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006525/1.429, allocations: 2.641 MB / 0.6539 GB, free: 21.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/1.429, allocations: 7.875 kB / 0.6539 GB, free: 21.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-05/1.429, allocations: 10.89 kB / 0.6539 GB, free: 21.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0184/1.447, allocations: 8.558 MB / 0.6623 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/1.447, allocations: 0 / 0.6623 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/1.448, allocations: 193.2 kB / 0.6625 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005402/1.454, allocations: 1.428 MB / 0.6639 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002502/1.454, allocations: 38.23 kB / 0.6639 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006603/1.461, allocations: 5.703 MB / 0.6695 GB, free: 8.219 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008817/1.462, allocations: 1.461 MB / 0.6709 GB, free: 6.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/1.472, allocations: 5.312 MB / 0.6761 GB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009864/1.473, allocations: 380.7 kB / 0.6765 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006548/1.474, allocations: 35.95 kB / 0.6765 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003426/1.477, allocations: 147.6 kB / 0.6766 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000341/1.478, allocations: 88.84 kB / 0.6767 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/1.478, allocations: 45.47 kB / 0.6768 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005963/1.484, allocations: 2.287 MB / 0.679 GB, free: 14.38 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.429e-06/1.484, allocations: 0 / 0.679 GB, free: 14.38 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008959/1.493, allocations: 1.009 MB / 0.68 GB, free: 13.37 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.0006048/1.493, allocations: 175.1 kB / 0.6802 GB, free: 13.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01197/1.505, allocations: 5.086 MB / 0.6851 GB, free: 8.078 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.704e-06/1.505, allocations: 384 / 0.6851 GB, free: 8.078 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005058/1.51, allocations: 1.973 MB / 0.6871 GB, free: 6.043 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/1.513, allocations: 365 kB / 0.6874 GB, free: 5.699 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2835/1.796, allocations: 7.39 MB / 0.6946 GB, free: 107.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008252/1.805, allocations: 3.192 MB / 0.6977 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008803/1.813, allocations: 1.807 MB / 0.6995 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000825/1.814, allocations: 221.7 kB / 0.6997 GB, free: 106.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.693e-06/1.814, allocations: 0 / 0.6997 GB, free: 106.6 MB / 458.7 MB Notification: Performance of Templates: time 0.1282/1.943, allocations: 33.31 MB / 0.7322 GB, free: 105.2 MB / 458.7 MB