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.686/1.686, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.091e-05/4.098e-05, allocations: 4 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09281/0.09289, allocations: 38.77 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.04146/0.1344, allocations: 27.28 MB / 294.2 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2432/0.3777, allocations: 6.761 MB / 301 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006837/0.3845, allocations: 147.8 kB / 301.1 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005378/0.39, allocations: 1.383 MB / 302.5 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01582/0.4058, allocations: 3.945 MB / 306.4 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.4088, allocations: 0.4888 MB / 306.9 MB, free: 3.703 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004411/0.4133, allocations: 1.365 MB / 308.3 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00576/0.4191, allocations: 2.593 MB / 310.9 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.4217, allocations: 0.6791 MB / 311.6 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.4245, allocations: 1.024 MB / 312.6 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/0.4274, allocations: 0.8075 MB / 313.4 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009641/0.4284, allocations: 103.1 kB / 313.5 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001897/0.4303, allocations: 1.221 MB / 314.7 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.4316, allocations: 216.5 kB / 314.9 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008305/0.4399, allocations: 4.512 MB / 319.4 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.44, allocations: 1.781 kB / 319.4 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.44, allocations: 64 / 319.4 MB, free: 0 / 250.7 MB Notification: Performance of Transformations before backend: time 0.00025/0.4402, allocations: 0 / 319.4 MB, free: 0 / 250.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.01101/0.4513, allocations: 3.306 MB / 322.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.4513, allocations: 8.344 kB / 322.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01326/0.4646, allocations: 2.099 MB / 324.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006209/0.4709, allocations: 2.137 MB / 327 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/0.4711, allocations: 190.8 kB / 327.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001074/0.4722, allocations: 246.7 kB / 327.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02237/0.4946, allocations: 8.377 MB / 335.8 MB, free: 5.727 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001571/0.4948, allocations: 46.2 kB / 335.8 MB, free: 5.703 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006161/0.4954, allocations: 124.3 kB / 336 MB, free: 5.664 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004391/0.4998, allocations: 1.617 MB / 337.6 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02206/0.5219, allocations: 7.044 MB / 344.6 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07705/0.599, allocations: 33.88 MB / 378.5 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01267/0.6118, allocations: 3.159 MB / 381.7 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01034/0.6222, allocations: 4.048 MB / 385.7 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/0.6223, allocations: 49.02 kB / 385.8 MB, free: 5.066 MB / 314.7 MB Notification: Performance of pre-optimization done (n=114): time 7.604e-06/0.6223, allocations: 0 / 385.8 MB, free: 5.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.05126/0.6736, allocations: 11.59 MB / 397.4 MB, free: 9.273 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.452e-05/0.6737, allocations: 141 kB / 397.5 MB, free: 9.105 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008618/0.6823, allocations: 3.415 MB / 400.9 MB, free: 5.699 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003547/0.6827, allocations: 41.7 kB / 401 MB, free: 5.652 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00335/0.6861, allocations: 2.735 MB / 403.7 MB, free: 2.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009601/0.6871, allocations: 0.4972 MB / 404.2 MB, free: 2.426 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006935/0.6878, allocations: 104 kB / 404.3 MB, free: 2.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0005129/0.6884, allocations: 0.5251 MB / 404.8 MB, free: 1.793 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004981/0.6934, allocations: 1.665 MB / 406.5 MB, free: 124 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00846/0.7019, allocations: 5.046 MB / 411.5 MB, free: 9.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007417/0.7094, allocations: 2.854 MB / 414.4 MB, free: 6.508 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/0.7095, allocations: 32 kB / 414.4 MB, free: 6.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01942/0.729, allocations: 6.622 MB / 421 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.7291, allocations: 59.98 kB / 421.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002167/0.7294, allocations: 120 kB / 421.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.7305, allocations: 336.7 kB / 421.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00762/0.7382, allocations: 1.228 MB / 422.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004089/0.7423, allocations: 2.368 MB / 425.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005515/0.7479, allocations: 279.5 kB / 425.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/0.7491, allocations: 332 kB / 425.7 MB, free: 11 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.00502/0.7542, allocations: 1.736 MB / 427.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008751/0.755, allocations: 308 kB / 427.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008503/0.7636, allocations: 2.335 MB / 430.1 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.757e-05/0.7637, allocations: 19.95 kB / 430.1 MB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.7637, allocations: 0 / 430.1 MB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.298e-05/0.7638, allocations: 7.984 kB / 430.1 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01999/0.7838, allocations: 5.856 MB / 436 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-05/0.7838, allocations: 0 / 436 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/0.7855, allocations: 163.8 kB / 436.1 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2274/1.013, allocations: 0.7101 MB / 436.9 MB, free: 121.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002979/1.013, allocations: 21.06 kB / 436.9 MB, free: 121.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/1.023, allocations: 4.574 MB / 441.4 MB, free: 120.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.936e-06/1.023, allocations: 13.09 kB / 441.5 MB, free: 120.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/1.035, allocations: 4.394 MB / 445.9 MB, free: 118.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001853/1.037, allocations: 0.5336 MB / 446.4 MB, free: 118.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000786/1.038, allocations: 17.41 kB / 446.4 MB, free: 118.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/1.04, allocations: 68.11 kB / 446.5 MB, free: 118.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/1.04, allocations: 66.89 kB / 446.5 MB, free: 118.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/1.04, allocations: 37.81 kB / 446.6 MB, free: 118.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005791/1.046, allocations: 2.393 MB / 449 MB, free: 117.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.322e-06/1.046, allocations: 0 / 449 MB, free: 117.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005946/1.052, allocations: 0.8212 MB / 449.8 MB, free: 117.5 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.0006903/1.053, allocations: 168.1 kB / 450 MB, free: 117.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009052/1.062, allocations: 3.963 MB / 453.9 MB, free: 116.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.062, allocations: 0 / 453.9 MB, free: 116.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002241/1.064, allocations: 1.096 MB / 455 MB, free: 115.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/1.067, allocations: 350.5 kB / 455.4 MB, free: 115.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/1.085, allocations: 8.48 MB / 463.8 MB, free: 111.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004434/1.09, allocations: 2.828 MB / 466.7 MB, free: 110 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.006862/1.097, allocations: 1.647 MB / 468.3 MB, free: 109.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/1.098, allocations: 208.1 kB / 468.5 MB, free: 109.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.693e-06/1.098, allocations: 0 / 468.5 MB, free: 109.9 MB / 362.7 MB Notification: Performance of Templates: time 0.08241/1.18, allocations: 29.03 MB / 497.5 MB, free: 81.41 MB / 362.7 MB