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.3_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadModel(ModelicaTest): time 2.363/2.363, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.52e-05, allocations: 7.938 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3553, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.5461, allocations: 104.8 MB / 487 MB, free: 3.723 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.5464, allocations: 71.97 kB / 487 MB, free: 3.652 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.5924/1.139, allocations: 86.71 MB / 0.5603 GB, free: 106.4 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.804e-06/1.139, allocations: 0 / 0.5603 GB, free: 106.4 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002086/1.139, allocations: 84.14 kB / 0.5604 GB, free: 106.4 MB / 458.8 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.01024/1.149, allocations: 3.98 MB / 0.5643 GB, free: 104.6 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.149, allocations: 10.53 kB / 0.5643 GB, free: 104.6 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01432/1.164, allocations: 2.45 MB / 0.5667 GB, free: 104.2 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/1.178, allocations: 5.175 MB / 0.5717 GB, free: 101.5 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003292/1.178, allocations: 332.1 kB / 0.572 GB, free: 101.2 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001472/1.18, allocations: 439 kB / 0.5725 GB, free: 100.8 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02209/1.202, allocations: 10.55 MB / 0.5828 GB, free: 89.15 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001928/1.202, allocations: 63.41 kB / 0.5828 GB, free: 89.09 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009766/1.203, allocations: 213.8 kB / 0.583 GB, free: 88.9 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001652/1.205, allocations: 1.041 MB / 0.584 GB, free: 87.86 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01839/1.223, allocations: 7.992 MB / 0.5918 GB, free: 79.86 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07008/1.293, allocations: 48.07 MB / 0.6388 GB, free: 30.42 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0186/1.312, allocations: 3.188 MB / 0.6419 GB, free: 27.07 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00348/1.316, allocations: 1.026 MB / 0.6429 GB, free: 26.03 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01646/1.332, allocations: 5.994 MB / 0.6488 GB, free: 19.7 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/1.332, allocations: 63.27 kB / 0.6488 GB, free: 19.63 MB / 458.8 MB Notification: Performance of pre-optimization done (n=148): time 5.979e-06/1.332, allocations: 0 / 0.6488 GB, free: 19.63 MB / 458.8 MB Notification: Performance of matching and sorting (n=160): time 0.02665/1.359, allocations: 8.753 MB / 0.6574 GB, free: 10.76 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/1.359, allocations: 200.9 kB / 0.6576 GB, free: 10.52 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006182/1.365, allocations: 3.574 MB / 0.6611 GB, free: 6.922 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002419/1.365, allocations: 49.7 kB / 0.6611 GB, free: 6.867 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002059/1.367, allocations: 3.182 MB / 0.6642 GB, free: 3.688 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006334/1.368, allocations: 0.6372 MB / 0.6648 GB, free: 3.055 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003492/1.368, allocations: 120 kB / 0.6649 GB, free: 2.938 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003367/1.369, allocations: 0.5582 MB / 0.6655 GB, free: 2.371 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002844/1.372, allocations: 1.543 MB / 0.667 GB, free: 0.8242 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006755/1.378, allocations: 5.343 MB / 0.6722 GB, free: 9.555 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006106/1.385, allocations: 2.892 MB / 0.675 GB, free: 6.66 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001119/1.385, allocations: 40 kB / 0.6751 GB, free: 6.621 MB / 474.8 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01626/1.401, allocations: 6.3 MB / 0.6812 GB, free: 328 kB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/1.401, allocations: 64 kB / 0.6813 GB, free: 264 kB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001931/1.401, allocations: 136 kB / 0.6814 GB, free: 128 kB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003031/1.402, allocations: 200 kB / 0.6816 GB, free: 15.93 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006249/1.408, allocations: 1.443 MB / 0.683 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002918/1.408, allocations: 263 kB / 0.6833 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006158/1.414, allocations: 383.5 kB / 0.6836 GB, free: 13.85 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/1.416, allocations: 375 kB / 0.684 GB, free: 13.49 MB / 490.8 MB 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.001165/1.417, allocations: 0.5759 MB / 0.6846 GB, free: 12.9 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008145/1.418, allocations: 359.4 kB / 0.6849 GB, free: 12.55 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/1.421, allocations: 1.317 MB / 0.6862 GB, free: 11.21 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-05/1.421, allocations: 16 kB / 0.6862 GB, free: 11.2 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.599e-06/1.421, allocations: 4 kB / 0.6862 GB, free: 11.2 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.087e-05/1.421, allocations: 11.97 kB / 0.6862 GB, free: 11.18 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/1.435, allocations: 5.786 MB / 0.6919 GB, free: 5.117 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-05/1.435, allocations: 23.94 kB / 0.6919 GB, free: 5.098 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/1.437, allocations: 287.6 kB / 0.6922 GB, free: 4.816 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-05/1.437, allocations: 24 kB / 0.6922 GB, free: 4.793 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/1.437, allocations: 52 kB / 0.6922 GB, free: 4.742 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.221e-05/1.437, allocations: 35.86 kB / 0.6923 GB, free: 4.707 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-05/1.437, allocations: 31.81 kB / 0.6923 GB, free: 4.676 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006785/1.444, allocations: 5.292 MB / 0.6975 GB, free: 14.57 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/1.445, allocations: 0.5354 MB / 0.698 GB, free: 14.02 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005056/1.446, allocations: 55.88 kB / 0.698 GB, free: 13.96 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/1.448, allocations: 95.92 kB / 0.6981 GB, free: 13.87 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/1.448, allocations: 150.5 kB / 0.6983 GB, free: 13.72 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/1.448, allocations: 64 kB / 0.6983 GB, free: 13.66 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.005198/1.453, allocations: 2.467 MB / 0.7007 GB, free: 11.18 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.816e-06/1.453, allocations: 0 / 0.7007 GB, free: 11.18 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006539/1.46, allocations: 0.9218 MB / 0.7016 GB, free: 10.25 MB / 0.4949 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.0005532/1.461, allocations: 209.6 kB / 0.7018 GB, free: 10.04 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.007698/1.468, allocations: 3.434 MB / 0.7052 GB, free: 6.645 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.798e-05/1.468, allocations: 6.562 kB / 0.7052 GB, free: 6.641 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001502/1.47, allocations: 0.7099 MB / 0.7059 GB, free: 5.934 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/1.473, allocations: 443.4 kB / 0.7063 GB, free: 5.5 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2993/1.772, allocations: 7.17 MB / 0.7133 GB, free: 139.4 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004948/1.777, allocations: 3.271 MB / 0.7165 GB, free: 138.6 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.006187/1.783, allocations: 1.816 MB / 0.7183 GB, free: 138.6 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008233/1.784, allocations: 243 kB / 0.7185 GB, free: 138.6 MB / 0.4949 GB Notification: Performance of SimCode: time 1.688e-06/1.784, allocations: 0 / 0.7185 GB, free: 138.6 MB / 0.4949 GB Notification: Performance of Templates: time 0.07973/1.864, allocations: 26.68 MB / 0.7446 GB, free: 137.1 MB / 0.4949 GB