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_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.826/1.826, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.121e-05/3.142e-05, allocations: 7.938 kB / 255.4 MB, free: 3.168 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07717/0.07723, allocations: 44.5 MB / 299.9 MB, free: 6.605 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3472/0.4245, allocations: 86.03 MB / 385.9 MB, free: 21.07 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.4248, allocations: 86.55 kB / 386 MB, free: 21.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2839/0.7088, allocations: 77.72 MB / 463.7 MB, free: 8.734 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.859e-06/0.7088, allocations: 0 / 463.7 MB, free: 8.734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002149/0.709, allocations: 80 kB / 463.8 MB, free: 8.656 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.01629/0.7253, allocations: 4.048 MB / 467.8 MB, free: 4.543 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.7254, allocations: 12.03 kB / 467.8 MB, free: 4.531 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01304/0.7385, allocations: 2.233 MB / 470.1 MB, free: 2.289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01457/0.7531, allocations: 4.342 MB / 474.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000449/0.7536, allocations: 320.2 kB / 474.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001692/0.7553, allocations: 407.9 kB / 475.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02551/0.7808, allocations: 10.1 MB / 485.2 MB, free: 1.988 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001789/0.781, allocations: 59.41 kB / 485.3 MB, free: 1.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001051/0.7821, allocations: 211.8 kB / 485.5 MB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001855/0.784, allocations: 0.9897 MB / 486.5 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02111/0.8051, allocations: 7.771 MB / 494.2 MB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3/1.105, allocations: 48.25 MB / 0.5298 GB, free: 46.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/1.117, allocations: 3.528 MB / 0.5332 GB, free: 46.24 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002746/1.119, allocations: 1.304 MB / 0.5345 GB, free: 46.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01258/1.132, allocations: 6.516 MB / 0.5409 GB, free: 43.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/1.132, allocations: 47.88 kB / 0.5409 GB, free: 43.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=131): time 5.873e-06/1.132, allocations: 0 / 0.5409 GB, free: 43.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.03038/1.163, allocations: 9.586 MB / 0.5503 GB, free: 41.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001134/1.164, allocations: 1.579 MB / 0.5518 GB, free: 39.85 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00659/1.17, allocations: 3.328 MB / 0.5551 GB, free: 39.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002965/1.171, allocations: 46.41 kB / 0.5551 GB, free: 39.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00204/1.173, allocations: 3.034 MB / 0.5581 GB, free: 37.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007148/1.173, allocations: 0.5794 MB / 0.5586 GB, free: 37.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005557/1.174, allocations: 121.7 kB / 0.5587 GB, free: 37.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003929/1.174, allocations: 0.5641 MB / 0.5593 GB, free: 37.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003924/1.178, allocations: 1.889 MB / 0.5611 GB, free: 37.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005925/1.184, allocations: 5.74 MB / 0.5668 GB, free: 32.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006046/1.19, allocations: 3.268 MB / 0.5699 GB, free: 31.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/1.191, allocations: 49.06 kB / 0.57 GB, free: 31.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02149/1.212, allocations: 8.083 MB / 0.5779 GB, free: 30 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.212, allocations: 67.83 kB / 0.5779 GB, free: 30 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008472/1.221, allocations: 2.722 MB / 0.5806 GB, free: 29.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007294/1.228, allocations: 1.624 MB / 0.5822 GB, free: 29.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005454/1.234, allocations: 1.345 MB / 0.5835 GB, free: 28.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007068/1.241, allocations: 5.542 MB / 0.5889 GB, free: 25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006683/1.247, allocations: 434.5 kB / 0.5893 GB, free: 24.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/1.249, allocations: 382.1 kB / 0.5897 GB, free: 24.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 36 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (717): * Single equations (assignments): 707 * 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 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.001288/1.25, allocations: 0.5674 MB / 0.5902 GB, free: 24.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006886/1.251, allocations: 318.8 kB / 0.5906 GB, free: 24.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008508/1.259, allocations: 2.994 MB / 0.5935 GB, free: 23.24 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007507/1.267, allocations: 2.535 MB / 0.596 GB, free: 22.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/1.267, allocations: 3.875 kB / 0.596 GB, free: 22.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.137e-05/1.267, allocations: 11.77 kB / 0.596 GB, free: 22.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007799/1.275, allocations: 3.549 MB / 0.5994 GB, free: 21.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-05/1.275, allocations: 7.938 kB / 0.5994 GB, free: 21.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/1.276, allocations: 163.2 kB / 0.5996 GB, free: 20.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005734/1.282, allocations: 1.432 MB / 0.601 GB, free: 19.99 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003181/1.282, allocations: 39.77 kB / 0.601 GB, free: 19.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007004/1.289, allocations: 5.737 MB / 0.6066 GB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009048/1.29, allocations: 1.455 MB / 0.6081 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/1.301, allocations: 5.135 MB / 0.6131 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009957/1.302, allocations: 371.5 kB / 0.6134 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000617/1.302, allocations: 32.14 kB / 0.6135 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/1.304, allocations: 131.9 kB / 0.6136 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003153/1.305, allocations: 89.69 kB / 0.6137 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/1.305, allocations: 39.56 kB / 0.6137 GB, free: 8.082 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004628/1.309, allocations: 2.269 MB / 0.6159 GB, free: 6.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.264e-06/1.309, allocations: 0 / 0.6159 GB, free: 6.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006542/1.316, allocations: 0.9853 MB / 0.6169 GB, free: 5.117 MB / 394.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 (73): * Single equations (assignments): 65 * 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 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005681/1.317, allocations: 167.8 kB / 0.617 GB, free: 4.957 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01015/1.327, allocations: 4.989 MB / 0.6219 GB, free: 468 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.327, allocations: 4 kB / 0.6219 GB, free: 464 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007747/1.335, allocations: 2.091 MB / 0.624 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/1.337, allocations: 342.9 kB / 0.6243 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/1.355, allocations: 7.617 MB / 0.6317 GB, free: 8.156 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005415/1.361, allocations: 3.12 MB / 0.6348 GB, free: 5.781 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.362, allocations: 264.7 kB / 0.635 GB, free: 5.535 MB / 410.7 MB Notification: Performance of SimCode: time 1.936e-06/1.362, allocations: 0 / 0.635 GB, free: 5.535 MB / 410.7 MB Notification: Performance of Templates: time 0.461/1.823, allocations: 130.5 MB / 0.7625 GB, free: 73.66 MB / 442.7 MB