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.799/1.799, allocations: 194.9 MB / 210.6 MB, free: 9.32 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.553e-05/2.554e-05, allocations: 3.906 kB / 258.8 MB, free: 9.023 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2915, allocations: 44.51 MB / 303.3 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.04237/0.3339, allocations: 27.29 MB / 330.6 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01816/0.3521, allocations: 6.805 MB / 337.4 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005254/0.3574, allocations: 139.7 kB / 337.6 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004624/0.3621, allocations: 1.384 MB / 338.9 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01424/0.3764, allocations: 3.946 MB / 342.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.3789, allocations: 483.2 kB / 343.4 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003672/0.3826, allocations: 1.369 MB / 344.7 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004872/0.3875, allocations: 2.591 MB / 347.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.3887, allocations: 0.6701 MB / 348 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.3906, allocations: 1.028 MB / 349 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002079/0.3927, allocations: 0.8036 MB / 349.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005591/0.3933, allocations: 100 kB / 349.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001578/0.3949, allocations: 1.223 MB / 351.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008051/0.3957, allocations: 216 kB / 351.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006491/0.4022, allocations: 4.435 MB / 355.8 MB, free: 9.125 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4023, allocations: 0 / 355.8 MB, free: 9.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.047e-06/0.4023, allocations: 0 / 355.8 MB, free: 9.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001113/0.4024, allocations: 3.938 kB / 355.8 MB, free: 9.121 MB / 298.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.01012/0.4125, allocations: 3.301 MB / 359.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.4126, allocations: 8.031 kB / 359.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01306/0.4257, allocations: 2.101 MB / 361.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005749/0.4315, allocations: 2.131 MB / 363.3 MB, free: 1.449 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.4317, allocations: 188.7 kB / 363.5 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007444/0.4325, allocations: 247.8 kB / 363.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/0.4528, allocations: 8.377 MB / 372.1 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/0.453, allocations: 43.59 kB / 372.2 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005189/0.4536, allocations: 119.9 kB / 372.3 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004147/0.4577, allocations: 1.625 MB / 373.9 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02125/0.479, allocations: 7.043 MB / 381 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.056/0.535, allocations: 33.87 MB / 414.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/0.5473, allocations: 3.154 MB / 418 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009335/0.5566, allocations: 4.058 MB / 422 MB, free: 4.742 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/0.5567, allocations: 47.06 kB / 422.1 MB, free: 4.688 MB / 362.7 MB Notification: Performance of pre-optimization done (n=114): time 4.418e-06/0.5568, allocations: 0 / 422.1 MB, free: 4.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.2908/0.8475, allocations: 11.58 MB / 433.7 MB, free: 106 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.8477, allocations: 143 kB / 433.8 MB, free: 105.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006314/0.854, allocations: 3.421 MB / 437.2 MB, free: 104.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002836/0.8543, allocations: 41.42 kB / 437.3 MB, free: 104.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002045/0.8564, allocations: 2.734 MB / 440 MB, free: 102.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006772/0.8571, allocations: 0.4964 MB / 440.5 MB, free: 102.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003627/0.8575, allocations: 98.69 kB / 440.6 MB, free: 102 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002925/0.8578, allocations: 0.5319 MB / 441.1 MB, free: 101.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003658/0.8614, allocations: 1.667 MB / 442.8 MB, free: 101.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005267/0.8667, allocations: 5.05 MB / 447.9 MB, free: 95.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005843/0.8726, allocations: 2.849 MB / 450.7 MB, free: 93.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-05/0.8727, allocations: 36 kB / 450.7 MB, free: 93.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01549/0.8882, allocations: 6.612 MB / 457.3 MB, free: 86.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.374e-05/0.8884, allocations: 58.84 kB / 457.4 MB, free: 86.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/0.8885, allocations: 128 kB / 457.5 MB, free: 86.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008885/0.8894, allocations: 344.7 kB / 457.9 MB, free: 86.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006587/0.896, allocations: 1.225 MB / 459.1 MB, free: 84.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/0.8992, allocations: 2.363 MB / 461.5 MB, free: 82.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005053/0.9043, allocations: 279.7 kB / 461.7 MB, free: 82.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00074/0.9051, allocations: 328 kB / 462 MB, free: 81.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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 (654): * Single equations (assignments): 650 * 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.003467/0.9086, allocations: 1.741 MB / 463.8 MB, free: 80.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000698/0.9093, allocations: 312 kB / 464.1 MB, free: 79.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007115/0.9164, allocations: 2.328 MB / 466.4 MB, free: 77.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.753e-05/0.9165, allocations: 16 kB / 466.4 MB, free: 77.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.9165, allocations: 4 kB / 466.4 MB, free: 77.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.669e-05/0.9166, allocations: 3.984 kB / 466.4 MB, free: 77.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/0.9328, allocations: 5.857 MB / 472.3 MB, free: 71.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/0.9328, allocations: 7.094 kB / 472.3 MB, free: 71.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/0.9343, allocations: 167.7 kB / 472.5 MB, free: 71.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003716/0.9381, allocations: 0.7069 MB / 473.2 MB, free: 70.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000187/0.9383, allocations: 25.94 kB / 473.2 MB, free: 70.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008391/0.9467, allocations: 4.57 MB / 477.8 MB, free: 65.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.9467, allocations: 4.031 kB / 477.8 MB, free: 65.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/0.9569, allocations: 4.403 MB / 482.2 MB, free: 61.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001578/0.9585, allocations: 0.5281 MB / 482.7 MB, free: 60.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006612/0.9592, allocations: 25.47 kB / 482.7 MB, free: 60.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/0.9611, allocations: 67.91 kB / 482.8 MB, free: 60.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/0.9614, allocations: 68.36 kB / 482.9 MB, free: 60.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.9615, allocations: 32 kB / 482.9 MB, free: 60.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004633/0.9662, allocations: 2.397 MB / 485.3 MB, free: 58.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.9662, allocations: 0 / 485.3 MB, free: 58.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005289/0.9715, allocations: 0.8265 MB / 486.1 MB, free: 57.56 MB / 362.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.0006121/0.9722, allocations: 165.1 kB / 486.3 MB, free: 57.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008383/0.9806, allocations: 3.963 MB / 490.2 MB, free: 53.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.9806, allocations: 4 kB / 490.3 MB, free: 53.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002198/0.9828, allocations: 1.095 MB / 491.3 MB, free: 52.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/0.9855, allocations: 351.4 kB / 491.7 MB, free: 52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/1.002, allocations: 8.475 MB / 0.4884 GB, free: 43.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004184/1.006, allocations: 2.834 MB / 0.4912 GB, free: 40.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.006555/1.013, allocations: 1.638 MB / 0.4928 GB, free: 38.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/1.014, allocations: 207.4 kB / 0.493 GB, free: 38.78 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/1.014, allocations: 0 / 0.493 GB, free: 38.78 MB / 362.7 MB Notification: Performance of Templates: time 0.08079/1.094, allocations: 29.04 MB / 0.5214 GB, free: 9.805 MB / 362.7 MB