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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 1.847/1.847, allocations: 194.9 MB / 208 MB, free: 3.188 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.82e-05/3.8e-05, allocations: 0 / 255.4 MB, free: 2.719 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 44.5 MB / 299.9 MB, free: 6.152 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3545/0.4547, allocations: 90.91 MB / 390.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.455, allocations: 85.83 kB / 390.9 MB, free: 19.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2574/0.7124, allocations: 71.69 MB / 462.6 MB, free: 9.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.439e-06/0.7124, allocations: 0 / 462.6 MB, free: 9.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002095/0.7126, allocations: 72 kB / 462.6 MB, free: 9.441 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01086/0.7235, allocations: 3.349 MB / 466 MB, free: 6.031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.7236, allocations: 8.031 kB / 466 MB, free: 6.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02151/0.7451, allocations: 2.082 MB / 468.1 MB, free: 3.934 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02257/0.7677, allocations: 4.018 MB / 472.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005094/0.7683, allocations: 258.7 kB / 472.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001987/0.7703, allocations: 343.8 kB / 472.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03494/0.8053, allocations: 8.752 MB / 481.4 MB, free: 5.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002572/0.8056, allocations: 63.41 kB / 481.5 MB, free: 5.457 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008498/0.8065, allocations: 171.9 kB / 481.7 MB, free: 5.289 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001628/0.8081, allocations: 0.8643 MB / 482.5 MB, free: 4.426 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0179/0.826, allocations: 6.892 MB / 489.4 MB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3732/1.199, allocations: 42.59 MB / 0.5195 GB, free: 55.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01491/1.214, allocations: 3.149 MB / 0.5226 GB, free: 54.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002719/1.217, allocations: 1.412 MB / 0.524 GB, free: 54.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007282/1.224, allocations: 4.085 MB / 0.528 GB, free: 52.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/1.224, allocations: 46.94 kB / 0.528 GB, free: 52.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 4.917e-06/1.224, allocations: 2.297 kB / 0.528 GB, free: 52.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.02567/1.25, allocations: 9.388 MB / 0.5372 GB, free: 50.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/1.25, allocations: 144 kB / 0.5373 GB, free: 50.24 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005082/1.255, allocations: 3.273 MB / 0.5405 GB, free: 49.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/1.255, allocations: 41.92 kB / 0.5406 GB, free: 49.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001513/1.257, allocations: 2.729 MB / 0.5432 GB, free: 48.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004671/1.257, allocations: 0.5033 MB / 0.5437 GB, free: 48.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/1.258, allocations: 105.4 kB / 0.5438 GB, free: 48.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002899/1.258, allocations: 0.5224 MB / 0.5443 GB, free: 47.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002741/1.261, allocations: 1.628 MB / 0.5459 GB, free: 47.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004074/1.265, allocations: 4.995 MB / 0.5508 GB, free: 43.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004464/1.269, allocations: 2.843 MB / 0.5536 GB, free: 43.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.953e-05/1.27, allocations: 37.28 kB / 0.5536 GB, free: 43.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01252/1.282, allocations: 6.209 MB / 0.5597 GB, free: 42.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.724e-05/1.282, allocations: 61.78 kB / 0.5597 GB, free: 42.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/1.282, allocations: 124.1 kB / 0.5599 GB, free: 42.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00073/1.283, allocations: 339.2 kB / 0.5602 GB, free: 42.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005031/1.288, allocations: 1.267 MB / 0.5614 GB, free: 42.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/1.291, allocations: 2.345 MB / 0.5637 GB, free: 40.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004792/1.295, allocations: 284.1 kB / 0.564 GB, free: 40.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007376/1.296, allocations: 332.3 kB / 0.5643 GB, free: 40.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (656): * Single equations (assignments): 652 * 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.0007783/1.297, allocations: 0.5145 MB / 0.5648 GB, free: 40.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005605/1.298, allocations: 300.6 kB / 0.5651 GB, free: 40.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005072/1.303, allocations: 2.318 MB / 0.5674 GB, free: 39.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.94e-05/1.303, allocations: 18.3 kB / 0.5674 GB, free: 39.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.303, allocations: 3.969 kB / 0.5674 GB, free: 39.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/1.303, allocations: 6.391 kB / 0.5674 GB, free: 39.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/1.315, allocations: 5.823 MB / 0.5731 GB, free: 37.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/1.315, allocations: 7.922 kB / 0.5731 GB, free: 37.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009957/1.316, allocations: 162 kB / 0.5732 GB, free: 37.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002488/1.319, allocations: 0.7127 MB / 0.5739 GB, free: 37.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/1.319, allocations: 22.06 kB / 0.5739 GB, free: 37.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006363/1.325, allocations: 4.44 MB / 0.5783 GB, free: 34.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.243e-06/1.326, allocations: 2.625 kB / 0.5783 GB, free: 34.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007304/1.333, allocations: 4.354 MB / 0.5825 GB, free: 32.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/1.334, allocations: 0.5354 MB / 0.5831 GB, free: 32.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005104/1.335, allocations: 19.25 kB / 0.5831 GB, free: 32.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/1.336, allocations: 71.08 kB / 0.5831 GB, free: 32.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/1.336, allocations: 60.44 kB / 0.5832 GB, free: 32.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/1.337, allocations: 37.41 kB / 0.5832 GB, free: 32.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004082/1.341, allocations: 2.27 MB / 0.5855 GB, free: 31.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.07e-06/1.341, allocations: 4 kB / 0.5855 GB, free: 31.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005573/1.346, allocations: 0.8113 MB / 0.5863 GB, free: 31.47 MB / 394.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 (90): * Single equations (assignments): 86 * 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.0004273/1.347, allocations: 158.5 kB / 0.5864 GB, free: 31.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006555/1.353, allocations: 3.739 MB / 0.5901 GB, free: 28.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.571e-06/1.353, allocations: 4.062 kB / 0.5901 GB, free: 28.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001643/1.355, allocations: 1.059 MB / 0.5911 GB, free: 27.97 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003059/1.358, allocations: 355.1 kB / 0.5914 GB, free: 27.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/1.377, allocations: 5.801 MB / 0.5971 GB, free: 22.47 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006305/1.384, allocations: 2.828 MB / 0.5999 GB, free: 20.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0103/1.394, allocations: 1.646 MB / 0.6015 GB, free: 19.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/1.396, allocations: 209.3 kB / 0.6017 GB, free: 19.07 MB / 394.7 MB Notification: Performance of SimCode: time 3.835e-06/1.396, allocations: 0 / 0.6017 GB, free: 19.07 MB / 394.7 MB Notification: Performance of Templates: time 0.07452/1.471, allocations: 28.17 MB / 0.6292 GB, free: 12.98 MB / 410.7 MB