Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 1.92/1.92, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.89e-05/2.905e-05, allocations: 4 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09124/0.0913, allocations: 50.41 MB / 342.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3844/0.4757, allocations: 94.73 MB / 437.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.476, allocations: 85.02 kB / 437.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2548/0.7309, allocations: 67.55 MB / 0.4931 GB, free: 268 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.587e-06/0.7309, allocations: 0 / 0.4931 GB, free: 268 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001822/0.7311, allocations: 60 kB / 0.4931 GB, free: 208 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.009773/0.7409, allocations: 3.083 MB / 0.4961 GB, free: 13.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.741, allocations: 12.03 kB / 0.4961 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/0.7514, allocations: 1.898 MB / 0.498 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005875/0.7573, allocations: 1.973 MB / 0.4999 GB, free: 9.109 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002961/0.7577, allocations: 234.1 kB / 0.5002 GB, free: 8.879 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.7589, allocations: 311.8 kB / 0.5005 GB, free: 8.574 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/0.7759, allocations: 7.361 MB / 0.5076 GB, free: 348 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/0.7761, allocations: 47.55 kB / 0.5077 GB, free: 300 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006975/0.7768, allocations: 155.9 kB / 0.5078 GB, free: 144 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001271/0.7781, allocations: 0.7348 MB / 0.5086 GB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01339/0.7915, allocations: 5.463 MB / 0.5139 GB, free: 9.93 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3753/1.167, allocations: 35.3 MB / 0.5484 GB, free: 86.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004747/1.172, allocations: 1.644 MB / 0.55 GB, free: 86.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009471/1.173, allocations: 473.1 kB / 0.5504 GB, free: 86.13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005518/1.178, allocations: 2.915 MB / 0.5533 GB, free: 84.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/1.178, allocations: 48.42 kB / 0.5533 GB, free: 84.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 5.115e-06/1.178, allocations: 0 / 0.5533 GB, free: 84.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.00542/1.184, allocations: 1.421 MB / 0.5547 GB, free: 84.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/1.184, allocations: 218.7 kB / 0.5549 GB, free: 83.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006997/1.191, allocations: 3.274 MB / 0.5581 GB, free: 83.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001302/1.191, allocations: 40.06 kB / 0.5581 GB, free: 83.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001976/1.193, allocations: 2.624 MB / 0.5607 GB, free: 82.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004867/1.194, allocations: 375.3 kB / 0.5611 GB, free: 82.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003374/1.194, allocations: 94.47 kB / 0.5612 GB, free: 82.14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003194/1.194, allocations: 0.5102 MB / 0.5617 GB, free: 81.81 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002501/1.197, allocations: 1.187 MB / 0.5628 GB, free: 81.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004598/1.201, allocations: 4.496 MB / 0.5672 GB, free: 77.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006775/1.208, allocations: 2.321 MB / 0.5695 GB, free: 77.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002023/1.208, allocations: 33.31 kB / 0.5695 GB, free: 77.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.01275/1.221, allocations: 4.987 MB / 0.5744 GB, free: 76.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.614e-05/1.221, allocations: 56.97 kB / 0.5744 GB, free: 76.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/1.222, allocations: 120.6 kB / 0.5745 GB, free: 76.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/1.222, allocations: 175.8 kB / 0.5747 GB, free: 76.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004251/1.226, allocations: 1.131 MB / 0.5758 GB, free: 76.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001743/1.226, allocations: 243 kB / 0.576 GB, free: 76.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004931/1.231, allocations: 0.7013 MB / 0.5767 GB, free: 76.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007775/1.232, allocations: 352 kB / 0.5771 GB, free: 76.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 551 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (596): * Single equations (assignments): 593 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007039/1.233, allocations: 0.4938 MB / 0.5775 GB, free: 76.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000546/1.233, allocations: 299.1 kB / 0.5778 GB, free: 75.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/1.234, allocations: 489.7 kB / 0.5783 GB, free: 75.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/1.234, allocations: 12.12 kB / 0.5783 GB, free: 75.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.234, allocations: 6.641 kB / 0.5783 GB, free: 75.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/1.234, allocations: 7.375 kB / 0.5783 GB, free: 75.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007019/1.241, allocations: 3.285 MB / 0.5815 GB, free: 74.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/1.242, allocations: 9 kB / 0.5815 GB, free: 74.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/1.242, allocations: 109.5 kB / 0.5816 GB, free: 74.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/1.242, allocations: 7.344 kB / 0.5817 GB, free: 74.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-05/1.242, allocations: 16.97 kB / 0.5817 GB, free: 74.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/1.242, allocations: 11.28 kB / 0.5817 GB, free: 74.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.014e-06/1.242, allocations: 10.91 kB / 0.5817 GB, free: 74.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/1.245, allocations: 2.48 MB / 0.5841 GB, free: 72.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.246, allocations: 463.2 kB / 0.5846 GB, free: 72.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003988/1.247, allocations: 22.08 kB / 0.5846 GB, free: 72.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.248, allocations: 43.8 kB / 0.5846 GB, free: 72.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/1.248, allocations: 47.69 kB / 0.5847 GB, free: 72.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.287e-05/1.248, allocations: 33.41 kB / 0.5847 GB, free: 72.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004342/1.253, allocations: 2.333 MB / 0.587 GB, free: 71.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.844e-06/1.253, allocations: 4 kB / 0.587 GB, free: 71.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005381/1.258, allocations: 0.8263 MB / 0.5878 GB, free: 71.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (prismatic.v,position.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003731/1.258, allocations: 156 kB / 0.5879 GB, free: 71.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005455/1.264, allocations: 2.603 MB / 0.5905 GB, free: 70.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.86e-06/1.264, allocations: 0 / 0.5905 GB, free: 70.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007361/1.265, allocations: 398.2 kB / 0.5909 GB, free: 70.37 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/1.267, allocations: 355.2 kB / 0.5912 GB, free: 70.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/1.279, allocations: 5.71 MB / 0.5968 GB, free: 67.94 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003699/1.282, allocations: 2.76 MB / 0.5995 GB, free: 66.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009879/1.284, allocations: 271.4 kB / 0.5997 GB, free: 66.77 MB / 442.7 MB Notification: Performance of SimCode: time 2.043e-06/1.284, allocations: 3.688 kB / 0.5997 GB, free: 66.77 MB / 442.7 MB Notification: Performance of Templates: time 0.06588/1.349, allocations: 43.2 MB / 0.6419 GB, free: 36.37 MB / 442.7 MB