Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 1.659/1.659, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.91e-05/2.922e-05, allocations: 4 kB / 228.2 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08092/0.08097, allocations: 38.77 MB / 266.9 MB, free: 484 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.2705/0.3515, allocations: 32.66 MB / 299.6 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01868/0.3702, allocations: 6.681 MB / 306.3 MB, free: 3.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008509/0.3788, allocations: 171.8 kB / 306.4 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006611/0.3855, allocations: 1.699 MB / 308.1 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0177/0.4032, allocations: 4.424 MB / 312.6 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.4056, allocations: 232.7 kB / 312.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003438/0.4091, allocations: 1.027 MB / 313.8 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004809/0.414, allocations: 2.379 MB / 316.2 MB, free: 1.609 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.4158, allocations: 0.5969 MB / 316.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002404/0.4182, allocations: 0.9858 MB / 317.8 MB, free: 1.117 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.4202, allocations: 471.3 kB / 318.2 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006942/0.4209, allocations: 73.56 kB / 318.3 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001577/0.4225, allocations: 1.213 MB / 319.5 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009577/0.4235, allocations: 197.8 kB / 319.7 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006668/0.4302, allocations: 4.106 MB / 323.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4302, allocations: 4 kB / 323.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4302, allocations: 0 / 323.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002413/0.4305, allocations: 0 / 323.8 MB, free: 14.41 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.009433/0.4399, allocations: 3.084 MB / 326.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.44, allocations: 13.56 kB / 326.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.4519, allocations: 2.021 MB / 328.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005555/0.4575, allocations: 1.725 MB / 330.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.4577, allocations: 176.3 kB / 330.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009525/0.4587, allocations: 220.8 kB / 331 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01854/0.4772, allocations: 7.593 MB / 338.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/0.4774, allocations: 31.73 kB / 338.7 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006855/0.4781, allocations: 114.3 kB / 338.8 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004484/0.4826, allocations: 1.675 MB / 340.5 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01731/0.4999, allocations: 5.819 MB / 346.3 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05008/0.5501, allocations: 30.37 MB / 376.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004671/0.5548, allocations: 1.592 MB / 378.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007113/0.562, allocations: 2.775 MB / 381 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.5621, allocations: 42.5 kB / 381.1 MB, free: 9.789 MB / 314.7 MB Notification: Performance of pre-optimization done (n=80): time 5.019e-06/0.5621, allocations: 0 / 381.1 MB, free: 9.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=80): time 0.009192/0.5713, allocations: 1.947 MB / 383 MB, free: 7.781 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.5715, allocations: 183.9 kB / 383.2 MB, free: 7.559 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01344/0.5849, allocations: 3.663 MB / 386.8 MB, free: 3.875 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001908/0.5852, allocations: 41.98 kB / 386.9 MB, free: 3.828 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004216/0.5894, allocations: 2.909 MB / 389.8 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000722/0.5902, allocations: 379.3 kB / 390.2 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004045/0.5906, allocations: 103.9 kB / 390.3 MB, free: 464 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0005527/0.5912, allocations: 0.509 MB / 390.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004678/0.5959, allocations: 1.247 MB / 392 MB, free: 14.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008891/0.6048, allocations: 4.799 MB / 396.8 MB, free: 8.059 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008134/0.613, allocations: 2.43 MB / 399.3 MB, free: 5.629 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001362/0.6132, allocations: 36 kB / 399.3 MB, free: 5.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.02192/0.6351, allocations: 5.741 MB / 405 MB, free: 15.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.6353, allocations: 63.59 kB / 405.1 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002807/0.6356, allocations: 128 kB / 405.2 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003421/0.636, allocations: 184.8 kB / 405.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008898/0.6449, allocations: 1.166 MB / 406.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004005/0.6453, allocations: 251 kB / 406.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006422/0.6518, allocations: 0.7655 MB / 407.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009736/0.6528, allocations: 336 kB / 407.9 MB, free: 12.97 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 586 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (631): * Single equations (assignments): 628 * 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.004591/0.6574, allocations: 1.805 MB / 409.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009203/0.6584, allocations: 331.6 kB / 410 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.66, allocations: 0.509 MB / 410.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.036e-05/0.66, allocations: 14.33 kB / 410.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.66, allocations: 7.938 kB / 410.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.6601, allocations: 0 / 410.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009828/0.6699, allocations: 3.443 MB / 414 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.67, allocations: 3.938 kB / 414 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009638/0.6709, allocations: 103.9 kB / 414.1 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.605e-05/0.671, allocations: 8.281 kB / 414.1 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.503e-05/0.6711, allocations: 20 kB / 414.1 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.5e-05/0.6711, allocations: 11.92 kB / 414.1 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.6711, allocations: 4 kB / 414.2 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004322/0.6754, allocations: 2.432 MB / 416.6 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00176/0.6772, allocations: 0.5553 MB / 417.1 MB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007598/0.678, allocations: 19.95 kB / 417.2 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/0.6799, allocations: 60.02 kB / 417.2 MB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.68, allocations: 43.83 kB / 417.3 MB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.999e-05/0.6801, allocations: 28 kB / 417.3 MB, free: 3.301 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.007072/0.6872, allocations: 2.627 MB / 419.9 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.82e-07/0.6873, allocations: 0 / 419.9 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005831/0.6931, allocations: 0.8826 MB / 420.8 MB, free: 15.78 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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.0005458/0.6937, allocations: 149.5 kB / 420.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00763/0.7014, allocations: 2.896 MB / 423.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.7014, allocations: 0 / 423.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009657/0.7024, allocations: 408.7 kB / 424.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003013/0.7054, allocations: 411.3 kB / 424.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0196/0.725, allocations: 8.505 MB / 433.1 MB, free: 3.383 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00583/0.7309, allocations: 2.924 MB / 436.1 MB, free: 440 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.2437/0.9746, allocations: 1.643 MB / 437.7 MB, free: 120.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.9757, allocations: 231.8 kB / 437.9 MB, free: 120.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.704e-06/0.9757, allocations: 1.812 kB / 437.9 MB, free: 120.6 MB / 362.7 MB Notification: Performance of Templates: time 0.08614/1.062, allocations: 26.43 MB / 464.4 MB, free: 110.6 MB / 362.7 MB