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.799/1.799, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/3.02e-05, allocations: 3.406 kB / 255.3 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07938/0.07943, allocations: 44.51 MB / 299.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3395/0.4189, allocations: 86.02 MB / 385.9 MB, free: 21.07 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.4192, allocations: 83.36 kB / 386 MB, free: 21.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2796/0.6988, allocations: 77.73 MB / 463.7 MB, free: 8.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.599e-06/0.6988, allocations: 0 / 463.7 MB, free: 8.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002082/0.699, allocations: 76 kB / 463.8 MB, free: 8.676 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.01648/0.7155, allocations: 4.048 MB / 467.8 MB, free: 4.562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.7156, allocations: 8.031 kB / 467.8 MB, free: 4.555 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0134/0.729, allocations: 2.237 MB / 470 MB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01501/0.7441, allocations: 4.342 MB / 474.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004438/0.7446, allocations: 316.1 kB / 474.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001753/0.7463, allocations: 411.9 kB / 475.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02665/0.773, allocations: 10.15 MB / 485.2 MB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002408/0.7733, allocations: 59.41 kB / 485.3 MB, free: 1.891 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001697/0.775, allocations: 211.8 kB / 485.5 MB, free: 1.684 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002139/0.7772, allocations: 0.9897 MB / 486.5 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02232/0.7995, allocations: 7.963 MB / 494.5 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.302/1.102, allocations: 48.24 MB / 0.53 GB, free: 47.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.012/1.114, allocations: 3.547 MB / 0.5334 GB, free: 46.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/1.116, allocations: 1.308 MB / 0.5347 GB, free: 46.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01207/1.128, allocations: 6.516 MB / 0.5411 GB, free: 44.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/1.129, allocations: 55.11 kB / 0.5411 GB, free: 44.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=131): time 5.029e-06/1.129, allocations: 0 / 0.5411 GB, free: 44.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.03038/1.159, allocations: 9.57 MB / 0.5505 GB, free: 41.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001105/1.16, allocations: 1.589 MB / 0.552 GB, free: 40.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006213/1.166, allocations: 3.331 MB / 0.5553 GB, free: 39.72 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003039/1.167, allocations: 49.08 kB / 0.5553 GB, free: 39.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001942/1.169, allocations: 3.029 MB / 0.5583 GB, free: 37.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007055/1.169, allocations: 0.5759 MB / 0.5589 GB, free: 37.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005057/1.17, allocations: 118.4 kB / 0.559 GB, free: 37.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003754/1.17, allocations: 0.56 MB / 0.5595 GB, free: 37.28 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003869/1.174, allocations: 1.894 MB / 0.5614 GB, free: 37.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00582/1.18, allocations: 5.769 MB / 0.567 GB, free: 32.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006286/1.186, allocations: 3.273 MB / 0.5702 GB, free: 32.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/1.187, allocations: 40.78 kB / 0.5702 GB, free: 32.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02188/1.208, allocations: 8.479 MB / 0.5785 GB, free: 30.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/1.209, allocations: 62.41 kB / 0.5786 GB, free: 30.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008578/1.217, allocations: 2.734 MB / 0.5812 GB, free: 29.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007591/1.225, allocations: 1.616 MB / 0.5828 GB, free: 29.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005851/1.231, allocations: 1.349 MB / 0.5841 GB, free: 29.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007356/1.238, allocations: 5.535 MB / 0.5895 GB, free: 25.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006524/1.245, allocations: 434 kB / 0.59 GB, free: 25.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001216/1.246, allocations: 383.3 kB / 0.5903 GB, free: 25.1 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.00151/1.248, allocations: 0.5819 MB / 0.5909 GB, free: 24.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007135/1.248, allocations: 322.2 kB / 0.5912 GB, free: 24.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008479/1.257, allocations: 2.979 MB / 0.5941 GB, free: 23.49 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007686/1.264, allocations: 2.546 MB / 0.5966 GB, free: 22.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/1.265, allocations: 3.75 kB / 0.5966 GB, free: 22.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.168e-05/1.265, allocations: 7.078 kB / 0.5966 GB, free: 22.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008758/1.273, allocations: 3.559 MB / 0.6001 GB, free: 21.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/1.273, allocations: 3.938 kB / 0.6001 GB, free: 21.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.275, allocations: 164.1 kB / 0.6002 GB, free: 21.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005856/1.28, allocations: 1.436 MB / 0.6016 GB, free: 20.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003294/1.281, allocations: 29.67 kB / 0.6017 GB, free: 20.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0072/1.288, allocations: 5.754 MB / 0.6073 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009345/1.289, allocations: 1.447 MB / 0.6087 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/1.3, allocations: 5.127 MB / 0.6137 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.301, allocations: 374.3 kB / 0.6141 GB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000787/1.302, allocations: 27.42 kB / 0.6141 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002262/1.304, allocations: 138.6 kB / 0.6142 GB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003787/1.304, allocations: 93.33 kB / 0.6143 GB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/1.305, allocations: 43.47 kB / 0.6144 GB, free: 8.266 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004801/1.309, allocations: 2.268 MB / 0.6166 GB, free: 6.273 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.175e-06/1.309, allocations: 0 / 0.6166 GB, free: 6.273 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006586/1.316, allocations: 0.9806 MB / 0.6175 GB, free: 5.301 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.0005485/1.317, allocations: 175.3 kB / 0.6177 GB, free: 5.141 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0107/1.327, allocations: 5.194 MB / 0.6228 GB, free: 440 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/1.327, allocations: 0 / 0.6228 GB, free: 440 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008189/1.336, allocations: 2.099 MB / 0.6248 GB, free: 15.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/1.338, allocations: 344.4 kB / 0.6251 GB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02026/1.359, allocations: 7.633 MB / 0.6326 GB, free: 8.113 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006786/1.365, allocations: 3.116 MB / 0.6356 GB, free: 5.738 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.366, allocations: 259.1 kB / 0.6359 GB, free: 5.496 MB / 410.7 MB Notification: Performance of SimCode: time 2.956e-06/1.366, allocations: 0 / 0.6359 GB, free: 5.496 MB / 410.7 MB Notification: Performance of Templates: time 0.413/1.78, allocations: 131.5 MB / 0.7643 GB, free: 73.82 MB / 442.7 MB