Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") Notification: Performance of loadModel(Modelica): time 1.943/1.943, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.667e-05, allocations: 4 kB / 292.7 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.09445, allocations: 50.42 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.375/0.4695, allocations: 96.66 MB / 439.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.4698, allocations: 85.08 kB / 439.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3281/0.7979, allocations: 85.93 MB / 0.5134 GB, free: 11.58 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.379e-06/0.798, allocations: 0 / 0.5134 GB, free: 11.58 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002104/0.7982, allocations: 80 kB / 0.5135 GB, free: 11.5 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1469 * Number of variables: 1469 Notification: Performance of Generate backend data structure: time 0.01094/0.8091, allocations: 3.826 MB / 0.5172 GB, free: 7.613 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.8092, allocations: 8.031 kB / 0.5173 GB, free: 7.605 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/0.8236, allocations: 2.44 MB / 0.5196 GB, free: 5.156 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01522/0.8389, allocations: 4.779 MB / 0.5243 GB, free: 320 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000439/0.8394, allocations: 316.2 kB / 0.5246 GB, free: 0 / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002058/1.109, allocations: 408.6 kB / 0.525 GB, free: 102.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02358/1.132, allocations: 9.893 MB / 0.5347 GB, free: 99.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002184/1.133, allocations: 63.45 kB / 0.5347 GB, free: 99.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001027/1.134, allocations: 202.9 kB / 0.5349 GB, free: 99.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001961/1.136, allocations: 0.9996 MB / 0.5359 GB, free: 99.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/1.154, allocations: 7.463 MB / 0.5432 GB, free: 99.36 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04885/1.203, allocations: 45.66 MB / 0.5878 GB, free: 67.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007906/1.211, allocations: 2.816 MB / 0.5905 GB, free: 66.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/1.213, allocations: 0.8445 MB / 0.5913 GB, free: 65.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006625/1.219, allocations: 3.801 MB / 0.5951 GB, free: 63.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/1.22, allocations: 46.16 kB / 0.5951 GB, free: 63.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=134): time 5.289e-06/1.22, allocations: 3.406 kB / 0.5951 GB, free: 63.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=152): time 0.02568/1.245, allocations: 8.323 MB / 0.6032 GB, free: 59.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/1.245, allocations: 152.5 kB / 0.6034 GB, free: 59.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005681/1.251, allocations: 3.429 MB / 0.6067 GB, free: 58.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002038/1.251, allocations: 49.52 kB / 0.6068 GB, free: 58.56 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001835/1.253, allocations: 3.091 MB / 0.6098 GB, free: 56.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005388/1.254, allocations: 0.6096 MB / 0.6104 GB, free: 55.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/1.254, allocations: 114.5 kB / 0.6105 GB, free: 55.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003256/1.254, allocations: 0.5504 MB / 0.611 GB, free: 55.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002799/1.257, allocations: 1.481 MB / 0.6125 GB, free: 54.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004447/1.262, allocations: 5.186 MB / 0.6175 GB, free: 49.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004723/1.266, allocations: 2.783 MB / 0.6203 GB, free: 48.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.768e-05/1.266, allocations: 39.25 kB / 0.6203 GB, free: 48.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01324/1.28, allocations: 6.081 MB / 0.6262 GB, free: 46.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.46e-05/1.28, allocations: 64.22 kB / 0.6263 GB, free: 46.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/1.28, allocations: 131.1 kB / 0.6264 GB, free: 46.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002285/1.28, allocations: 198.6 kB / 0.6266 GB, free: 46.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005619/1.286, allocations: 1.394 MB / 0.628 GB, free: 45.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001987/1.286, allocations: 264.4 kB / 0.6282 GB, free: 45.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005593/1.292, allocations: 378.8 kB / 0.6286 GB, free: 44.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000775/1.293, allocations: 363.6 kB / 0.6289 GB, free: 44.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.boxColor[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 (736): * Single equations (assignments): 733 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008204/1.293, allocations: 0.5597 MB / 0.6295 GB, free: 44.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005477/1.294, allocations: 335.7 kB / 0.6298 GB, free: 43.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/1.296, allocations: 1.212 MB / 0.631 GB, free: 42.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.421e-05/1.296, allocations: 20.86 kB / 0.631 GB, free: 42.63 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/1.296, allocations: 3.938 kB / 0.631 GB, free: 42.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/1.296, allocations: 3.797 kB / 0.631 GB, free: 42.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/1.307, allocations: 5.724 MB / 0.6366 GB, free: 37.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-05/1.307, allocations: 19.94 kB / 0.6366 GB, free: 37.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/1.308, allocations: 284.2 kB / 0.6369 GB, free: 37.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.323e-05/1.308, allocations: 28 kB / 0.6369 GB, free: 37.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/1.308, allocations: 48.94 kB / 0.637 GB, free: 37.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.921e-05/1.308, allocations: 39.53 kB / 0.637 GB, free: 37.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.816e-05/1.308, allocations: 31.88 kB / 0.637 GB, free: 37.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004569/1.313, allocations: 5.331 MB / 0.6422 GB, free: 31.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/1.314, allocations: 425.7 kB / 0.6426 GB, free: 31.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005696/1.315, allocations: 51.33 kB / 0.6427 GB, free: 31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/1.316, allocations: 85.05 kB / 0.6428 GB, free: 30.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/1.317, allocations: 152.2 kB / 0.6429 GB, free: 30.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/1.317, allocations: 71.67 kB / 0.643 GB, free: 30.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004133/1.321, allocations: 2.367 MB / 0.6453 GB, free: 28.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.14e-07/1.321, allocations: 0 / 0.6453 GB, free: 28.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005914/1.327, allocations: 0.8888 MB / 0.6462 GB, free: 27.81 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 84 * Number of states: 4 (p1.s,p1.v,p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 141 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004532/1.327, allocations: 203.3 kB / 0.6464 GB, free: 27.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006243/1.334, allocations: 3.324 MB / 0.6496 GB, free: 24.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/1.334, allocations: 0 / 0.6496 GB, free: 24.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/1.335, allocations: 0.6999 MB / 0.6503 GB, free: 23.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/1.338, allocations: 427.2 kB / 0.6507 GB, free: 23.58 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/1.351, allocations: 6.975 MB / 0.6575 GB, free: 17.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004388/1.356, allocations: 3.183 MB / 0.6606 GB, free: 14.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005776/1.362, allocations: 1.773 MB / 0.6623 GB, free: 13.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007916/1.362, allocations: 231.4 kB / 0.6626 GB, free: 13.29 MB / 442.7 MB Notification: Performance of SimCode: time 2.002e-06/1.362, allocations: 4 kB / 0.6626 GB, free: 13.29 MB / 442.7 MB Notification: Performance of Templates: time 0.07652/1.439, allocations: 25.1 MB / 0.6871 GB, free: 8.477 MB / 458.7 MB