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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") Notification: Performance of loadModel(Modelica): time 2.084/2.084, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.84e-05/3.857e-05, allocations: 7.984 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09177, allocations: 47.57 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3884/0.4803, allocations: 94.84 MB / 411.8 MB, free: 9.539 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.4806, allocations: 94.5 kB / 411.9 MB, free: 9.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3562/0.8368, allocations: 85.02 MB / 496.9 MB, free: 11.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.8369, allocations: 0 / 496.9 MB, free: 11.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002334/0.8371, allocations: 76 kB / 497 MB, free: 11.05 MB / 410.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.01217/0.8493, allocations: 3.826 MB / 0.4891 GB, free: 7.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.8494, allocations: 12.03 kB / 0.4891 GB, free: 7.148 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01977/0.8691, allocations: 2.443 MB / 0.4915 GB, free: 4.695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0277/0.8969, allocations: 5.074 MB / 0.4964 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007199/0.8977, allocations: 316.2 kB / 0.4967 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002708/0.9004, allocations: 411.8 kB / 0.4971 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04222/0.9427, allocations: 9.881 MB / 0.5068 GB, free: 3.895 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003731/0.9431, allocations: 63.41 kB / 0.5068 GB, free: 3.832 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002392/0.9455, allocations: 203.9 kB / 0.507 GB, free: 3.633 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00385/0.9495, allocations: 1.006 MB / 0.508 GB, free: 2.617 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2908/1.24, allocations: 7.455 MB / 0.5153 GB, free: 98.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05128/1.292, allocations: 45.7 MB / 0.5599 GB, free: 68.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008221/1.3, allocations: 2.819 MB / 0.5626 GB, free: 67.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/1.302, allocations: 0.8467 MB / 0.5635 GB, free: 67.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00763/1.309, allocations: 3.829 MB / 0.5672 GB, free: 66.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/1.309, allocations: 48.84 kB / 0.5673 GB, free: 66.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=134): time 6.279e-06/1.309, allocations: 0 / 0.5673 GB, free: 66.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=152): time 0.02666/1.336, allocations: 8.436 MB / 0.5755 GB, free: 62.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/1.336, allocations: 144.7 kB / 0.5756 GB, free: 62.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006266/1.343, allocations: 3.458 MB / 0.579 GB, free: 61.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002068/1.343, allocations: 44.83 kB / 0.5791 GB, free: 61.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002031/1.345, allocations: 3.104 MB / 0.5821 GB, free: 59.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000585/1.345, allocations: 0.6071 MB / 0.5827 GB, free: 58.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003321/1.346, allocations: 115.4 kB / 0.5828 GB, free: 58.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003341/1.346, allocations: 0.5502 MB / 0.5833 GB, free: 58.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002908/1.349, allocations: 1.486 MB / 0.5848 GB, free: 57.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00484/1.354, allocations: 5.184 MB / 0.5898 GB, free: 52.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005015/1.359, allocations: 2.783 MB / 0.5926 GB, free: 51.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/1.359, allocations: 41 kB / 0.5926 GB, free: 51.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01402/1.373, allocations: 6.082 MB / 0.5985 GB, free: 49.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/1.373, allocations: 61.72 kB / 0.5986 GB, free: 49.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001396/1.373, allocations: 132.7 kB / 0.5987 GB, free: 49.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002124/1.374, allocations: 194.9 kB / 0.5989 GB, free: 49.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005703/1.379, allocations: 1.396 MB / 0.6003 GB, free: 49.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002164/1.38, allocations: 263.5 kB / 0.6005 GB, free: 49.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005998/1.386, allocations: 375.8 kB / 0.6009 GB, free: 48.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/1.387, allocations: 363.5 kB / 0.6012 GB, free: 48.88 MB / 426.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.000939/1.388, allocations: 0.5706 MB / 0.6018 GB, free: 48.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006872/1.388, allocations: 341.3 kB / 0.6021 GB, free: 48.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/1.391, allocations: 1.21 MB / 0.6033 GB, free: 47.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.949e-05/1.391, allocations: 17.91 kB / 0.6033 GB, free: 47.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.391, allocations: 0 / 0.6033 GB, free: 47.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/1.391, allocations: 7.688 kB / 0.6033 GB, free: 47.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/1.403, allocations: 5.739 MB / 0.6089 GB, free: 45.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.283e-05/1.403, allocations: 18.28 kB / 0.6089 GB, free: 45.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/1.404, allocations: 282.9 kB / 0.6092 GB, free: 45.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.485e-05/1.404, allocations: 25.75 kB / 0.6092 GB, free: 45.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/1.405, allocations: 50.31 kB / 0.6093 GB, free: 45.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.99e-05/1.405, allocations: 40.2 kB / 0.6093 GB, free: 45.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.987e-05/1.405, allocations: 28.31 kB / 0.6093 GB, free: 45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004882/1.41, allocations: 5.341 MB / 0.6146 GB, free: 39.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/1.411, allocations: 0.5193 MB / 0.6151 GB, free: 39.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005279/1.412, allocations: 59.47 kB / 0.6151 GB, free: 39.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/1.414, allocations: 87.44 kB / 0.6152 GB, free: 39.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002705/1.414, allocations: 147.2 kB / 0.6154 GB, free: 39.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/1.414, allocations: 68 kB / 0.6154 GB, free: 39.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005068/1.419, allocations: 2.388 MB / 0.6177 GB, free: 36.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.309e-06/1.419, allocations: 7.938 kB / 0.6178 GB, free: 36.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006576/1.426, allocations: 0.8841 MB / 0.6186 GB, free: 36.05 MB / 426.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.0005555/1.427, allocations: 205.7 kB / 0.6188 GB, free: 35.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006497/1.433, allocations: 3.321 MB / 0.6221 GB, free: 32.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.759e-05/1.433, allocations: 4 kB / 0.6221 GB, free: 32.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/1.435, allocations: 0.7031 MB / 0.6227 GB, free: 32.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/1.437, allocations: 414.4 kB / 0.6231 GB, free: 31.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/1.453, allocations: 6.999 MB / 0.63 GB, free: 25.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005887/1.459, allocations: 3.2 MB / 0.6331 GB, free: 22.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006303/1.465, allocations: 1.774 MB / 0.6348 GB, free: 21.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008447/1.466, allocations: 226.7 kB / 0.6351 GB, free: 21.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.834e-06/1.466, allocations: 3.938 kB / 0.6351 GB, free: 21.51 MB / 426.7 MB Notification: Performance of Templates: time 0.07576/1.542, allocations: 25.18 MB / 0.6596 GB, free: 1.734 MB / 426.7 MB