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_cpp_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadModel(ModelicaTest): time 2.313/2.313, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.958e-05, allocations: 0 / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1303, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.3737/0.5041, allocations: 35.28 MB / 446.2 MB, free: 9.914 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02682/0.5309, allocations: 8.343 MB / 454.5 MB, free: 4.434 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01014/0.5411, allocations: 188.5 kB / 454.7 MB, free: 4.402 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007776/0.5489, allocations: 1.786 MB / 456.5 MB, free: 3.812 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02262/0.5716, allocations: 5.098 MB / 461.6 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004076/0.5757, allocations: 0.6379 MB / 462.3 MB, free: 276 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006224/0.582, allocations: 1.893 MB / 464.1 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008677/0.5907, allocations: 3.702 MB / 467.8 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.5934, allocations: 0.8434 MB / 468.7 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003699/0.5972, allocations: 1.412 MB / 470.1 MB, free: 11.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/0.6003, allocations: 0.688 MB / 470.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001518/0.6019, allocations: 121.5 kB / 470.9 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003176/0.6051, allocations: 1.541 MB / 472.4 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001853/0.607, allocations: 276 kB / 472.7 MB, free: 9.742 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009593/0.6167, allocations: 5.239 MB / 478 MB, free: 4.488 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6167, allocations: 0 / 478 MB, free: 4.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.6168, allocations: 0 / 478 MB, free: 4.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002749/0.617, allocations: 0 / 478 MB, free: 4.488 MB / 378.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.01211/0.6292, allocations: 3.909 MB / 481.9 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.6292, allocations: 19.95 kB / 481.9 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/0.6446, allocations: 2.283 MB / 484.2 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007809/0.6525, allocations: 2.505 MB / 486.7 MB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004113/0.653, allocations: 246.3 kB / 486.9 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0016/0.6546, allocations: 331.8 kB / 487.2 MB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03974/0.6944, allocations: 10.28 MB / 497.5 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002557/0.6947, allocations: 51.47 kB / 497.6 MB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001248/0.696, allocations: 159.9 kB / 497.7 MB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007256/0.7032, allocations: 1.9 MB / 499.6 MB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03991/0.7432, allocations: 8.24 MB / 0.496 GB, free: 5.625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07204/0.8153, allocations: 39.53 MB / 0.5346 GB, free: 12.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01409/0.8295, allocations: 3.278 MB / 0.5378 GB, free: 9.461 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01343/0.8429, allocations: 5.976 MB / 0.5436 GB, free: 3.113 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.023e-05/0.8431, allocations: 55.52 kB / 0.5437 GB, free: 3.051 MB / 458.7 MB Notification: Performance of pre-optimization done (n=148): time 5.51e-06/0.8431, allocations: 0 / 0.5437 GB, free: 3.051 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.038/0.8811, allocations: 9.695 MB / 0.5531 GB, free: 9.191 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.8812, allocations: 157.2 kB / 0.5533 GB, free: 9.012 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008602/0.8898, allocations: 3.822 MB / 0.557 GB, free: 5.168 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002813/0.8902, allocations: 53.7 kB / 0.5571 GB, free: 5.109 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003348/0.8935, allocations: 3.104 MB / 0.5601 GB, free: 1.961 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009624/0.8945, allocations: 0.6442 MB / 0.5607 GB, free: 1.309 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004718/0.895, allocations: 124.3 kB / 0.5608 GB, free: 1.188 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004897/0.8955, allocations: 0.567 MB / 0.5614 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004714/0.9003, allocations: 1.609 MB / 0.563 GB, free: 14.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008274/0.9086, allocations: 5.446 MB / 0.5683 GB, free: 7.609 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007555/0.9162, allocations: 2.905 MB / 0.5711 GB, free: 4.707 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/0.9163, allocations: 40 kB / 0.5712 GB, free: 4.668 MB / 490.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01886/0.9352, allocations: 6.691 MB / 0.5777 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.9354, allocations: 64 kB / 0.5778 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001947/0.9356, allocations: 140 kB / 0.5779 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002664/0.9358, allocations: 200 kB / 0.5781 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008659/0.9445, allocations: 1.427 MB / 0.5795 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003278/0.9449, allocations: 267 kB / 0.5797 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005421/0.9503, allocations: 295.6 kB / 0.58 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008878/0.9513, allocations: 379.9 kB / 0.5804 GB, free: 11.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * 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 (767): * Single equations (assignments): 764 * 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.004819/0.9561, allocations: 2.001 MB / 0.5823 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000895/0.957, allocations: 347.5 kB / 0.5827 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.9608, allocations: 1.333 MB / 0.584 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.136e-05/0.9609, allocations: 20 kB / 0.584 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.9609, allocations: 0 / 0.584 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/0.9609, allocations: 7.969 kB / 0.584 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/0.9768, allocations: 5.836 MB / 0.5897 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.854e-05/0.9769, allocations: 16 kB / 0.5897 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/0.9789, allocations: 283.5 kB / 0.59 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-05/0.979, allocations: 28.72 kB / 0.59 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/0.9792, allocations: 55.94 kB / 0.5901 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.97e-05/0.9792, allocations: 39.86 kB / 0.5901 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-05/0.9793, allocations: 27.88 kB / 0.5901 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007884/0.9872, allocations: 5.289 MB / 0.5953 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/0.9885, allocations: 428.5 kB / 0.5957 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009875/0.9895, allocations: 51.98 kB / 0.5957 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/0.9918, allocations: 63.94 kB / 0.5958 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/0.9921, allocations: 147.5 kB / 0.5959 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/0.9923, allocations: 64 kB / 0.596 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006836/0.9992, allocations: 2.684 MB / 0.5986 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.042e-06/0.9992, allocations: 0 / 0.5986 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006367/1.006, allocations: 0.9141 MB / 0.5995 GB, free: 6.438 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * 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 (145): * Single equations (assignments): 142 * 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.0007617/1.006, allocations: 214.6 kB / 0.5997 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009884/1.016, allocations: 3.723 MB / 0.6034 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-05/1.016, allocations: 4.188 kB / 0.6034 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001943/1.018, allocations: 0.7531 MB / 0.6041 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/1.022, allocations: 433.8 kB / 0.6045 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3694/1.391, allocations: 10.79 MB / 0.615 GB, free: 161.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007995/1.399, allocations: 3.261 MB / 0.6182 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/1.401, allocations: 293.1 kB / 0.6185 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.754e-06/1.401, allocations: 0 / 0.6185 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.1091/1.51, allocations: 52.21 MB / 0.6695 GB, free: 125.1 MB / 0.5105 GB