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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 1.623/1.623, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.847e-05, allocations: 4 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2938, allocations: 38.77 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.4294, allocations: 85.18 MB / 349 MB, free: 4.508 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.4297, allocations: 83.95 kB / 349 MB, free: 4.426 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5246/0.9542, allocations: 71.7 MB / 420.7 MB, free: 52.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.599e-06/0.9543, allocations: 0 / 420.7 MB, free: 52.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001659/0.9545, allocations: 64 kB / 420.8 MB, free: 52.85 MB / 314.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.008929/0.9634, allocations: 3.342 MB / 424.1 MB, free: 49.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.9635, allocations: 12.03 kB / 424.2 MB, free: 49.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.9742, allocations: 2.09 MB / 426.2 MB, free: 47.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.9856, allocations: 4.014 MB / 430.3 MB, free: 43.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/0.9859, allocations: 262.8 kB / 430.5 MB, free: 43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/0.9873, allocations: 339.8 kB / 430.9 MB, free: 42.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01797/1.005, allocations: 8.753 MB / 439.6 MB, free: 32.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001783/1.006, allocations: 59.48 kB / 439.7 MB, free: 32.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001007/1.007, allocations: 175.9 kB / 439.8 MB, free: 32.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001315/1.008, allocations: 0.8604 MB / 440.7 MB, free: 31.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01525/1.023, allocations: 6.896 MB / 447.6 MB, free: 24.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05111/1.074, allocations: 42.61 MB / 490.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009555/1.084, allocations: 3.145 MB / 493.3 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002712/1.087, allocations: 1.412 MB / 494.8 MB, free: 8.168 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008642/1.095, allocations: 4.081 MB / 498.8 MB, free: 3.934 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/1.095, allocations: 47.06 kB / 498.9 MB, free: 3.879 MB / 346.7 MB Notification: Performance of pre-optimization done (n=114): time 5.045e-06/1.095, allocations: 0 / 498.9 MB, free: 3.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.2378/1.333, allocations: 9.384 MB / 0.4964 GB, free: 85.44 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/1.333, allocations: 136.8 kB / 0.4965 GB, free: 85.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006121/1.34, allocations: 3.28 MB / 0.4997 GB, free: 84.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002321/1.34, allocations: 42.73 kB / 0.4997 GB, free: 84.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001814/1.342, allocations: 2.727 MB / 0.5024 GB, free: 83.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005554/1.342, allocations: 0.5031 MB / 0.5029 GB, free: 83.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003669/1.343, allocations: 106.4 kB / 0.503 GB, free: 83.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003204/1.343, allocations: 0.5184 MB / 0.5035 GB, free: 82.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003152/1.346, allocations: 1.631 MB / 0.5051 GB, free: 82.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005082/1.351, allocations: 4.994 MB / 0.51 GB, free: 78.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005251/1.357, allocations: 2.844 MB / 0.5127 GB, free: 78.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/1.357, allocations: 36.02 kB / 0.5128 GB, free: 78.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01455/1.371, allocations: 6.209 MB / 0.5188 GB, free: 77.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.507e-05/1.371, allocations: 63.22 kB / 0.5189 GB, free: 77.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001321/1.372, allocations: 119.7 kB / 0.519 GB, free: 77.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007601/1.372, allocations: 342.1 kB / 0.5193 GB, free: 77.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005418/1.378, allocations: 1.272 MB / 0.5206 GB, free: 77.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/1.381, allocations: 2.349 MB / 0.5229 GB, free: 75.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005283/1.386, allocations: 276.4 kB / 0.5231 GB, free: 75.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009324/1.387, allocations: 335.2 kB / 0.5235 GB, free: 75.33 MB / 346.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.0008561/1.388, allocations: 0.5086 MB / 0.524 GB, free: 74.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006867/1.388, allocations: 310.2 kB / 0.5242 GB, free: 74.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005398/1.394, allocations: 2.308 MB / 0.5265 GB, free: 73.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.071e-05/1.394, allocations: 11.84 kB / 0.5265 GB, free: 73.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/1.394, allocations: 9.297 kB / 0.5265 GB, free: 73.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/1.394, allocations: 14.64 kB / 0.5265 GB, free: 73.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/1.408, allocations: 5.82 MB / 0.5322 GB, free: 71.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/1.409, allocations: 1.812 kB / 0.5322 GB, free: 71.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/1.41, allocations: 170 kB / 0.5324 GB, free: 71.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004322/1.414, allocations: 0.7115 MB / 0.5331 GB, free: 71.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004581/1.415, allocations: 23.44 kB / 0.5331 GB, free: 71.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/1.43, allocations: 4.44 MB / 0.5374 GB, free: 69.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.43, allocations: 0 / 0.5374 GB, free: 69.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01978/1.45, allocations: 4.369 MB / 0.5417 GB, free: 65.47 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003037/1.453, allocations: 0.5278 MB / 0.5422 GB, free: 64.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00121/1.454, allocations: 19.95 kB / 0.5422 GB, free: 64.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003864/1.458, allocations: 67.44 kB / 0.5423 GB, free: 64.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004986/1.459, allocations: 64.75 kB / 0.5424 GB, free: 64.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002894/1.459, allocations: 32 kB / 0.5424 GB, free: 64.83 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.008939/1.468, allocations: 2.273 MB / 0.5446 GB, free: 62.83 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.785e-06/1.468, allocations: 0 / 0.5446 GB, free: 62.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0128/1.481, allocations: 0.8122 MB / 0.5454 GB, free: 62.03 MB / 346.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.0009399/1.482, allocations: 161.3 kB / 0.5456 GB, free: 61.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01407/1.496, allocations: 3.727 MB / 0.5492 GB, free: 58.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.685e-06/1.496, allocations: 0 / 0.5492 GB, free: 58.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/1.498, allocations: 1.068 MB / 0.5502 GB, free: 57.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/1.5, allocations: 358.9 kB / 0.5506 GB, free: 57.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/1.513, allocations: 5.799 MB / 0.5562 GB, free: 52.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004352/1.517, allocations: 2.832 MB / 0.559 GB, free: 49.83 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005404/1.523, allocations: 1.646 MB / 0.5606 GB, free: 48.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009878/1.524, allocations: 201.9 kB / 0.5608 GB, free: 48.61 MB / 346.7 MB Notification: Performance of SimCode: time 2.187e-06/1.524, allocations: 0 / 0.5608 GB, free: 48.61 MB / 346.7 MB Notification: Performance of Templates: time 0.07444/1.598, allocations: 28.19 MB / 0.5883 GB, free: 23.9 MB / 346.7 MB