Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadModel(ModelicaTest): time 2.449/2.449, allocations: 270 MB / 283.6 MB, free: 1.785 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.63e-05/4.647e-05, allocations: 4 kB / 348.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3567, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/0.5204, allocations: 106.5 MB / 0.5046 GB, free: 88 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.5207, allocations: 79.89 kB / 0.5047 GB, free: 8 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6235/1.144, allocations: 87.63 MB / 0.5903 GB, free: 51.65 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.303e-06/1.144, allocations: 0 / 0.5903 GB, free: 51.65 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001668/1.144, allocations: 83.98 kB / 0.5904 GB, free: 51.57 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.008631/1.153, allocations: 3.96 MB / 0.5942 GB, free: 47.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/1.153, allocations: 12.03 kB / 0.5942 GB, free: 47.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/1.166, allocations: 2.443 MB / 0.5966 GB, free: 45.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0129/1.179, allocations: 4.883 MB / 0.6014 GB, free: 40.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003057/1.179, allocations: 332.7 kB / 0.6017 GB, free: 39.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/1.181, allocations: 431.9 kB / 0.6021 GB, free: 39.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02231/1.203, allocations: 10.55 MB / 0.6124 GB, free: 27.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002041/1.203, allocations: 63.41 kB / 0.6125 GB, free: 27.63 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001008/1.204, allocations: 215.9 kB / 0.6127 GB, free: 27.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001634/1.206, allocations: 1.041 MB / 0.6137 GB, free: 26.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01854/1.225, allocations: 7.988 MB / 0.6215 GB, free: 18.37 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07679/1.301, allocations: 48.05 MB / 0.6684 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02057/1.322, allocations: 3.183 MB / 0.6715 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004176/1.326, allocations: 1.018 MB / 0.6725 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02236/1.349, allocations: 5.983 MB / 0.6784 GB, free: 5.984 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.162e-05/1.349, allocations: 47.34 kB / 0.6784 GB, free: 5.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=148): time 1.028e-05/1.349, allocations: 4 kB / 0.6784 GB, free: 5.926 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.03293/1.382, allocations: 8.645 MB / 0.6869 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/1.382, allocations: 196.9 kB / 0.6871 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008565/1.391, allocations: 3.55 MB / 0.6905 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000255/1.391, allocations: 49.7 kB / 0.6906 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003706/1.395, allocations: 3.183 MB / 0.6937 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009321/1.396, allocations: 0.6327 MB / 0.6943 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005538/1.396, allocations: 124.3 kB / 0.6944 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005718/1.397, allocations: 0.5543 MB / 0.695 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003862/1.401, allocations: 1.554 MB / 0.6965 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007949/1.409, allocations: 5.343 MB / 0.7017 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006356/1.415, allocations: 2.886 MB / 0.7045 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001404/1.415, allocations: 40 kB / 0.7046 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01646/1.432, allocations: 6.285 MB / 0.7107 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/1.432, allocations: 67.98 kB / 0.7108 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001968/1.432, allocations: 139.8 kB / 0.7109 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002856/1.432, allocations: 204 kB / 0.7111 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006392/1.439, allocations: 1.443 MB / 0.7125 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003117/1.439, allocations: 263 kB / 0.7127 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006111/1.445, allocations: 383.5 kB / 0.7131 GB, free: 224 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3153/1.761, allocations: 370.6 kB / 0.7135 GB, free: 129.9 MB / 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.002811/1.763, allocations: 0.5752 MB / 0.714 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001341/1.765, allocations: 348.2 kB / 0.7144 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005368/1.77, allocations: 1.311 MB / 0.7156 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.9e-05/1.77, allocations: 19.59 kB / 0.7157 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/1.77, allocations: 2.375 kB / 0.7157 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.608e-05/1.77, allocations: 9.766 kB / 0.7157 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02179/1.792, allocations: 5.79 MB / 0.7213 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.367e-05/1.792, allocations: 19.72 kB / 0.7213 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002553/1.795, allocations: 281.4 kB / 0.7216 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-05/1.795, allocations: 28.09 kB / 0.7216 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000202/1.795, allocations: 47.5 kB / 0.7217 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.505e-05/1.795, allocations: 36.11 kB / 0.7217 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.213e-05/1.795, allocations: 30.81 kB / 0.7217 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008156/1.803, allocations: 5.283 MB / 0.7269 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/1.805, allocations: 427.2 kB / 0.7273 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009945/1.806, allocations: 59.2 kB / 0.7274 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004433/1.811, allocations: 98.77 kB / 0.7275 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004997/1.811, allocations: 141.2 kB / 0.7276 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003138/1.812, allocations: 71.12 kB / 0.7277 GB, free: 125 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008956/1.821, allocations: 2.442 MB / 0.73 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.061e-06/1.821, allocations: 0 / 0.73 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006421/1.827, allocations: 0.926 MB / 0.731 GB, free: 124.8 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.0004906/1.828, allocations: 204.3 kB / 0.7311 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006367/1.834, allocations: 3.436 MB / 0.7345 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/1.834, allocations: 2.688 kB / 0.7345 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/1.835, allocations: 0.7122 MB / 0.7352 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/1.838, allocations: 447.2 kB / 0.7356 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/1.851, allocations: 7.156 MB / 0.7426 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004182/1.856, allocations: 3.258 MB / 0.7458 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005477/1.861, allocations: 1.818 MB / 0.7476 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007071/1.862, allocations: 247.3 kB / 0.7478 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.609e-06/1.862, allocations: 0 / 0.7478 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.07805/1.94, allocations: 26.63 MB / 0.7738 GB, free: 116.7 MB / 0.5105 GB