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_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.924e-05/5.932e-05, allocations: 7.984 kB / 292.7 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 50.41 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4848/0.6024, allocations: 99.6 MB / 442.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.6027, allocations: 89.31 kB / 442.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3783/0.9811, allocations: 74.08 MB / 0.5047 GB, free: 4.555 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.105e-06/0.9811, allocations: 0 / 0.5047 GB, free: 4.555 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001986/0.9813, allocations: 67.94 kB / 0.5048 GB, free: 4.488 MB / 426.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.00999/0.9913, allocations: 3.381 MB / 0.5081 GB, free: 1.047 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.9914, allocations: 8.031 kB / 0.5081 GB, free: 1.039 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/1.003, allocations: 2.089 MB / 0.5102 GB, free: 14.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/1.016, allocations: 3.885 MB / 0.5139 GB, free: 10.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/1.016, allocations: 262.9 kB / 0.5142 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00102/1.017, allocations: 363.7 kB / 0.5145 GB, free: 10.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/1.036, allocations: 8.88 MB / 0.5232 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001683/1.036, allocations: 55.47 kB / 0.5233 GB, free: 464 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006622/1.037, allocations: 175.8 kB / 0.5234 GB, free: 288 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2871/1.324, allocations: 0.8846 MB / 0.5243 GB, free: 104 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01834/1.343, allocations: 6.998 MB / 0.5311 GB, free: 104 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04637/1.389, allocations: 42.95 MB / 0.5731 GB, free: 76.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008807/1.398, allocations: 3.271 MB / 0.5763 GB, free: 75.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/1.4, allocations: 1.434 MB / 0.5777 GB, free: 74.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007082/1.407, allocations: 4.414 MB / 0.582 GB, free: 71.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/1.407, allocations: 50 kB / 0.582 GB, free: 71.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 5.361e-06/1.407, allocations: 0 / 0.582 GB, free: 71.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.02734/1.435, allocations: 9.586 MB / 0.5914 GB, free: 68.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/1.435, allocations: 144.4 kB / 0.5915 GB, free: 67.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005385/1.44, allocations: 3.28 MB / 0.5947 GB, free: 66.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002402/1.441, allocations: 46.45 kB / 0.5948 GB, free: 66.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001578/1.442, allocations: 2.758 MB / 0.5975 GB, free: 64.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004726/1.443, allocations: 0.5216 MB / 0.598 GB, free: 64.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/1.443, allocations: 104.5 kB / 0.5981 GB, free: 64.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002964/1.443, allocations: 0.5307 MB / 0.5986 GB, free: 63.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002821/1.446, allocations: 1.64 MB / 0.6002 GB, free: 63.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004206/1.45, allocations: 5.032 MB / 0.6051 GB, free: 58.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00483/1.455, allocations: 2.872 MB / 0.6079 GB, free: 57.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.141e-05/1.455, allocations: 33.81 kB / 0.608 GB, free: 57.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01338/1.469, allocations: 6.272 MB / 0.6141 GB, free: 54.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.666e-05/1.469, allocations: 59.06 kB / 0.6141 GB, free: 54.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/1.469, allocations: 124.3 kB / 0.6143 GB, free: 54.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007201/1.47, allocations: 332.1 kB / 0.6146 GB, free: 54.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005267/1.475, allocations: 1.286 MB / 0.6158 GB, free: 54.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/1.478, allocations: 2.299 MB / 0.6181 GB, free: 53.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004872/1.482, allocations: 289.7 kB / 0.6183 GB, free: 52.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006044/1.483, allocations: 332.5 kB / 0.6187 GB, free: 52.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * 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 (666): * Single equations (assignments): 662 * 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.0007981/1.484, allocations: 0.5147 MB / 0.6192 GB, free: 52.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005051/1.484, allocations: 308.7 kB / 0.6195 GB, free: 52.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005275/1.49, allocations: 2.354 MB / 0.6218 GB, free: 50.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-05/1.49, allocations: 17.48 kB / 0.6218 GB, free: 50.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.49, allocations: 4 kB / 0.6218 GB, free: 50.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/1.49, allocations: 7.547 kB / 0.6218 GB, free: 50.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/1.503, allocations: 5.928 MB / 0.6276 GB, free: 46.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/1.503, allocations: 4.062 kB / 0.6276 GB, free: 46.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.504, allocations: 175.6 kB / 0.6277 GB, free: 45.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002584/1.507, allocations: 0.7121 MB / 0.6284 GB, free: 45.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/1.507, allocations: 24.73 kB / 0.6285 GB, free: 45.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006631/1.514, allocations: 4.438 MB / 0.6328 GB, free: 41.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.908e-06/1.514, allocations: 4 kB / 0.6328 GB, free: 41.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007823/1.522, allocations: 4.422 MB / 0.6371 GB, free: 37.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009716/1.523, allocations: 375.8 kB / 0.6375 GB, free: 37.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004782/1.523, allocations: 19.95 kB / 0.6375 GB, free: 37.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/1.525, allocations: 69.55 kB / 0.6376 GB, free: 37.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002126/1.525, allocations: 70.92 kB / 0.6376 GB, free: 37.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/1.525, allocations: 38.03 kB / 0.6377 GB, free: 37.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003975/1.529, allocations: 2.275 MB / 0.6399 GB, free: 35.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.61e-07/1.529, allocations: 0 / 0.6399 GB, free: 35.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005421/1.534, allocations: 0.8306 MB / 0.6407 GB, free: 34.21 MB / 442.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.0004747/1.535, allocations: 168.8 kB / 0.6409 GB, free: 34.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007035/1.542, allocations: 3.785 MB / 0.6446 GB, free: 30.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.965e-06/1.542, allocations: 0 / 0.6446 GB, free: 30.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00177/1.544, allocations: 1.076 MB / 0.6456 GB, free: 29.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/1.546, allocations: 349.7 kB / 0.6459 GB, free: 29.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/1.558, allocations: 5.905 MB / 0.6517 GB, free: 24.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003711/1.562, allocations: 2.854 MB / 0.6545 GB, free: 21.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005489/1.568, allocations: 1.657 MB / 0.6561 GB, free: 20.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009215/1.569, allocations: 210.2 kB / 0.6563 GB, free: 20.62 MB / 442.7 MB Notification: Performance of SimCode: time 1.934e-06/1.569, allocations: 0 / 0.6563 GB, free: 20.62 MB / 442.7 MB Notification: Performance of Templates: time 0.07979/1.648, allocations: 28.56 MB / 0.6842 GB, free: 10.18 MB / 458.7 MB