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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 2.232/2.232, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.14e-05/3.146e-05, allocations: 3.906 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3113, allocations: 44.51 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.04316/0.3545, allocations: 27.29 MB / 330.6 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02044/0.375, allocations: 6.79 MB / 337.4 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006435/0.3815, allocations: 143.6 kB / 337.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005101/0.3866, allocations: 1.38 MB / 338.9 MB, free: 10.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01618/0.4029, allocations: 3.942 MB / 342.8 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002837/0.4058, allocations: 487.1 kB / 343.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004301/0.4101, allocations: 1.376 MB / 344.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005547/0.4157, allocations: 2.588 MB / 347.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.4175, allocations: 0.6857 MB / 348 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002484/0.4201, allocations: 1.032 MB / 349 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.4227, allocations: 0.7919 MB / 349.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009156/0.4237, allocations: 104 kB / 349.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002063/0.4258, allocations: 1.219 MB / 351.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009796/0.4268, allocations: 216 kB / 351.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007298/0.4341, allocations: 4.44 MB / 355.8 MB, free: 9.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4342, allocations: 0 / 355.8 MB, free: 9.078 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4342, allocations: 4 kB / 355.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001929/0.4344, allocations: 0 / 355.8 MB, free: 9.074 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.0107/0.4451, allocations: 3.291 MB / 359.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4452, allocations: 8.031 kB / 359.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/0.4586, allocations: 2.105 MB / 361.2 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006238/0.4648, allocations: 2.123 MB / 363.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/0.4652, allocations: 192.7 kB / 363.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/0.4665, allocations: 251.8 kB / 363.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02305/0.4895, allocations: 8.377 MB / 372.1 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001599/0.4898, allocations: 43.59 kB / 372.2 MB, free: 7.895 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007273/0.4905, allocations: 115.9 kB / 372.3 MB, free: 7.781 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004411/0.4949, allocations: 1.625 MB / 373.9 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02232/0.5173, allocations: 7.039 MB / 380.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06188/0.5792, allocations: 33.88 MB / 414.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/0.5922, allocations: 3.149 MB / 418 MB, free: 8.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/0.6027, allocations: 4.058 MB / 422 MB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.6028, allocations: 47.06 kB / 422.1 MB, free: 4.648 MB / 362.7 MB Notification: Performance of pre-optimization done (n=114): time 5.34e-06/0.6028, allocations: 3.938 kB / 422.1 MB, free: 4.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.3118/0.9147, allocations: 11.58 MB / 433.6 MB, free: 105.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/0.9148, allocations: 144.8 kB / 433.8 MB, free: 105.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007483/0.9223, allocations: 3.419 MB / 437.2 MB, free: 104.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003235/0.9227, allocations: 42.77 kB / 437.3 MB, free: 104.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002355/0.925, allocations: 2.677 MB / 439.9 MB, free: 102.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008248/0.9259, allocations: 0.4996 MB / 440.4 MB, free: 101.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005321/0.9265, allocations: 99.38 kB / 440.5 MB, free: 101.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003533/0.9268, allocations: 0.5338 MB / 441.1 MB, free: 101.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004097/0.9309, allocations: 1.663 MB / 442.7 MB, free: 100.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006092/0.9371, allocations: 5.05 MB / 447.8 MB, free: 95.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006117/0.9432, allocations: 2.847 MB / 450.6 MB, free: 93.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.129e-05/0.9434, allocations: 36 kB / 450.7 MB, free: 93.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01629/0.9597, allocations: 6.508 MB / 457.2 MB, free: 86.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.242e-05/0.9598, allocations: 56 kB / 457.2 MB, free: 86.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000161/0.96, allocations: 129 kB / 457.3 MB, free: 86.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009904/0.961, allocations: 346 kB / 457.7 MB, free: 86.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006975/0.968, allocations: 1.224 MB / 458.9 MB, free: 85.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/0.9714, allocations: 2.36 MB / 461.3 MB, free: 82.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005447/0.9769, allocations: 284.4 kB / 461.5 MB, free: 82.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008697/0.9778, allocations: 329.1 kB / 461.9 MB, free: 82.07 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.003744/0.9816, allocations: 1.737 MB / 463.6 MB, free: 80.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007634/0.9824, allocations: 308 kB / 463.9 MB, free: 80.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007056/0.9894, allocations: 2.332 MB / 466.2 MB, free: 77.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.544e-05/0.9895, allocations: 16 kB / 466.2 MB, free: 77.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.9896, allocations: 4 kB / 466.3 MB, free: 77.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/0.9896, allocations: 3.984 kB / 466.3 MB, free: 77.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02253/1.012, allocations: 5.86 MB / 472.1 MB, free: 71.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.746e-05/1.012, allocations: 4 kB / 472.1 MB, free: 71.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002339/1.015, allocations: 167.7 kB / 472.3 MB, free: 71.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006382/1.021, allocations: 0.7069 MB / 473 MB, free: 70.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003711/1.021, allocations: 23.98 kB / 473 MB, free: 70.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02598/1.047, allocations: 4.573 MB / 477.6 MB, free: 66.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.048, allocations: 4.031 kB / 477.6 MB, free: 66.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02107/1.069, allocations: 4.401 MB / 482 MB, free: 61.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/1.07, allocations: 0.5243 MB / 482.5 MB, free: 61.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006381/1.071, allocations: 25.7 kB / 482.5 MB, free: 61.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/1.073, allocations: 64.94 kB / 482.6 MB, free: 61.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/1.073, allocations: 72.36 kB / 482.7 MB, free: 60.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/1.073, allocations: 32.55 kB / 482.7 MB, free: 60.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004743/1.078, allocations: 2.397 MB / 485.1 MB, free: 58.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.078, allocations: 0 / 485.1 MB, free: 58.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005603/1.084, allocations: 0.8226 MB / 485.9 MB, free: 57.75 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.0007195/1.084, allocations: 171.9 kB / 486.1 MB, free: 57.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009635/1.094, allocations: 3.959 MB / 490.1 MB, free: 53.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/1.094, allocations: 4 kB / 490.1 MB, free: 53.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002534/1.097, allocations: 1.103 MB / 491.2 MB, free: 52.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/1.1, allocations: 348.4 kB / 491.5 MB, free: 52.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/1.119, allocations: 8.87 MB / 0.4886 GB, free: 43.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004943/1.124, allocations: 2.838 MB / 0.4914 GB, free: 40.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/1.125, allocations: 243.4 kB / 0.4916 GB, free: 40.16 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/1.125, allocations: 0 / 0.4916 GB, free: 40.16 MB / 362.7 MB Notification: Performance of Templates: time 0.1396/1.265, allocations: 61.27 MB / 0.5515 GB, free: 10.78 MB / 394.7 MB