Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 1.973/1.973, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.211e-05/2.225e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2531, allocations: 44.49 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.3933, allocations: 90.26 MB / 384.4 MB, free: 7.707 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.3937, allocations: 83.95 kB / 384.4 MB, free: 7.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4781/0.8718, allocations: 70.28 MB / 454.7 MB, free: 89.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.027e-06/0.8718, allocations: 0 / 454.7 MB, free: 89.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001554/0.872, allocations: 67.22 kB / 454.8 MB, free: 89.64 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.008715/0.8807, allocations: 3.356 MB / 458.1 MB, free: 87.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.8808, allocations: 11.47 kB / 458.2 MB, free: 87.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.8921, allocations: 2.079 MB / 460.2 MB, free: 86.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/0.9033, allocations: 4.017 MB / 464.3 MB, free: 83.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.9035, allocations: 111.9 kB / 464.4 MB, free: 83.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00088/0.9043, allocations: 207.9 kB / 464.6 MB, free: 83.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009199/0.9136, allocations: 5.03 MB / 469.6 MB, free: 78.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/0.9266, allocations: 7.938 MB / 477.5 MB, free: 69.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001551/0.9268, allocations: 59.41 kB / 477.6 MB, free: 69.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005371/0.9274, allocations: 32 kB / 477.6 MB, free: 69.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001317/0.9287, allocations: 0.8644 MB / 478.5 MB, free: 68.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04265/0.9714, allocations: 40.96 MB / 0.5073 GB, free: 26.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.9747, allocations: 2.476 MB / 0.5097 GB, free: 23.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/0.9767, allocations: 1.381 MB / 0.511 GB, free: 22.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003605/0.9771, allocations: 323.5 kB / 0.5113 GB, free: 22.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.9771, allocations: 51.11 kB / 0.5114 GB, free: 22.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 5.274e-06/0.9772, allocations: 0 / 0.5114 GB, free: 22.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=130): time 0.02518/1.002, allocations: 11.24 MB / 0.5224 GB, free: 10.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/1.002, allocations: 170.7 kB / 0.5225 GB, free: 10.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005103/1.008, allocations: 2.789 MB / 0.5253 GB, free: 7.637 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002661/1.008, allocations: 29.7 kB / 0.5253 GB, free: 7.602 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001742/1.01, allocations: 2.747 MB / 0.528 GB, free: 4.816 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006216/1.01, allocations: 0.5209 MB / 0.5285 GB, free: 4.289 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003598/1.011, allocations: 0 / 0.5285 GB, free: 4.289 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003394/1.011, allocations: 0.5382 MB / 0.529 GB, free: 3.742 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003285/1.014, allocations: 1.592 MB / 0.5306 GB, free: 2.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006838/1.021, allocations: 5.1 MB / 0.5355 GB, free: 11.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006234/1.027, allocations: 2.841 MB / 0.5383 GB, free: 8.414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/1.028, allocations: 36 kB / 0.5383 GB, free: 8.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01584/1.043, allocations: 5.93 MB / 0.5441 GB, free: 2.438 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/1.044, allocations: 60 kB / 0.5442 GB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001735/1.044, allocations: 128.2 kB / 0.5443 GB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009046/1.045, allocations: 347.3 kB / 0.5446 GB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005594/1.05, allocations: 1.326 MB / 0.5459 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003402/1.054, allocations: 2.257 MB / 0.5481 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00509/1.059, allocations: 183.6 kB / 0.5483 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001201/1.06, allocations: 348 kB / 0.5487 GB, free: 13.69 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (686): * Single equations (assignments): 682 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001266/1.061, allocations: 424.8 kB / 0.5491 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007486/1.062, allocations: 276.4 kB / 0.5493 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006248/1.069, allocations: 2.247 MB / 0.5515 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.319e-05/1.069, allocations: 16 kB / 0.5515 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/1.069, allocations: 8.031 kB / 0.5515 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.068e-05/1.069, allocations: 15.86 kB / 0.5516 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/1.085, allocations: 5.601 MB / 0.557 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.652e-05/1.085, allocations: 7.953 kB / 0.557 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/1.086, allocations: 179.8 kB / 0.5572 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003036/1.089, allocations: 0.6991 MB / 0.5579 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002446/1.089, allocations: 16 kB / 0.5579 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2367/1.326, allocations: 4.285 MB / 0.5621 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/1.326, allocations: 2.25 kB / 0.5621 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008965/1.335, allocations: 4.396 MB / 0.5664 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/1.337, allocations: 0.4983 MB / 0.5669 GB, free: 104.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004066/1.337, allocations: 2.656 kB / 0.5669 GB, free: 104.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/1.338, allocations: 48.56 kB / 0.5669 GB, free: 104.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/1.339, allocations: 75.45 kB / 0.567 GB, free: 104.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/1.339, allocations: 34.91 kB / 0.567 GB, free: 104.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003701/1.343, allocations: 1.845 MB / 0.5688 GB, free: 104.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.178e-06/1.343, allocations: 0 / 0.5688 GB, free: 104.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006225/1.349, allocations: 0.7066 MB / 0.5695 GB, free: 104.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004733/1.349, allocations: 139.1 kB / 0.5696 GB, free: 104 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006854/1.356, allocations: 3.759 MB / 0.5733 GB, free: 103.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.676e-06/1.356, allocations: 0 / 0.5733 GB, free: 103.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00175/1.358, allocations: 1.072 MB / 0.5744 GB, free: 103.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/1.36, allocations: 289 kB / 0.5746 GB, free: 103.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/1.374, allocations: 6.207 MB / 0.5807 GB, free: 102.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003979/1.378, allocations: 2.84 MB / 0.5835 GB, free: 101.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000999/1.379, allocations: 238.3 kB / 0.5837 GB, free: 101.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.768e-06/1.379, allocations: 3.125 kB / 0.5837 GB, free: 101.2 MB / 394.7 MB Notification: Performance of Templates: time 0.08048/1.459, allocations: 59 MB / 0.6413 GB, free: 59.99 MB / 394.7 MB