Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.136e-05/3.148e-05, allocations: 4 kB / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09003/0.09008, allocations: 50.41 MB / 342.5 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3922/0.4824, allocations: 99.67 MB / 442.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4827, allocations: 86.38 kB / 442.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2948/0.7775, allocations: 74.08 MB / 0.5043 GB, free: 4.824 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.606e-06/0.7776, allocations: 0 / 0.5043 GB, free: 4.824 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002121/0.7778, allocations: 67.94 kB / 0.5043 GB, free: 4.758 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01085/0.7887, allocations: 3.381 MB / 0.5076 GB, free: 1.316 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.7887, allocations: 8.031 kB / 0.5076 GB, free: 1.309 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.8006, allocations: 2.097 MB / 0.5097 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01317/0.8139, allocations: 3.889 MB / 0.5135 GB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003839/0.8143, allocations: 262.9 kB / 0.5137 GB, free: 10.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001515/0.8158, allocations: 351.8 kB / 0.5141 GB, free: 10.65 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02186/0.8377, allocations: 8.884 MB / 0.5228 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001913/0.8379, allocations: 63.45 kB / 0.5228 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008997/0.8388, allocations: 171.9 kB / 0.523 GB, free: 0.543 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2496/1.088, allocations: 0.8808 MB / 0.5238 GB, free: 104.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0181/1.107, allocations: 6.998 MB / 0.5307 GB, free: 104.6 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04901/1.156, allocations: 42.95 MB / 0.5726 GB, free: 77.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/1.166, allocations: 3.265 MB / 0.5758 GB, free: 75.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002477/1.168, allocations: 1.439 MB / 0.5772 GB, free: 75.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008178/1.177, allocations: 4.422 MB / 0.5815 GB, free: 72.67 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/1.177, allocations: 43 kB / 0.5816 GB, free: 72.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 5.471e-06/1.177, allocations: 0 / 0.5816 GB, free: 72.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.03044/1.207, allocations: 9.589 MB / 0.5909 GB, free: 68.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/1.207, allocations: 140.1 kB / 0.5911 GB, free: 68.67 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006206/1.213, allocations: 3.281 MB / 0.5943 GB, free: 67.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002615/1.214, allocations: 41.39 kB / 0.5943 GB, free: 67.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001815/1.216, allocations: 2.704 MB / 0.597 GB, free: 65.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006221/1.216, allocations: 0.5166 MB / 0.5975 GB, free: 65.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004077/1.217, allocations: 105.1 kB / 0.5976 GB, free: 64.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003218/1.217, allocations: 0.5323 MB / 0.5981 GB, free: 64.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003348/1.22, allocations: 1.644 MB / 0.5997 GB, free: 64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005209/1.226, allocations: 5.031 MB / 0.6046 GB, free: 58.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005462/1.231, allocations: 2.877 MB / 0.6074 GB, free: 57.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.088e-05/1.231, allocations: 35.66 kB / 0.6074 GB, free: 57.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01442/1.246, allocations: 6.163 MB / 0.6135 GB, free: 55.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.487e-05/1.246, allocations: 57.06 kB / 0.6135 GB, free: 55.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/1.246, allocations: 123.2 kB / 0.6136 GB, free: 55.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008105/1.247, allocations: 331.4 kB / 0.6139 GB, free: 55.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005633/1.252, allocations: 1.291 MB / 0.6152 GB, free: 55.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/1.255, allocations: 2.291 MB / 0.6174 GB, free: 53.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005251/1.26, allocations: 286.1 kB / 0.6177 GB, free: 53.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008884/1.261, allocations: 336.8 kB / 0.618 GB, free: 53.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (666): * Single equations (assignments): 662 * 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.0009359/1.262, allocations: 0.525 MB / 0.6186 GB, free: 53.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000681/1.263, allocations: 310 kB / 0.6188 GB, free: 53.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00579/1.269, allocations: 2.349 MB / 0.6211 GB, free: 51.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.371e-05/1.269, allocations: 16 kB / 0.6212 GB, free: 51.87 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/1.269, allocations: 4 kB / 0.6212 GB, free: 51.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/1.269, allocations: 6.797 kB / 0.6212 GB, free: 51.87 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/1.283, allocations: 5.93 MB / 0.627 GB, free: 47.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/1.283, allocations: 0 / 0.627 GB, free: 47.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/1.284, allocations: 172 kB / 0.6271 GB, free: 47.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002605/1.287, allocations: 0.7196 MB / 0.6278 GB, free: 46.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002034/1.287, allocations: 28.66 kB / 0.6279 GB, free: 46.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006596/1.294, allocations: 4.435 MB / 0.6322 GB, free: 42.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.112e-06/1.294, allocations: 3.656 kB / 0.6322 GB, free: 42.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007713/1.302, allocations: 4.421 MB / 0.6365 GB, free: 38.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001/1.303, allocations: 375.7 kB / 0.6369 GB, free: 38.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005385/1.303, allocations: 24.58 kB / 0.6369 GB, free: 38.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.305, allocations: 67.91 kB / 0.6369 GB, free: 38.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/1.305, allocations: 65.55 kB / 0.637 GB, free: 38.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/1.305, allocations: 36.7 kB / 0.637 GB, free: 38.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004548/1.31, allocations: 2.275 MB / 0.6393 GB, free: 36.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.457e-06/1.31, allocations: 4.062 kB / 0.6393 GB, free: 36.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0057/1.316, allocations: 0.8261 MB / 0.6401 GB, free: 35.35 MB / 442.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 (96): * Single equations (assignments): 92 * 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.0004575/1.316, allocations: 159.9 kB / 0.6402 GB, free: 35.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007021/1.323, allocations: 3.791 MB / 0.6439 GB, free: 31.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.088e-06/1.323, allocations: 4 kB / 0.6439 GB, free: 31.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/1.325, allocations: 1.086 MB / 0.645 GB, free: 30.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/1.327, allocations: 352.5 kB / 0.6453 GB, free: 30.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/1.341, allocations: 6.279 MB / 0.6515 GB, free: 24.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004623/1.346, allocations: 2.861 MB / 0.6543 GB, free: 22.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.347, allocations: 251.9 kB / 0.6545 GB, free: 22.42 MB / 442.7 MB Notification: Performance of SimCode: time 1.973e-06/1.347, allocations: 0 / 0.6545 GB, free: 22.42 MB / 442.7 MB Notification: Performance of Templates: time 0.3496/1.697, allocations: 60.72 MB / 0.7138 GB, free: 96.18 MB / 458.7 MB