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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 1.579/1.579, allocations: 171.2 MB / 183.8 MB, free: 11.94 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.59e-05, allocations: 4 kB / 225 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2543, allocations: 38.77 MB / 263.8 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1891/0.4434, allocations: 85.18 MB / 348.9 MB, free: 4.562 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.4438, allocations: 83.95 kB / 349 MB, free: 4.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.442/0.8858, allocations: 71.69 MB / 420.7 MB, free: 52.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.472e-06/0.8859, allocations: 0 / 420.7 MB, free: 52.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001716/0.886, allocations: 64 kB / 420.8 MB, free: 52.93 MB / 314.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.009437/0.8955, allocations: 3.353 MB / 424.1 MB, free: 49.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.8955, allocations: 8.031 kB / 424.1 MB, free: 49.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.9066, allocations: 2.082 MB / 426.2 MB, free: 47.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01145/0.918, allocations: 4.006 MB / 430.2 MB, free: 43.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002798/0.9184, allocations: 266.8 kB / 430.5 MB, free: 43.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/0.9198, allocations: 351.8 kB / 430.8 MB, free: 42.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01837/0.9382, allocations: 8.749 MB / 439.6 MB, free: 33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001684/0.9384, allocations: 51.56 kB / 439.6 MB, free: 32.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000972/0.9394, allocations: 175.9 kB / 439.8 MB, free: 32.78 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001472/0.9409, allocations: 0.872 MB / 440.7 MB, free: 31.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01549/0.9564, allocations: 6.888 MB / 447.6 MB, free: 25.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05321/1.01, allocations: 42.6 MB / 490.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/1.02, allocations: 3.152 MB / 493.3 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002913/1.023, allocations: 1.408 MB / 494.7 MB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009284/1.032, allocations: 4.092 MB / 498.8 MB, free: 4.016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/1.032, allocations: 47.12 kB / 498.9 MB, free: 3.961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=114): time 5.638e-06/1.032, allocations: 0 / 498.9 MB, free: 3.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.2363/1.268, allocations: 9.377 MB / 0.4963 GB, free: 84.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/1.269, allocations: 150.7 kB / 0.4965 GB, free: 84.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007297/1.276, allocations: 3.271 MB / 0.4997 GB, free: 84.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002657/1.276, allocations: 43.08 kB / 0.4997 GB, free: 84.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002013/1.278, allocations: 2.671 MB / 0.5023 GB, free: 82.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006789/1.279, allocations: 0.5015 MB / 0.5028 GB, free: 82.72 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005552/1.28, allocations: 104.1 kB / 0.5029 GB, free: 82.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004035/1.28, allocations: 0.5274 MB / 0.5034 GB, free: 82.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003771/1.284, allocations: 1.638 MB / 0.505 GB, free: 82.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005584/1.289, allocations: 4.986 MB / 0.5099 GB, free: 77.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005659/1.295, allocations: 2.843 MB / 0.5127 GB, free: 77.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001205/1.295, allocations: 31.53 kB / 0.5127 GB, free: 77.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01507/1.31, allocations: 6.11 MB / 0.5187 GB, free: 76.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/1.31, allocations: 59.12 kB / 0.5187 GB, free: 76.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000155/1.311, allocations: 119.1 kB / 0.5188 GB, free: 76.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008142/1.311, allocations: 346 kB / 0.5192 GB, free: 76.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00565/1.317, allocations: 1.274 MB / 0.5204 GB, free: 76.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/1.32, allocations: 2.341 MB / 0.5227 GB, free: 75.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005422/1.326, allocations: 276.7 kB / 0.523 GB, free: 74.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/1.327, allocations: 337.5 kB / 0.5233 GB, free: 74.88 MB / 346.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.001183/1.328, allocations: 0.5098 MB / 0.5238 GB, free: 74.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007169/1.329, allocations: 310.5 kB / 0.5241 GB, free: 74.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0059/1.335, allocations: 2.31 MB / 0.5263 GB, free: 73.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.285e-05/1.335, allocations: 15.19 kB / 0.5263 GB, free: 73.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/1.335, allocations: 7.516 kB / 0.5263 GB, free: 73.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/1.335, allocations: 3.281 kB / 0.5263 GB, free: 73.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/1.35, allocations: 5.826 MB / 0.532 GB, free: 71.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/1.351, allocations: 3.688 kB / 0.532 GB, free: 71.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.352, allocations: 168.6 kB / 0.5322 GB, free: 71.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002967/1.355, allocations: 0.7116 MB / 0.5329 GB, free: 71.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002318/1.355, allocations: 27 kB / 0.5329 GB, free: 71.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007366/1.362, allocations: 4.435 MB / 0.5373 GB, free: 68.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.362, allocations: 0 / 0.5373 GB, free: 68.74 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008035/1.37, allocations: 4.365 MB / 0.5415 GB, free: 64.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/1.372, allocations: 0.5244 MB / 0.542 GB, free: 64.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006107/1.373, allocations: 28.02 kB / 0.5421 GB, free: 64.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/1.374, allocations: 66.73 kB / 0.5421 GB, free: 64.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/1.375, allocations: 62.88 kB / 0.5422 GB, free: 64.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/1.375, allocations: 31.33 kB / 0.5422 GB, free: 64.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004646/1.38, allocations: 2.27 MB / 0.5444 GB, free: 62.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.96e-07/1.38, allocations: 0 / 0.5444 GB, free: 62.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0058/1.385, allocations: 0.8167 MB / 0.5452 GB, free: 61.52 MB / 346.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.0004716/1.386, allocations: 162.2 kB / 0.5454 GB, free: 61.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007092/1.393, allocations: 3.734 MB / 0.549 GB, free: 57.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.649e-06/1.393, allocations: 4 kB / 0.549 GB, free: 57.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/1.395, allocations: 1.048 MB / 0.5501 GB, free: 56.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/1.397, allocations: 352.3 kB / 0.5504 GB, free: 56.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/1.411, allocations: 6.204 MB / 0.5564 GB, free: 51.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004294/1.415, allocations: 2.837 MB / 0.5592 GB, free: 48.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/1.416, allocations: 244.9 kB / 0.5595 GB, free: 48.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.771e-06/1.416, allocations: 7.938 kB / 0.5595 GB, free: 48.75 MB / 346.7 MB Notification: Performance of Templates: time 0.08959/1.506, allocations: 60 MB / 0.6181 GB, free: 8.676 MB / 362.7 MB