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.799/1.799, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.973e-05, allocations: 5.031 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0791/0.07916, allocations: 44.5 MB / 299.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.355/0.4342, allocations: 90.91 MB / 390.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.4345, allocations: 88.19 kB / 390.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2655/0.7, allocations: 71.69 MB / 462.5 MB, free: 9.938 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.811e-06/0.7, allocations: 0 / 462.5 MB, free: 9.938 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002059/0.7003, allocations: 72 kB / 462.6 MB, free: 9.867 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01101/0.7113, allocations: 3.345 MB / 465.9 MB, free: 6.461 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.7114, allocations: 8.031 kB / 465.9 MB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/0.7234, allocations: 2.082 MB / 468 MB, free: 4.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/0.737, allocations: 4.014 MB / 472 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003665/0.7374, allocations: 258.8 kB / 472.3 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001612/0.739, allocations: 343.8 kB / 472.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03302/0.772, allocations: 8.797 MB / 481.4 MB, free: 5.906 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003337/0.7724, allocations: 59.42 kB / 481.5 MB, free: 5.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001791/0.7743, allocations: 171.9 kB / 481.7 MB, free: 5.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003166/0.7775, allocations: 0.8682 MB / 482.5 MB, free: 4.812 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02937/0.8069, allocations: 7.055 MB / 489.6 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3306/1.138, allocations: 42.59 MB / 0.5197 GB, free: 55.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009573/1.147, allocations: 3.154 MB / 0.5228 GB, free: 54.56 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002577/1.15, allocations: 1.411 MB / 0.5242 GB, free: 54.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007778/1.158, allocations: 4.087 MB / 0.5281 GB, free: 53.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/1.158, allocations: 47.06 kB / 0.5282 GB, free: 53.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 5.31e-06/1.158, allocations: 0 / 0.5282 GB, free: 53.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.02968/1.187, allocations: 9.395 MB / 0.5374 GB, free: 50.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/1.187, allocations: 146.5 kB / 0.5375 GB, free: 50.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006494/1.194, allocations: 3.276 MB / 0.5407 GB, free: 50.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002487/1.194, allocations: 42.67 kB / 0.5407 GB, free: 50.08 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001818/1.196, allocations: 2.676 MB / 0.5434 GB, free: 48.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006045/1.197, allocations: 0.4977 MB / 0.5438 GB, free: 48.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004637/1.197, allocations: 100.5 kB / 0.5439 GB, free: 48.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003527/1.198, allocations: 0.5316 MB / 0.5445 GB, free: 48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003239/1.201, allocations: 1.631 MB / 0.5461 GB, free: 47.99 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005045/1.206, allocations: 5.019 MB / 0.551 GB, free: 43.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005199/1.211, allocations: 2.849 MB / 0.5537 GB, free: 43.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.194e-05/1.211, allocations: 34.47 kB / 0.5538 GB, free: 43.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01434/1.226, allocations: 6.449 MB / 0.5601 GB, free: 43.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.226, allocations: 59.19 kB / 0.5601 GB, free: 43.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001364/1.226, allocations: 122.5 kB / 0.5602 GB, free: 43.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007623/1.227, allocations: 344.9 kB / 0.5606 GB, free: 43.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005473/1.232, allocations: 1.27 MB / 0.5618 GB, free: 42.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00278/1.235, allocations: 2.343 MB / 0.5641 GB, free: 41.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005268/1.24, allocations: 279.3 kB / 0.5644 GB, free: 41.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009784/1.241, allocations: 330 kB / 0.5647 GB, free: 41.04 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * 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 (656): * Single equations (assignments): 652 * 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.0009371/1.242, allocations: 0.5117 MB / 0.5652 GB, free: 40.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006646/1.243, allocations: 309.2 kB / 0.5655 GB, free: 40.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005797/1.249, allocations: 2.312 MB / 0.5677 GB, free: 39.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-05/1.249, allocations: 17.77 kB / 0.5677 GB, free: 39.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/1.249, allocations: 3.594 kB / 0.5677 GB, free: 39.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/1.249, allocations: 12.95 kB / 0.5678 GB, free: 39.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/1.264, allocations: 5.82 MB / 0.5734 GB, free: 37.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/1.264, allocations: 0 / 0.5734 GB, free: 37.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/1.265, allocations: 168.5 kB / 0.5736 GB, free: 37.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002889/1.268, allocations: 0.7101 MB / 0.5743 GB, free: 37.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/1.268, allocations: 20.5 kB / 0.5743 GB, free: 37.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007223/1.275, allocations: 4.443 MB / 0.5787 GB, free: 34.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.365e-06/1.275, allocations: 3.688 kB / 0.5787 GB, free: 34.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008476/1.284, allocations: 4.36 MB / 0.5829 GB, free: 33.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/1.285, allocations: 0.5264 MB / 0.5834 GB, free: 32.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006406/1.286, allocations: 15.69 kB / 0.5834 GB, free: 32.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/1.288, allocations: 70.2 kB / 0.5835 GB, free: 32.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/1.288, allocations: 65.75 kB / 0.5836 GB, free: 32.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/1.288, allocations: 36.77 kB / 0.5836 GB, free: 32.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004607/1.293, allocations: 2.271 MB / 0.5858 GB, free: 31.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.293, allocations: 2.5 kB / 0.5858 GB, free: 31.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00602/1.299, allocations: 0.8086 MB / 0.5866 GB, free: 31.81 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (90): * Single equations (assignments): 86 * 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.0004789/1.299, allocations: 170 kB / 0.5868 GB, free: 31.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007372/1.307, allocations: 3.895 MB / 0.5906 GB, free: 29.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.307, allocations: 4 kB / 0.5906 GB, free: 29.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001779/1.308, allocations: 1.078 MB / 0.5916 GB, free: 28.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/1.311, allocations: 357.6 kB / 0.592 GB, free: 27.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/1.324, allocations: 6.202 MB / 0.598 GB, free: 22.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003707/1.327, allocations: 2.836 MB / 0.6008 GB, free: 20.04 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.328, allocations: 242.3 kB / 0.601 GB, free: 19.81 MB / 394.7 MB Notification: Performance of SimCode: time 2.147e-06/1.328, allocations: 0 / 0.601 GB, free: 19.81 MB / 394.7 MB Notification: Performance of Templates: time 0.09919/1.428, allocations: 60.84 MB / 0.6605 GB, free: 13.77 MB / 442.7 MB