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 1.847/1.847, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.259e-05/4.278e-05, allocations: 3 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0935/0.09358, allocations: 44.51 MB / 299.9 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3449/0.4385, allocations: 90.91 MB / 390.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.4388, allocations: 88.66 kB / 390.9 MB, free: 19.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2638/0.7026, allocations: 71.68 MB / 462.5 MB, free: 10 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.49e-06/0.7027, allocations: 0 / 462.5 MB, free: 10 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002241/0.7029, allocations: 71.98 kB / 462.6 MB, free: 9.93 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.01296/0.7159, allocations: 3.349 MB / 466 MB, free: 6.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/0.716, allocations: 12.03 kB / 466 MB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01949/0.7355, allocations: 2.078 MB / 468.1 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01884/0.7544, allocations: 4.014 MB / 472.1 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000394/0.7548, allocations: 262.8 kB / 472.3 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/0.7565, allocations: 343.8 kB / 472.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02974/0.7863, allocations: 8.756 MB / 481.4 MB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003058/0.7866, allocations: 55.42 kB / 481.5 MB, free: 5.949 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001635/0.7883, allocations: 175.9 kB / 481.6 MB, free: 5.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002788/0.7911, allocations: 0.872 MB / 482.5 MB, free: 4.906 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01922/0.8104, allocations: 6.892 MB / 489.4 MB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2987/1.109, allocations: 42.59 MB / 0.5195 GB, free: 55.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009177/1.118, allocations: 3.149 MB / 0.5226 GB, free: 54.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002499/1.121, allocations: 1.413 MB / 0.524 GB, free: 54.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007958/1.129, allocations: 4.079 MB / 0.528 GB, free: 53.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/1.129, allocations: 48.36 kB / 0.528 GB, free: 53.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 5.533e-06/1.129, allocations: 0 / 0.528 GB, free: 53.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.02997/1.159, allocations: 9.387 MB / 0.5372 GB, free: 50.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/1.159, allocations: 147 kB / 0.5373 GB, free: 50.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005996/1.165, allocations: 3.273 MB / 0.5405 GB, free: 50.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002424/1.165, allocations: 46.73 kB / 0.5406 GB, free: 50.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/1.167, allocations: 2.67 MB / 0.5432 GB, free: 48.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005817/1.168, allocations: 0.4969 MB / 0.5436 GB, free: 48.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/1.168, allocations: 105.7 kB / 0.5437 GB, free: 48.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003249/1.168, allocations: 0.5258 MB / 0.5443 GB, free: 48.24 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/1.172, allocations: 1.628 MB / 0.5459 GB, free: 48.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004756/1.176, allocations: 4.992 MB / 0.5507 GB, free: 43.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005117/1.181, allocations: 2.851 MB / 0.5535 GB, free: 43.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001021/1.182, allocations: 35.59 kB / 0.5535 GB, free: 43.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01432/1.196, allocations: 6.11 MB / 0.5595 GB, free: 43.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/1.196, allocations: 59.78 kB / 0.5596 GB, free: 43.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001406/1.196, allocations: 121 kB / 0.5597 GB, free: 43.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000752/1.197, allocations: 345 kB / 0.56 GB, free: 43.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005351/1.202, allocations: 1.266 MB / 0.5613 GB, free: 43.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/1.205, allocations: 2.34 MB / 0.5635 GB, free: 41.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005382/1.21, allocations: 281.2 kB / 0.5638 GB, free: 41.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/1.211, allocations: 334.8 kB / 0.5641 GB, free: 41.35 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.0009708/1.212, allocations: 0.513 MB / 0.5646 GB, free: 40.92 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006655/1.213, allocations: 300.8 kB / 0.5649 GB, free: 40.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005715/1.219, allocations: 2.321 MB / 0.5672 GB, free: 39.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.213e-05/1.219, allocations: 13.59 kB / 0.5672 GB, free: 39.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.219, allocations: 3.281 kB / 0.5672 GB, free: 39.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/1.219, allocations: 9.938 kB / 0.5672 GB, free: 39.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/1.233, allocations: 5.825 MB / 0.5729 GB, free: 37.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/1.233, allocations: 0 / 0.5729 GB, free: 37.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/1.234, allocations: 168.5 kB / 0.5731 GB, free: 37.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002846/1.237, allocations: 0.7074 MB / 0.5737 GB, free: 37.81 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/1.238, allocations: 26.64 kB / 0.5738 GB, free: 37.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007092/1.245, allocations: 4.442 MB / 0.5781 GB, free: 35.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.688e-06/1.245, allocations: 0 / 0.5781 GB, free: 35.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008327/1.253, allocations: 4.352 MB / 0.5824 GB, free: 33.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/1.255, allocations: 0.5274 MB / 0.5829 GB, free: 33.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005936/1.255, allocations: 19.53 kB / 0.5829 GB, free: 33.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/1.257, allocations: 68.69 kB / 0.583 GB, free: 33.03 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/1.257, allocations: 69.5 kB / 0.583 GB, free: 33.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/1.257, allocations: 31.67 kB / 0.5831 GB, free: 33.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004419/1.262, allocations: 2.276 MB / 0.5853 GB, free: 32.22 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.02e-06/1.262, allocations: 0 / 0.5853 GB, free: 32.22 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005706/1.267, allocations: 0.8134 MB / 0.5861 GB, free: 32.12 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.0004345/1.268, allocations: 159.5 kB / 0.5862 GB, free: 32.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007096/1.275, allocations: 3.736 MB / 0.5899 GB, free: 29.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.3e-06/1.275, allocations: 0 / 0.5899 GB, free: 29.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/1.277, allocations: 1.058 MB / 0.5909 GB, free: 28.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/1.279, allocations: 351.2 kB / 0.5912 GB, free: 28.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/1.291, allocations: 6.209 MB / 0.5973 GB, free: 23.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003611/1.295, allocations: 2.832 MB / 0.6001 GB, free: 20.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/1.296, allocations: 241.9 kB / 0.6003 GB, free: 20.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.802e-06/1.296, allocations: 4 kB / 0.6003 GB, free: 20.68 MB / 394.7 MB Notification: Performance of Templates: time 0.09539/1.392, allocations: 59.99 MB / 0.6589 GB, free: 15.56 MB / 442.7 MB