Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.719e-05/3.73e-05, allocations: 4 kB / 292.2 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09752/0.09758, allocations: 50.4 MB / 342.6 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5098/0.6075, allocations: 99.6 MB / 442.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.6078, allocations: 91.16 kB / 442.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.314/0.9218, allocations: 74.07 MB / 0.5042 GB, free: 4.594 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.153e-06/0.9218, allocations: 0 / 0.5042 GB, free: 4.594 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001705/0.922, allocations: 71.92 kB / 0.5043 GB, free: 4.523 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.008078/0.9301, allocations: 3.381 MB / 0.5076 GB, free: 1.082 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.9302, allocations: 8.031 kB / 0.5076 GB, free: 1.074 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/0.9417, allocations: 2.089 MB / 0.5096 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/0.9543, allocations: 3.897 MB / 0.5134 GB, free: 11.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003175/0.9546, allocations: 266.9 kB / 0.5137 GB, free: 10.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001142/0.9558, allocations: 351.8 kB / 0.514 GB, free: 10.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02012/0.9759, allocations: 8.884 MB / 0.5227 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001635/0.9761, allocations: 55.47 kB / 0.5228 GB, free: 492 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000647/0.9768, allocations: 179.9 kB / 0.5229 GB, free: 312 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2485/1.225, allocations: 0.877 MB / 0.5238 GB, free: 104.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01739/1.243, allocations: 7.003 MB / 0.5306 GB, free: 104.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04538/1.288, allocations: 42.94 MB / 0.5726 GB, free: 76.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009095/1.297, allocations: 3.274 MB / 0.5758 GB, free: 75.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002242/1.3, allocations: 1.434 MB / 0.5772 GB, free: 74.83 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007455/1.307, allocations: 4.418 MB / 0.5815 GB, free: 72.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/1.307, allocations: 46.42 kB / 0.5815 GB, free: 72.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 5.318e-06/1.307, allocations: 0 / 0.5815 GB, free: 72.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.02851/1.336, allocations: 9.584 MB / 0.5909 GB, free: 68.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/1.336, allocations: 144.3 kB / 0.591 GB, free: 68.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005424/1.341, allocations: 3.283 MB / 0.5942 GB, free: 67.03 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002165/1.341, allocations: 50.23 kB / 0.5943 GB, free: 66.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001649/1.343, allocations: 2.753 MB / 0.597 GB, free: 64.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005256/1.344, allocations: 0.5226 MB / 0.5975 GB, free: 64.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/1.344, allocations: 98.94 kB / 0.5976 GB, free: 64.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003139/1.344, allocations: 0.5303 MB / 0.5981 GB, free: 64.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002962/1.347, allocations: 1.647 MB / 0.5997 GB, free: 63.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004294/1.352, allocations: 5.025 MB / 0.6046 GB, free: 58.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004906/1.357, allocations: 2.876 MB / 0.6074 GB, free: 57.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.117e-05/1.357, allocations: 33.44 kB / 0.6074 GB, free: 57.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01342/1.37, allocations: 6.272 MB / 0.6136 GB, free: 55.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.834e-05/1.37, allocations: 60.88 kB / 0.6136 GB, free: 55.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/1.37, allocations: 121.5 kB / 0.6137 GB, free: 55.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007199/1.371, allocations: 335.5 kB / 0.6141 GB, free: 55.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006437/1.378, allocations: 1.288 MB / 0.6153 GB, free: 54.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004387/1.382, allocations: 2.29 MB / 0.6175 GB, free: 53.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008998/1.391, allocations: 294.9 kB / 0.6178 GB, free: 53.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/1.392, allocations: 332.1 kB / 0.6181 GB, free: 53.14 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.00143/1.394, allocations: 0.5131 MB / 0.6186 GB, free: 52.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001357/1.395, allocations: 313.2 kB / 0.6189 GB, free: 52.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/1.408, allocations: 2.354 MB / 0.6212 GB, free: 50.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.643e-05/1.408, allocations: 16 kB / 0.6213 GB, free: 50.94 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.408, allocations: 4 kB / 0.6213 GB, free: 50.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.501e-05/1.408, allocations: 6.188 kB / 0.6213 GB, free: 50.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/1.421, allocations: 5.931 MB / 0.6271 GB, free: 46.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/1.421, allocations: 0 / 0.6271 GB, free: 46.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/1.423, allocations: 171.5 kB / 0.6272 GB, free: 46.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003494/1.426, allocations: 0.7078 MB / 0.6279 GB, free: 45.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002312/1.426, allocations: 24.97 kB / 0.6279 GB, free: 45.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006586/1.433, allocations: 4.44 MB / 0.6323 GB, free: 41.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.254e-06/1.433, allocations: 7.875 kB / 0.6323 GB, free: 41.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007764/1.441, allocations: 4.422 MB / 0.6366 GB, free: 37.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009614/1.442, allocations: 372 kB / 0.637 GB, free: 37.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004441/1.442, allocations: 24.81 kB / 0.637 GB, free: 37.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/1.444, allocations: 64.94 kB / 0.637 GB, free: 37.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/1.444, allocations: 76.09 kB / 0.6371 GB, free: 37.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/1.444, allocations: 32.78 kB / 0.6371 GB, free: 37.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003989/1.448, allocations: 2.286 MB / 0.6394 GB, free: 35.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.103e-06/1.448, allocations: 0 / 0.6394 GB, free: 35.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00515/1.453, allocations: 0.8314 MB / 0.6402 GB, free: 34.41 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.0003886/1.454, allocations: 163 kB / 0.6403 GB, free: 34.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006725/1.461, allocations: 3.784 MB / 0.644 GB, free: 30.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.615e-06/1.461, allocations: 4 kB / 0.644 GB, free: 30.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001704/1.462, allocations: 1.08 MB / 0.6451 GB, free: 29.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/1.465, allocations: 347.2 kB / 0.6454 GB, free: 29.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/1.477, allocations: 5.896 MB / 0.6512 GB, free: 24.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003557/1.48, allocations: 2.855 MB / 0.654 GB, free: 22.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004972/1.485, allocations: 1.664 MB / 0.6556 GB, free: 21.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007469/1.486, allocations: 214.7 kB / 0.6558 GB, free: 20.81 MB / 442.7 MB Notification: Performance of SimCode: time 1.676e-06/1.486, allocations: 0 / 0.6558 GB, free: 20.81 MB / 442.7 MB Notification: Performance of Templates: time 0.07987/1.566, allocations: 28.55 MB / 0.6837 GB, free: 10.2 MB / 458.7 MB