Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadModel(ModelicaTest): time 2.374/2.374, allocations: 270 MB / 282.7 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.035e-05, allocations: 4 kB / 347 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.32, allocations: 61.88 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2072/0.5272, allocations: 106.5 MB / 0.5032 GB, free: 176 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.5275, allocations: 75.95 kB / 0.5033 GB, free: 100 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5784/1.106, allocations: 87.63 MB / 0.5889 GB, free: 51.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.999e-06/1.106, allocations: 0 / 0.5889 GB, free: 51.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001895/1.106, allocations: 80 kB / 0.5889 GB, free: 51.65 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01041/1.117, allocations: 3.963 MB / 0.5928 GB, free: 47.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.117, allocations: 8.031 kB / 0.5928 GB, free: 47.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01373/1.13, allocations: 2.451 MB / 0.5952 GB, free: 45.15 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01347/1.144, allocations: 4.883 MB / 0.6 GB, free: 40.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003536/1.144, allocations: 336.7 kB / 0.6003 GB, free: 39.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001586/1.146, allocations: 435.9 kB / 0.6007 GB, free: 39.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02228/1.168, allocations: 10.54 MB / 0.611 GB, free: 27.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000233/1.169, allocations: 63.41 kB / 0.6111 GB, free: 27.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001111/1.17, allocations: 215.9 kB / 0.6113 GB, free: 27.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001681/1.171, allocations: 1.038 MB / 0.6123 GB, free: 26.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01871/1.19, allocations: 7.992 MB / 0.6201 GB, free: 18.45 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06222/1.252, allocations: 48.05 MB / 0.667 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/1.263, allocations: 3.179 MB / 0.6701 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002224/1.265, allocations: 1.022 MB / 0.6711 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01273/1.278, allocations: 5.971 MB / 0.677 GB, free: 6.066 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.109e-05/1.278, allocations: 51.34 kB / 0.677 GB, free: 6.008 MB / 490.7 MB Notification: Performance of pre-optimization done (n=148): time 6.009e-06/1.278, allocations: 0 / 0.677 GB, free: 6.008 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.03017/1.309, allocations: 8.641 MB / 0.6855 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/1.309, allocations: 200.9 kB / 0.6856 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008278/1.317, allocations: 3.546 MB / 0.6891 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002543/1.317, allocations: 57.69 kB / 0.6892 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003428/1.321, allocations: 3.104 MB / 0.6922 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009346/1.322, allocations: 0.6405 MB / 0.6928 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005135/1.322, allocations: 120 kB / 0.6929 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000554/1.323, allocations: 0.5591 MB / 0.6935 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003683/1.327, allocations: 1.546 MB / 0.695 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007878/1.334, allocations: 5.343 MB / 0.7002 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006317/1.341, allocations: 2.886 MB / 0.703 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001293/1.341, allocations: 44 kB / 0.7031 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01677/1.358, allocations: 6.17 MB / 0.7091 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.358, allocations: 64 kB / 0.7092 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002038/1.358, allocations: 140.1 kB / 0.7093 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/1.358, allocations: 200 kB / 0.7095 GB, free: 2.578 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006791/1.365, allocations: 1.454 MB / 0.7109 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003244/1.366, allocations: 267 kB / 0.7112 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006362/1.372, allocations: 391.3 kB / 0.7115 GB, free: 488 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/1.373, allocations: 372 kB / 0.7119 GB, free: 116 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (763): * Single equations (assignments): 760 * 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.3073/1.68, allocations: 0.5724 MB / 0.7124 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008259/1.681, allocations: 346.1 kB / 0.7128 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/1.685, allocations: 1.314 MB / 0.7141 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.244e-05/1.685, allocations: 19.36 kB / 0.7141 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/1.685, allocations: 1.594 kB / 0.7141 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.731e-05/1.685, allocations: 15.23 kB / 0.7141 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/1.698, allocations: 5.786 MB / 0.7197 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.363e-05/1.698, allocations: 21.22 kB / 0.7198 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/1.7, allocations: 279.9 kB / 0.72 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-05/1.7, allocations: 27.03 kB / 0.7201 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/1.7, allocations: 51.47 kB / 0.7201 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-05/1.7, allocations: 35 kB / 0.7201 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.901e-05/1.7, allocations: 28.47 kB / 0.7202 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005087/1.705, allocations: 5.284 MB / 0.7253 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.706, allocations: 427.3 kB / 0.7257 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000628/1.707, allocations: 54.28 kB / 0.7258 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002159/1.709, allocations: 98.16 kB / 0.7259 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/1.71, allocations: 144.5 kB / 0.726 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/1.71, allocations: 71.47 kB / 0.7261 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005136/1.715, allocations: 2.441 MB / 0.7285 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.407e-06/1.715, allocations: 0 / 0.7285 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006498/1.721, allocations: 0.9142 MB / 0.7294 GB, free: 125.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 143 * 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.0005503/1.722, allocations: 207.3 kB / 0.7296 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006825/1.729, allocations: 3.44 MB / 0.7329 GB, free: 125 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-05/1.729, allocations: 5.344 kB / 0.7329 GB, free: 125 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/1.73, allocations: 0.708 MB / 0.7336 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/1.733, allocations: 442.1 kB / 0.734 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/1.75, allocations: 7.604 MB / 0.7415 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006081/1.756, allocations: 3.27 MB / 0.7447 GB, free: 122 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.758, allocations: 284.2 kB / 0.7449 GB, free: 122 MB / 0.5105 GB Notification: Performance of SimCode: time 2.031e-06/1.758, allocations: 0 / 0.7449 GB, free: 122 MB / 0.5105 GB Notification: Performance of Templates: time 0.07881/1.836, allocations: 50.98 MB / 0.7947 GB, free: 97.02 MB / 0.5105 GB