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_4.0.0_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 270 MB / 283.6 MB, free: 1.801 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.757e-05, allocations: 11.92 kB / 348.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3595, allocations: 61.88 MB / 410.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.527, allocations: 106.5 MB / 0.5046 GB, free: 76 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.5272, allocations: 75.97 kB / 0.5047 GB, free: 0 / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6519/1.179, allocations: 87.62 MB / 0.5903 GB, free: 51.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.187e-06/1.179, allocations: 0 / 0.5903 GB, free: 51.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002049/1.179, allocations: 80 kB / 0.5903 GB, free: 51.55 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.01054/1.19, allocations: 3.96 MB / 0.5942 GB, free: 47.53 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.19, allocations: 12.03 kB / 0.5942 GB, free: 47.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01359/1.204, allocations: 2.451 MB / 0.5966 GB, free: 45.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01339/1.217, allocations: 4.879 MB / 0.6014 GB, free: 40.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003386/1.217, allocations: 332.7 kB / 0.6017 GB, free: 39.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00167/1.219, allocations: 435.9 kB / 0.6021 GB, free: 39.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02235/1.242, allocations: 10.54 MB / 0.6124 GB, free: 27.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001897/1.242, allocations: 71.39 kB / 0.6125 GB, free: 27.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008767/1.243, allocations: 219.9 kB / 0.6127 GB, free: 27.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001697/1.244, allocations: 1.034 MB / 0.6137 GB, free: 26.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01864/1.263, allocations: 7.988 MB / 0.6215 GB, free: 18.35 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06051/1.324, allocations: 48.05 MB / 0.6684 GB, free: 0.707 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/1.334, allocations: 3.183 MB / 0.6715 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002121/1.336, allocations: 1.03 MB / 0.6725 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01207/1.348, allocations: 5.971 MB / 0.6784 GB, free: 5.961 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.415e-05/1.348, allocations: 55.33 kB / 0.6784 GB, free: 5.898 MB / 490.7 MB Notification: Performance of pre-optimization done (n=148): time 5.339e-06/1.349, allocations: 0 / 0.6784 GB, free: 5.898 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.02931/1.378, allocations: 8.638 MB / 0.6869 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/1.378, allocations: 200.8 kB / 0.687 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007842/1.386, allocations: 3.55 MB / 0.6905 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002379/1.386, allocations: 49.7 kB / 0.6906 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003269/1.389, allocations: 3.183 MB / 0.6937 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000836/1.39, allocations: 0.6365 MB / 0.6943 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003766/1.391, allocations: 116 kB / 0.6944 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005256/1.391, allocations: 0.5582 MB / 0.6949 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003346/1.395, allocations: 1.554 MB / 0.6965 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007299/1.402, allocations: 5.343 MB / 0.7017 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006241/1.408, allocations: 2.886 MB / 0.7045 GB, free: 9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/1.408, allocations: 40 kB / 0.7045 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01601/1.424, allocations: 6.293 MB / 0.7107 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/1.424, allocations: 60 kB / 0.7107 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001844/1.425, allocations: 139.8 kB / 0.7109 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002819/1.425, allocations: 200 kB / 0.7111 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006367/1.431, allocations: 1.443 MB / 0.7125 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003074/1.432, allocations: 267 kB / 0.7127 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006043/1.438, allocations: 379.4 kB / 0.7131 GB, free: 208 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3658/1.804, allocations: 377.6 kB / 0.7135 GB, free: 128.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.001396/1.805, allocations: 0.5766 MB / 0.714 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007964/1.806, allocations: 349.3 kB / 0.7143 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/1.809, allocations: 1.312 MB / 0.7156 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.823e-05/1.809, allocations: 17.69 kB / 0.7156 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/1.809, allocations: 1.625 kB / 0.7156 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/1.809, allocations: 6.141 kB / 0.7157 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/1.821, allocations: 5.796 MB / 0.7213 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.022e-05/1.821, allocations: 17.25 kB / 0.7213 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/1.822, allocations: 283.5 kB / 0.7216 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.248e-05/1.822, allocations: 29.53 kB / 0.7216 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/1.823, allocations: 45.09 kB / 0.7217 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.892e-05/1.823, allocations: 41.2 kB / 0.7217 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.715e-05/1.823, allocations: 26.19 kB / 0.7217 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004737/1.827, allocations: 5.284 MB / 0.7269 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.828, allocations: 430.3 kB / 0.7273 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005146/1.829, allocations: 51.75 kB / 0.7274 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001976/1.831, allocations: 96.27 kB / 0.7274 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/1.831, allocations: 143.4 kB / 0.7276 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/1.831, allocations: 68.36 kB / 0.7277 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004478/1.836, allocations: 2.444 MB / 0.73 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.02e-06/1.836, allocations: 0 / 0.73 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006479/1.842, allocations: 0.9182 MB / 0.7309 GB, free: 123.7 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.0005254/1.843, allocations: 204 kB / 0.7311 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006741/1.85, allocations: 3.45 MB / 0.7345 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.61e-05/1.85, allocations: 3 kB / 0.7345 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/1.851, allocations: 0.707 MB / 0.7352 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/1.854, allocations: 442.9 kB / 0.7356 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/1.869, allocations: 7.153 MB / 0.7426 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005174/1.874, allocations: 3.263 MB / 0.7458 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01252/1.887, allocations: 1.819 MB / 0.7476 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0016/1.889, allocations: 242.7 kB / 0.7478 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.485e-06/1.889, allocations: 0 / 0.7478 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.1145/2.003, allocations: 26.61 MB / 0.7738 GB, free: 115.5 MB / 0.5105 GB