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_3.2.2_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadModel(ModelicaTest): time 2.295/2.295, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.882e-05/3.89e-05, allocations: 0.9375 kB / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3546, allocations: 54.85 MB / 359.8 MB, free: 2.684 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1697/0.5243, allocations: 97.32 MB / 457.1 MB, free: 15.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.5246, allocations: 71.97 kB / 457.2 MB, free: 15.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6257/1.15, allocations: 84.79 MB / 0.5293 GB, free: 102.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.169e-06/1.15, allocations: 3.812 kB / 0.5293 GB, free: 102.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002234/1.151, allocations: 81.67 kB / 0.5293 GB, free: 102.2 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.01087/1.161, allocations: 3.902 MB / 0.5332 GB, free: 100.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.162, allocations: 9.906 kB / 0.5332 GB, free: 100.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01421/1.176, allocations: 2.437 MB / 0.5355 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/1.191, allocations: 5.128 MB / 0.5406 GB, free: 99.71 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004333/1.192, allocations: 328 kB / 0.5409 GB, free: 99.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001719/1.193, allocations: 423.9 kB / 0.5413 GB, free: 99.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02327/1.217, allocations: 10.29 MB / 0.5513 GB, free: 96.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002047/1.217, allocations: 70.06 kB / 0.5514 GB, free: 96.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001051/1.218, allocations: 215.3 kB / 0.5516 GB, free: 96.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001723/1.22, allocations: 1.01 MB / 0.5526 GB, free: 96.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/1.239, allocations: 7.775 MB / 0.5602 GB, free: 96.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05016/1.289, allocations: 47.43 MB / 0.6065 GB, free: 60.02 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00878/1.298, allocations: 3.01 MB / 0.6094 GB, free: 58.66 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/1.3, allocations: 0.9665 MB / 0.6104 GB, free: 58.28 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01325/1.313, allocations: 5.206 MB / 0.6155 GB, free: 54.99 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.021e-05/1.313, allocations: 46.56 kB / 0.6155 GB, free: 54.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=134): time 8.281e-06/1.313, allocations: 0 / 0.6155 GB, free: 54.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=146): time 0.02793/1.341, allocations: 8.265 MB / 0.6236 GB, free: 51.03 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/1.341, allocations: 199.5 kB / 0.6238 GB, free: 50.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006354/1.348, allocations: 3.542 MB / 0.6272 GB, free: 48.62 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002228/1.348, allocations: 46.83 kB / 0.6273 GB, free: 48.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002073/1.35, allocations: 3.153 MB / 0.6304 GB, free: 45.74 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000615/1.351, allocations: 0.5849 MB / 0.6309 GB, free: 45.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003698/1.351, allocations: 116 kB / 0.631 GB, free: 45.12 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003361/1.351, allocations: 0.5547 MB / 0.6316 GB, free: 44.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002824/1.354, allocations: 1.519 MB / 0.6331 GB, free: 43.25 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00482/1.359, allocations: 5.287 MB / 0.6382 GB, free: 36.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004896/1.364, allocations: 2.836 MB / 0.641 GB, free: 33.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.893e-05/1.364, allocations: 36 kB / 0.641 GB, free: 33.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01374/1.378, allocations: 6.205 MB / 0.6471 GB, free: 28.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000104/1.378, allocations: 70.03 kB / 0.6472 GB, free: 28.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/1.378, allocations: 132 kB / 0.6473 GB, free: 28.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/1.378, allocations: 200 kB / 0.6475 GB, free: 27.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005574/1.384, allocations: 1.415 MB / 0.6488 GB, free: 26.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002088/1.384, allocations: 266.7 kB / 0.6491 GB, free: 26.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005925/1.39, allocations: 381.7 kB / 0.6495 GB, free: 26.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009321/1.391, allocations: 370.2 kB / 0.6498 GB, free: 25.78 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 36 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 743 * 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.0008918/1.392, allocations: 0.5639 MB / 0.6504 GB, free: 25.21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006599/1.393, allocations: 347.5 kB / 0.6507 GB, free: 24.86 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/1.395, allocations: 1.223 MB / 0.6519 GB, free: 23.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.301e-05/1.395, allocations: 16 kB / 0.6519 GB, free: 23.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.552e-06/1.395, allocations: 0 / 0.6519 GB, free: 23.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/1.395, allocations: 6.656 kB / 0.6519 GB, free: 23.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/1.406, allocations: 5.491 MB / 0.6573 GB, free: 19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-05/1.406, allocations: 16 kB / 0.6573 GB, free: 18.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.407, allocations: 264 kB / 0.6575 GB, free: 18.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.857e-05/1.408, allocations: 20 kB / 0.6576 GB, free: 18.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/1.408, allocations: 47.92 kB / 0.6576 GB, free: 18.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.526e-05/1.408, allocations: 32.38 kB / 0.6576 GB, free: 18.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.648e-05/1.408, allocations: 34.03 kB / 0.6577 GB, free: 18.63 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004218/1.412, allocations: 4.831 MB / 0.6624 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.413, allocations: 0.5318 MB / 0.6629 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004953/1.414, allocations: 43.05 kB / 0.663 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/1.416, allocations: 89.52 kB / 0.663 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/1.416, allocations: 133.2 kB / 0.6632 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/1.416, allocations: 70.27 kB / 0.6632 GB, free: 12.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004423/1.42, allocations: 2.442 MB / 0.6656 GB, free: 10.34 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.017e-06/1.42, allocations: 4 kB / 0.6656 GB, free: 10.34 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006104/1.427, allocations: 0.8906 MB / 0.6665 GB, free: 9.449 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * 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 (134): * Single equations (assignments): 131 * 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.0004779/1.427, allocations: 191.9 kB / 0.6667 GB, free: 9.266 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006228/1.433, allocations: 3.355 MB / 0.67 GB, free: 6.203 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/1.433, allocations: 4 kB / 0.67 GB, free: 6.199 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/1.435, allocations: 0.6731 MB / 0.6706 GB, free: 5.586 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/1.437, allocations: 418.4 kB / 0.671 GB, free: 5.227 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/1.452, allocations: 6.96 MB / 0.6778 GB, free: 14.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006162/1.459, allocations: 3.219 MB / 0.681 GB, free: 11.97 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007955/1.467, allocations: 1.797 MB / 0.6827 GB, free: 10.17 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/1.468, allocations: 235.4 kB / 0.6829 GB, free: 9.938 MB / 474.7 MB Notification: Performance of SimCode: time 3.849e-06/1.468, allocations: 4 kB / 0.6829 GB, free: 9.934 MB / 474.7 MB Notification: Performance of Templates: time 0.0884/1.557, allocations: 26.03 MB / 0.7084 GB, free: 476 kB / 490.7 MB