Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 2.081/2.081, allocations: 224.7 MB / 241.1 MB, free: 1.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.032e-05/3.029e-05, allocations: 7.984 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1083, allocations: 50.41 MB / 345 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.04455/0.1529, allocations: 28.58 MB / 373.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02086/0.1739, allocations: 7.074 MB / 380.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006197/0.1801, allocations: 151.6 kB / 380.8 MB, free: 5.023 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005113/0.1853, allocations: 1.415 MB / 382.2 MB, free: 3.602 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01558/0.2009, allocations: 4.153 MB / 386.4 MB, free: 15.44 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.2037, allocations: 491 kB / 386.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004138/0.2079, allocations: 1.392 MB / 388.2 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005454/0.2134, allocations: 2.599 MB / 390.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.215, allocations: 0.6857 MB / 391.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002281/0.2173, allocations: 1.04 MB / 392.5 MB, free: 9.199 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.2197, allocations: 0.7763 MB / 393.3 MB, free: 8.422 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008497/0.2206, allocations: 100 kB / 393.4 MB, free: 8.324 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002021/0.2227, allocations: 1.239 MB / 394.7 MB, free: 7.082 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009979/0.2237, allocations: 220 kB / 394.9 MB, free: 6.867 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007517/0.2312, allocations: 4.447 MB / 399.3 MB, free: 2.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2313, allocations: 0 / 399.3 MB, free: 2.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.163e-06/0.2313, allocations: 0 / 399.3 MB, free: 2.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002026/0.2315, allocations: 3.938 kB / 399.3 MB, free: 2.406 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.2924/0.5239, allocations: 3.299 MB / 402.6 MB, free: 51.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.524, allocations: 9.188 kB / 402.6 MB, free: 51.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/0.5384, allocations: 2.109 MB / 404.7 MB, free: 50.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008207/0.5467, allocations: 1.98 MB / 406.7 MB, free: 50 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000417/0.5472, allocations: 193 kB / 406.9 MB, free: 49.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001929/0.5491, allocations: 250.9 kB / 407.2 MB, free: 49.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03361/0.5828, allocations: 8.489 MB / 415.6 MB, free: 45.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002169/0.5831, allocations: 44.95 kB / 415.7 MB, free: 45.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001145/0.5843, allocations: 128.6 kB / 415.8 MB, free: 45.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006479/0.5908, allocations: 1.694 MB / 417.5 MB, free: 44.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02862/0.6194, allocations: 7.15 MB / 424.7 MB, free: 37.74 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06046/0.68, allocations: 34.22 MB / 458.9 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/0.6921, allocations: 3.289 MB / 462.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01105/0.7033, allocations: 4.402 MB / 466.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/0.7034, allocations: 47.11 kB / 466.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=121): time 5.962e-06/0.7034, allocations: 4 kB / 466.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=129): time 0.05053/0.7539, allocations: 11.75 MB / 478.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.694e-05/0.7541, allocations: 141.2 kB / 478.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007997/0.7621, allocations: 3.428 MB / 481.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003344/0.7625, allocations: 45.7 kB / 482 MB, free: 11.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003064/0.7655, allocations: 2.698 MB / 484.7 MB, free: 8.379 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009586/0.7666, allocations: 0.5166 MB / 485.2 MB, free: 7.867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005236/0.7671, allocations: 108 kB / 485.3 MB, free: 7.762 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004589/0.7676, allocations: 0.53 MB / 485.8 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004639/0.7722, allocations: 1.677 MB / 487.5 MB, free: 5.539 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007967/0.7803, allocations: 5.073 MB / 492.6 MB, free: 14.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007299/0.7876, allocations: 2.864 MB / 495.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001057/0.7878, allocations: 36 kB / 495.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01907/0.8069, allocations: 6.553 MB / 0.4903 GB, free: 5.273 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.807, allocations: 56.47 kB / 0.4903 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001772/0.8072, allocations: 120 kB / 0.4904 GB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.8083, allocations: 336.7 kB / 0.4908 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007586/0.8159, allocations: 1.244 MB / 0.492 GB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004036/0.82, allocations: 2.323 MB / 0.4942 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005341/0.8254, allocations: 296.5 kB / 0.4945 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/0.8264, allocations: 332 kB / 0.4948 GB, free: 464 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (664): * Single equations (assignments): 660 * 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.004475/0.8309, allocations: 1.753 MB / 0.4965 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009037/0.8318, allocations: 308 kB / 0.4968 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008169/0.84, allocations: 2.359 MB / 0.4991 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.995e-05/0.8402, allocations: 17.02 kB / 0.4992 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.8402, allocations: 4 kB / 0.4992 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-05/0.8402, allocations: 7.969 kB / 0.4992 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01973/0.86, allocations: 5.943 MB / 0.505 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.719e-05/0.8601, allocations: 0 / 0.505 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/0.8618, allocations: 175.8 kB / 0.5051 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004178/0.866, allocations: 0.7108 MB / 0.5058 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002712/0.8663, allocations: 24.83 kB / 0.5059 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.8766, allocations: 4.587 MB / 0.5103 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.8766, allocations: 0 / 0.5103 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/0.8891, allocations: 4.432 MB / 0.5147 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/0.8904, allocations: 372.9 kB / 0.515 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008495/0.8913, allocations: 28.88 kB / 0.5151 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/0.8934, allocations: 63.98 kB / 0.5151 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002949/0.8937, allocations: 65.58 kB / 0.5152 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.8938, allocations: 39.98 kB / 0.5152 GB, free: 11.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006064/0.8999, allocations: 2.401 MB / 0.5176 GB, free: 8.922 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.9, allocations: 0 / 0.5176 GB, free: 8.922 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005794/0.9058, allocations: 0.8383 MB / 0.5184 GB, free: 8.09 MB / 410.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 (96): * Single equations (assignments): 92 * 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.0006641/0.9065, allocations: 180.8 kB / 0.5186 GB, free: 7.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0104/0.9169, allocations: 3.985 MB / 0.5224 GB, free: 3.941 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/0.917, allocations: 0 / 0.5224 GB, free: 3.941 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002937/0.9199, allocations: 1.11 MB / 0.5235 GB, free: 2.824 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/0.9233, allocations: 363.5 kB / 0.5239 GB, free: 2.473 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02291/0.9463, allocations: 8.964 MB / 0.5326 GB, free: 9.461 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00627/0.9526, allocations: 2.863 MB / 0.5354 GB, free: 6.574 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/0.9541, allocations: 251.4 kB / 0.5357 GB, free: 6.328 MB / 426.7 MB Notification: Performance of SimCode: time 1.493e-06/0.9541, allocations: 0 / 0.5357 GB, free: 6.328 MB / 426.7 MB Notification: Performance of Templates: time 0.4286/1.383, allocations: 61.9 MB / 0.5961 GB, free: 119.6 MB / 442.7 MB