Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 1.914/1.914, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.729e-05/2.738e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08271/0.08276, allocations: 47.58 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3565/0.4393, allocations: 97.66 MB / 414.6 MB, free: 6.707 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.4396, allocations: 87.33 kB / 414.7 MB, free: 6.664 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3481/0.7878, allocations: 73.16 MB / 487.8 MB, free: 4.234 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.56e-06/0.7878, allocations: 0 / 487.8 MB, free: 4.234 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001682/0.788, allocations: 68 kB / 487.9 MB, free: 4.168 MB / 394.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.008453/0.7964, allocations: 3.396 MB / 491.3 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.7965, allocations: 12.03 kB / 491.3 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.8085, allocations: 2.082 MB / 493.4 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/0.8216, allocations: 4.053 MB / 497.5 MB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003191/0.822, allocations: 262.9 kB / 497.7 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/0.8233, allocations: 351.8 kB / 498.1 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02071/0.844, allocations: 8.884 MB / 0.4951 GB, free: 16 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001933/0.8442, allocations: 55.58 kB / 0.4951 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007408/0.845, allocations: 175.9 kB / 0.4953 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001697/0.8467, allocations: 0.8955 MB / 0.4962 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01835/0.8651, allocations: 6.994 MB / 0.503 GB, free: 7.883 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3134/1.179, allocations: 42.95 MB / 0.5449 GB, free: 72.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009373/1.188, allocations: 3.273 MB / 0.5481 GB, free: 71.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002347/1.19, allocations: 1.438 MB / 0.5495 GB, free: 71.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007375/1.198, allocations: 4.427 MB / 0.5539 GB, free: 69.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.198, allocations: 53.39 kB / 0.5539 GB, free: 69.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=121): time 5.236e-06/1.198, allocations: 0 / 0.5539 GB, free: 69.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=129): time 0.0293/1.227, allocations: 9.648 MB / 0.5633 GB, free: 67.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/1.227, allocations: 136.9 kB / 0.5635 GB, free: 66.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005375/1.233, allocations: 3.308 MB / 0.5667 GB, free: 66.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/1.233, allocations: 42.48 kB / 0.5667 GB, free: 66.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/1.234, allocations: 2.752 MB / 0.5694 GB, free: 65.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004432/1.235, allocations: 0.5257 MB / 0.5699 GB, free: 64.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/1.235, allocations: 101.7 kB / 0.57 GB, free: 64.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003039/1.235, allocations: 0.529 MB / 0.5705 GB, free: 64.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002889/1.238, allocations: 1.648 MB / 0.5722 GB, free: 64.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004176/1.243, allocations: 5.027 MB / 0.5771 GB, free: 59.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004568/1.247, allocations: 2.868 MB / 0.5799 GB, free: 58.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.077e-05/1.247, allocations: 36 kB / 0.5799 GB, free: 58.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01197/1.259, allocations: 6.27 MB / 0.586 GB, free: 56.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.579e-05/1.259, allocations: 55.19 kB / 0.5861 GB, free: 56.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/1.259, allocations: 128.1 kB / 0.5862 GB, free: 56.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007123/1.26, allocations: 334.2 kB / 0.5865 GB, free: 56.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005001/1.265, allocations: 1.283 MB / 0.5878 GB, free: 56.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/1.268, allocations: 2.302 MB / 0.59 GB, free: 55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0048/1.273, allocations: 282 kB / 0.5903 GB, free: 54.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006082/1.273, allocations: 337.8 kB / 0.5906 GB, free: 54.86 MB / 426.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.0008162/1.274, allocations: 0.5144 MB / 0.5911 GB, free: 54.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005507/1.275, allocations: 315.9 kB / 0.5914 GB, free: 54.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005649/1.28, allocations: 2.341 MB / 0.5937 GB, free: 53.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.92e-05/1.28, allocations: 14.2 kB / 0.5937 GB, free: 53.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/1.28, allocations: 7.531 kB / 0.5937 GB, free: 53.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.127e-05/1.28, allocations: 13.83 kB / 0.5937 GB, free: 53.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/1.295, allocations: 5.94 MB / 0.5995 GB, free: 51.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/1.295, allocations: 0 / 0.5995 GB, free: 51.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.296, allocations: 173.9 kB / 0.5997 GB, free: 51.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002906/1.299, allocations: 0.7097 MB / 0.6004 GB, free: 51.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/1.299, allocations: 25.7 kB / 0.6004 GB, free: 51.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006991/1.306, allocations: 4.435 MB / 0.6047 GB, free: 48.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.187e-06/1.307, allocations: 3.562 kB / 0.6047 GB, free: 48.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008153/1.315, allocations: 4.429 MB / 0.6091 GB, free: 46.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/1.316, allocations: 0.5359 MB / 0.6096 GB, free: 46.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004358/1.317, allocations: 22.41 kB / 0.6096 GB, free: 46.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/1.318, allocations: 74.55 kB / 0.6097 GB, free: 46.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/1.318, allocations: 65.34 kB / 0.6097 GB, free: 46.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/1.319, allocations: 40.92 kB / 0.6098 GB, free: 46.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004056/1.323, allocations: 2.289 MB / 0.612 GB, free: 45.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.94e-07/1.323, allocations: 0 / 0.612 GB, free: 45.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005269/1.328, allocations: 0.8206 MB / 0.6128 GB, free: 44.36 MB / 426.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.0003724/1.328, allocations: 170.4 kB / 0.613 GB, free: 44.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00644/1.335, allocations: 3.787 MB / 0.6167 GB, free: 40.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.363e-06/1.335, allocations: 4.062 kB / 0.6167 GB, free: 40.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00167/1.337, allocations: 1.072 MB / 0.6177 GB, free: 39.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/1.339, allocations: 352.7 kB / 0.6181 GB, free: 39.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/1.35, allocations: 5.898 MB / 0.6238 GB, free: 34.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00334/1.353, allocations: 2.866 MB / 0.6266 GB, free: 32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004883/1.358, allocations: 1.661 MB / 0.6283 GB, free: 30.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000893/1.359, allocations: 203.1 kB / 0.6284 GB, free: 30.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.786e-06/1.359, allocations: 0 / 0.6284 GB, free: 30.76 MB / 426.7 MB Notification: Performance of Templates: time 0.07737/1.436, allocations: 28.58 MB / 0.6564 GB, free: 6.668 MB / 426.7 MB