Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadModel(Modelica): time 1.901/1.901, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.011e-05/3.021e-05, allocations: 4 kB / 292.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09246/0.09252, allocations: 50.42 MB / 342.6 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3915/0.484, allocations: 101.5 MB / 444 MB, free: 8.945 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.4844, allocations: 86.05 kB / 444.1 MB, free: 8.902 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3007/0.7851, allocations: 76.55 MB / 0.5085 GB, free: 0.543 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.482e-06/0.7851, allocations: 0 / 0.5085 GB, free: 0.543 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001804/0.7853, allocations: 72 kB / 0.5085 GB, free: 484 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.0109/0.7962, allocations: 3.48 MB / 0.5119 GB, free: 12.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.7963, allocations: 12.03 kB / 0.5119 GB, free: 12.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/0.8091, allocations: 2.265 MB / 0.5141 GB, free: 10.65 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01282/0.822, allocations: 3.792 MB / 0.5178 GB, free: 6.805 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/0.8224, allocations: 279.3 kB / 0.5181 GB, free: 6.531 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001569/0.824, allocations: 371.8 kB / 0.5185 GB, free: 6.168 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.271/1.095, allocations: 10.33 MB / 0.5286 GB, free: 102.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001898/1.095, allocations: 57.55 kB / 0.5286 GB, free: 102.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009592/1.096, allocations: 180.9 kB / 0.5288 GB, free: 102.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001982/1.098, allocations: 1.002 MB / 0.5298 GB, free: 102.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02278/1.121, allocations: 8.409 MB / 0.538 GB, free: 102.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05107/1.172, allocations: 44.71 MB / 0.5816 GB, free: 73.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/1.184, allocations: 3.837 MB / 0.5854 GB, free: 71.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002994/1.187, allocations: 1.761 MB / 0.5871 GB, free: 70.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01306/1.2, allocations: 7.63 MB / 0.5946 GB, free: 66.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/1.2, allocations: 55.94 kB / 0.5946 GB, free: 66.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 5.733e-06/1.2, allocations: 0 / 0.5946 GB, free: 66.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=166): time 0.05501/1.255, allocations: 14.66 MB / 0.6089 GB, free: 62.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/1.256, allocations: 147.6 kB / 0.6091 GB, free: 62.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005348/1.261, allocations: 3.045 MB / 0.612 GB, free: 61.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003108/1.261, allocations: 52.08 kB / 0.6121 GB, free: 60.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001662/1.263, allocations: 2.698 MB / 0.6147 GB, free: 58.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007269/1.264, allocations: 0.6434 MB / 0.6154 GB, free: 58.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/1.264, allocations: 109 kB / 0.6155 GB, free: 58.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003191/1.264, allocations: 0.5398 MB / 0.616 GB, free: 57.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003558/1.268, allocations: 1.87 MB / 0.6178 GB, free: 57.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005414/1.274, allocations: 5.231 MB / 0.6229 GB, free: 51.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005689/1.279, allocations: 3.085 MB / 0.6259 GB, free: 50.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.241e-05/1.279, allocations: 34.16 kB / 0.626 GB, free: 50.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01818/1.298, allocations: 7.558 MB / 0.6333 GB, free: 44.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.184e-05/1.298, allocations: 60 kB / 0.6334 GB, free: 44.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/1.298, allocations: 120 kB / 0.6335 GB, free: 44.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004859/1.303, allocations: 1.307 MB / 0.6348 GB, free: 43.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005115/1.308, allocations: 1.266 MB / 0.636 GB, free: 42.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/1.318, allocations: 6.121 MB / 0.642 GB, free: 37.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005622/1.324, allocations: 342.3 kB / 0.6423 GB, free: 36.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009972/1.325, allocations: 340.8 kB / 0.6427 GB, free: 36.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (679): * Single equations (assignments): 675 * 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 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009654/1.326, allocations: 0.5283 MB / 0.6432 GB, free: 36.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006623/1.327, allocations: 308 kB / 0.6435 GB, free: 35.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008101/1.335, allocations: 3.32 MB / 0.6467 GB, free: 33.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-05/1.335, allocations: 16 kB / 0.6467 GB, free: 33.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/1.335, allocations: 8 kB / 0.6467 GB, free: 33.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.807e-05/1.335, allocations: 6.75 kB / 0.6467 GB, free: 33.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/1.352, allocations: 7.557 MB / 0.6541 GB, free: 27.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/1.352, allocations: 7.938 kB / 0.6541 GB, free: 27.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/1.354, allocations: 238.3 kB / 0.6544 GB, free: 26.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004472/1.359, allocations: 1.117 MB / 0.6554 GB, free: 26.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002929/1.359, allocations: 30.8 kB / 0.6555 GB, free: 26.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/1.369, allocations: 5.765 MB / 0.6611 GB, free: 20.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.826e-06/1.369, allocations: 6.375 kB / 0.6611 GB, free: 20.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/1.38, allocations: 5.681 MB / 0.6667 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009226/1.381, allocations: 364.9 kB / 0.667 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005923/1.382, allocations: 27.94 kB / 0.667 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00191/1.384, allocations: 109.1 kB / 0.6671 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003029/1.384, allocations: 84.88 kB / 0.6672 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/1.384, allocations: 45.25 kB / 0.6673 GB, free: 13.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003879/1.388, allocations: 2.094 MB / 0.6693 GB, free: 11.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.008e-06/1.388, allocations: 0 / 0.6693 GB, free: 11.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005681/1.394, allocations: 0.9164 MB / 0.6702 GB, free: 10.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 125 * 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 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000503/1.394, allocations: 185.5 kB / 0.6704 GB, free: 10.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008401/1.403, allocations: 4.474 MB / 0.6747 GB, free: 6.312 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.995e-06/1.403, allocations: 4 kB / 0.6748 GB, free: 6.309 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002732/1.406, allocations: 1.489 MB / 0.6762 GB, free: 4.809 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/1.408, allocations: 325.6 kB / 0.6765 GB, free: 4.496 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/1.424, allocations: 6.97 MB / 0.6833 GB, free: 13.49 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005075/1.43, allocations: 2.933 MB / 0.6862 GB, free: 10.54 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/1.431, allocations: 255.4 kB / 0.6864 GB, free: 10.29 MB / 458.7 MB Notification: Performance of SimCode: time 2.017e-06/1.431, allocations: 0 / 0.6864 GB, free: 10.29 MB / 458.7 MB Notification: Performance of Templates: time 0.3577/1.789, allocations: 62.45 MB / 0.7474 GB, free: 101.7 MB / 458.7 MB