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 2.057/2.057, allocations: 171.1 MB / 186.3 MB, free: 1.328 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.549e-05, allocations: 4 kB / 228.1 MB, free: 7.98 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.08774, allocations: 38.77 MB / 266.9 MB, free: 1.125 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.04406/0.1319, allocations: 27.29 MB / 294.2 MB, free: 5.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2543/0.3862, allocations: 6.755 MB / 300.9 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006753/0.393, allocations: 142.3 kB / 301.1 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005643/0.3987, allocations: 1.388 MB / 302.5 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01634/0.4151, allocations: 3.944 MB / 306.4 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.4181, allocations: 492.6 kB / 306.9 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005303/0.4235, allocations: 1.367 MB / 308.3 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007409/0.4309, allocations: 2.59 MB / 310.8 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.4338, allocations: 0.6783 MB / 311.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003548/0.4374, allocations: 1.027 MB / 312.6 MB, free: 2 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003813/0.4413, allocations: 0.7991 MB / 313.4 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001567/0.4429, allocations: 102.8 kB / 313.5 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003038/0.446, allocations: 1.226 MB / 314.7 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00179/0.4478, allocations: 216.9 kB / 314.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01714/0.465, allocations: 4.7 MB / 319.6 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4651, allocations: 3.562 kB / 319.6 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd: time 3.928e-06/0.4651, allocations: 64 / 319.6 MB, free: 0 / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002496/0.4654, allocations: 0 / 319.6 MB, free: 0 / 250.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.0146/0.48, allocations: 3.305 MB / 322.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.4801, allocations: 9.969 kB / 322.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01856/0.4986, allocations: 2.103 MB / 325 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006593/0.5053, allocations: 2.136 MB / 327.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002734/0.5056, allocations: 182.3 kB / 327.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/0.5071, allocations: 251.6 kB / 327.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02416/0.5313, allocations: 8.376 MB / 335.9 MB, free: 5.984 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000183/0.5315, allocations: 43.95 kB / 336 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009837/0.5325, allocations: 123.4 kB / 336.1 MB, free: 5.926 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00464/0.5372, allocations: 1.627 MB / 337.7 MB, free: 4.582 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02405/0.5613, allocations: 7.038 MB / 344.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06661/0.6279, allocations: 33.88 MB / 378.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/0.6412, allocations: 3.157 MB / 381.8 MB, free: 9.309 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.011/0.6523, allocations: 4.052 MB / 385.9 MB, free: 5.129 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.6524, allocations: 49.88 kB / 385.9 MB, free: 5.074 MB / 314.7 MB Notification: Performance of pre-optimization done (n=114): time 5.33e-06/0.6524, allocations: 0 / 385.9 MB, free: 5.074 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.05288/0.7053, allocations: 11.59 MB / 397.5 MB, free: 9.312 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.7054, allocations: 151.6 kB / 397.6 MB, free: 9.137 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009275/0.7147, allocations: 3.415 MB / 401.1 MB, free: 5.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003708/0.7151, allocations: 41.7 kB / 401.1 MB, free: 5.684 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003328/0.7185, allocations: 2.678 MB / 403.8 MB, free: 3.012 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001087/0.7196, allocations: 0.4928 MB / 404.3 MB, free: 2.523 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007638/0.7204, allocations: 108 kB / 404.4 MB, free: 2.418 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0005884/0.721, allocations: 0.5298 MB / 404.9 MB, free: 1.879 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005137/0.7262, allocations: 1.669 MB / 406.6 MB, free: 208 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008738/0.735, allocations: 5.048 MB / 411.6 MB, free: 9.496 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007669/0.7427, allocations: 2.846 MB / 414.5 MB, free: 6.727 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001234/0.7429, allocations: 36 kB / 414.5 MB, free: 6.691 MB / 346.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01994/0.7628, allocations: 6.51 MB / 421 MB, free: 176 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.763, allocations: 64.92 kB / 421.1 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002382/0.7633, allocations: 120 kB / 421.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.7644, allocations: 340.6 kB / 421.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008001/0.7725, allocations: 1.22 MB / 422.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004381/0.7769, allocations: 2.364 MB / 425.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005592/0.7825, allocations: 290.3 kB / 425.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/0.7838, allocations: 328 kB / 425.7 MB, free: 11.33 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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 (654): * Single equations (assignments): 650 * 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.005117/0.7889, allocations: 1.728 MB / 427.4 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009354/0.7899, allocations: 304.1 kB / 427.7 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009008/0.7989, allocations: 2.343 MB / 430.1 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.856e-05/0.799, allocations: 15.95 kB / 430.1 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.7991, allocations: 4 kB / 430.1 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.541e-05/0.7991, allocations: 7.969 kB / 430.1 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02076/0.8199, allocations: 5.864 MB / 436 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/0.82, allocations: 0 / 436 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/0.8217, allocations: 163.7 kB / 436.1 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004239/0.826, allocations: 0.7147 MB / 436.9 MB, free: 120 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003002/0.8263, allocations: 23.36 kB / 436.9 MB, free: 100 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.245/1.071, allocations: 4.563 MB / 441.4 MB, free: 120.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.071, allocations: 1.859 kB / 441.4 MB, free: 120.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01261/1.084, allocations: 4.402 MB / 445.8 MB, free: 119.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002/1.086, allocations: 0.5325 MB / 446.4 MB, free: 119 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000957/1.087, allocations: 18.28 kB / 446.4 MB, free: 119 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/1.089, allocations: 67.42 kB / 446.5 MB, free: 118.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003029/1.09, allocations: 70.3 kB / 446.5 MB, free: 118.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/1.09, allocations: 33.17 kB / 446.6 MB, free: 118.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.006004/1.096, allocations: 2.399 MB / 449 MB, free: 118.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.142e-06/1.096, allocations: 0 / 449 MB, free: 118.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006068/1.102, allocations: 0.8202 MB / 449.8 MB, free: 118 MB / 362.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.0007931/1.103, allocations: 174.8 kB / 450 MB, free: 117.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01275/1.115, allocations: 3.96 MB / 453.9 MB, free: 116.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.116, allocations: 0 / 453.9 MB, free: 116.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003609/1.119, allocations: 1.096 MB / 455 MB, free: 116.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004491/1.124, allocations: 351.5 kB / 455.4 MB, free: 115.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02637/1.15, allocations: 8.866 MB / 464.2 MB, free: 111.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005154/1.155, allocations: 2.839 MB / 467.1 MB, free: 110.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/1.157, allocations: 246.3 kB / 467.3 MB, free: 110.2 MB / 362.7 MB Notification: Performance of SimCode: time 2.033e-06/1.157, allocations: 0 / 467.3 MB, free: 110.2 MB / 362.7 MB Notification: Performance of Templates: time 0.1094/1.266, allocations: 61.25 MB / 0.5162 GB, free: 50.3 MB / 362.7 MB