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.1_cpp_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadModel(ModelicaTest): time 1.818/1.818, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.38e-05, allocations: 4 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.08538, allocations: 48.7 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3572/0.4427, allocations: 90.61 MB / 412.4 MB, free: 3.555 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.4429, allocations: 70.66 kB / 412.4 MB, free: 3.547 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3323/0.7752, allocations: 84.79 MB / 497.2 MB, free: 7.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.422e-06/0.7752, allocations: 0 / 497.2 MB, free: 7.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002298/0.7755, allocations: 80 kB / 497.3 MB, free: 7.246 MB / 394.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.0117/0.7872, allocations: 3.899 MB / 0.4895 GB, free: 3.285 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.7873, allocations: 8.031 kB / 0.4895 GB, free: 3.277 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/0.8019, allocations: 2.443 MB / 0.4919 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01613/0.8181, allocations: 5.121 MB / 0.4969 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004867/0.8186, allocations: 328.5 kB / 0.4972 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001708/0.8203, allocations: 423.8 kB / 0.4976 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02568/0.846, allocations: 10.3 MB / 0.5076 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002068/0.8463, allocations: 71.34 kB / 0.5077 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009174/0.8472, allocations: 211.8 kB / 0.5079 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002024/0.8492, allocations: 1.002 MB / 0.5089 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02129/0.8706, allocations: 7.781 MB / 0.5165 GB, free: 6.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.294/1.165, allocations: 47.44 MB / 0.5628 GB, free: 58.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009471/1.174, allocations: 3.006 MB / 0.5657 GB, free: 57.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002014/1.176, allocations: 0.9654 MB / 0.5667 GB, free: 57.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00971/1.186, allocations: 5.201 MB / 0.5718 GB, free: 55.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/1.186, allocations: 52.8 kB / 0.5718 GB, free: 55.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=134): time 5.696e-06/1.186, allocations: 0 / 0.5718 GB, free: 55.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.02705/1.213, allocations: 8.256 MB / 0.5799 GB, free: 52.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/1.213, allocations: 202.4 kB / 0.5801 GB, free: 52.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007119/1.22, allocations: 3.541 MB / 0.5835 GB, free: 51.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000238/1.221, allocations: 51.03 kB / 0.5836 GB, free: 51.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002155/1.223, allocations: 3.079 MB / 0.5866 GB, free: 50.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006257/1.223, allocations: 0.5908 MB / 0.5872 GB, free: 49.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004104/1.224, allocations: 119.4 kB / 0.5873 GB, free: 49.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003465/1.224, allocations: 0.5521 MB / 0.5878 GB, free: 49.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003233/1.227, allocations: 1.518 MB / 0.5893 GB, free: 49.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005264/1.233, allocations: 5.281 MB / 0.5944 GB, free: 44.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005504/1.238, allocations: 2.854 MB / 0.5972 GB, free: 44.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000119/1.238, allocations: 40.56 kB / 0.5973 GB, free: 44.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01468/1.253, allocations: 6.072 MB / 0.6032 GB, free: 42.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/1.253, allocations: 68.69 kB / 0.6033 GB, free: 42.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001503/1.253, allocations: 135.9 kB / 0.6034 GB, free: 42.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/1.254, allocations: 194.2 kB / 0.6036 GB, free: 42.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00631/1.26, allocations: 1.419 MB / 0.605 GB, free: 42.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002271/1.26, allocations: 263 kB / 0.6052 GB, free: 42.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006286/1.267, allocations: 380.7 kB / 0.6056 GB, free: 42.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/1.268, allocations: 370.8 kB / 0.6059 GB, free: 42.13 MB / 426.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.0009553/1.269, allocations: 0.5671 MB / 0.6065 GB, free: 41.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007203/1.269, allocations: 341.3 kB / 0.6068 GB, free: 41.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/1.272, allocations: 1.23 MB / 0.608 GB, free: 40.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-05/1.272, allocations: 18.28 kB / 0.608 GB, free: 40.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/1.272, allocations: 0 / 0.608 GB, free: 40.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/1.272, allocations: 7.391 kB / 0.608 GB, free: 40.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/1.284, allocations: 5.485 MB / 0.6134 GB, free: 38.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.853e-05/1.284, allocations: 20.34 kB / 0.6134 GB, free: 38.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/1.286, allocations: 262.2 kB / 0.6137 GB, free: 38.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-05/1.286, allocations: 24.53 kB / 0.6137 GB, free: 38.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/1.286, allocations: 50.45 kB / 0.6137 GB, free: 38.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.678e-05/1.286, allocations: 35.33 kB / 0.6138 GB, free: 38.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.699e-05/1.286, allocations: 26.53 kB / 0.6138 GB, free: 38.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004637/1.291, allocations: 4.832 MB / 0.6185 GB, free: 34.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/1.292, allocations: 0.527 MB / 0.619 GB, free: 34.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004884/1.293, allocations: 47.44 kB / 0.6191 GB, free: 34.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/1.295, allocations: 96.86 kB / 0.6192 GB, free: 33.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/1.295, allocations: 131 kB / 0.6193 GB, free: 33.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/1.295, allocations: 67.03 kB / 0.6194 GB, free: 33.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005332/1.3, allocations: 2.453 MB / 0.6218 GB, free: 33.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.746e-06/1.3, allocations: 0 / 0.6218 GB, free: 33.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006497/1.307, allocations: 0.8872 MB / 0.6226 GB, free: 32.93 MB / 426.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.0004738/1.307, allocations: 189.1 kB / 0.6228 GB, free: 32.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00692/1.314, allocations: 3.356 MB / 0.6261 GB, free: 31.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.796e-05/1.314, allocations: 8.125 kB / 0.6261 GB, free: 31.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001235/1.316, allocations: 0.6599 MB / 0.6267 GB, free: 31.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/1.319, allocations: 425.9 kB / 0.6271 GB, free: 31.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/1.335, allocations: 7.394 MB / 0.6344 GB, free: 26.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005639/1.341, allocations: 3.223 MB / 0.6375 GB, free: 24.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.342, allocations: 292.7 kB / 0.6378 GB, free: 23.85 MB / 426.7 MB Notification: Performance of SimCode: time 1.667e-06/1.342, allocations: 0 / 0.6378 GB, free: 23.85 MB / 426.7 MB Notification: Performance of Templates: time 0.3242/1.666, allocations: 50.08 MB / 0.6867 GB, free: 103.2 MB / 442.7 MB