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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadModel(Modelica): time 1.821/1.821, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.133e-05/3.125e-05, allocations: 7.906 kB / 258.8 MB, free: 8.043 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2851, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.05011/0.3352, allocations: 32.65 MB / 336 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01797/0.3532, allocations: 6.695 MB / 342.7 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006422/0.3597, allocations: 167.6 kB / 342.8 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005685/0.3654, allocations: 1.699 MB / 344.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01555/0.381, allocations: 4.429 MB / 349 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.3831, allocations: 227.7 kB / 349.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002953/0.3861, allocations: 1.021 MB / 350.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004476/0.3906, allocations: 2.385 MB / 352.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.3918, allocations: 0.5882 MB / 353.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.3937, allocations: 0.9935 MB / 354.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.3951, allocations: 479.3 kB / 354.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004838/0.3956, allocations: 72 kB / 354.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001468/0.3971, allocations: 1.215 MB / 355.9 MB, free: 8.812 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007007/0.3978, allocations: 196 kB / 356.1 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005892/0.4037, allocations: 4.096 MB / 360.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4037, allocations: 0 / 360.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4038, allocations: 3.938 kB / 360.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000149/0.4039, allocations: 4 kB / 360.2 MB, free: 4.508 MB / 298.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.008042/0.412, allocations: 3.089 MB / 363.3 MB, free: 1.355 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.412, allocations: 8.031 kB / 363.3 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/0.4236, allocations: 2.015 MB / 365.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004767/0.4284, allocations: 1.73 MB / 367.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.4286, allocations: 168.3 kB / 367.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006304/0.4293, allocations: 219.9 kB / 367.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01607/0.4454, allocations: 7.593 MB / 375 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/0.4455, allocations: 39.69 kB / 375.1 MB, free: 4.887 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004473/0.446, allocations: 107.9 kB / 375.2 MB, free: 4.781 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004126/0.4501, allocations: 1.684 MB / 376.9 MB, free: 3.094 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/0.4665, allocations: 5.818 MB / 382.7 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04561/0.5122, allocations: 30.37 MB / 413 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004403/0.5166, allocations: 1.588 MB / 414.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005713/0.5224, allocations: 2.776 MB / 417.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.5224, allocations: 42.5 kB / 417.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=80): time 4.508e-06/0.5225, allocations: 0 / 417.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=80): time 0.006323/0.5288, allocations: 1.938 MB / 419.4 MB, free: 7.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.899e-05/0.5289, allocations: 195.8 kB / 419.6 MB, free: 6.945 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007728/0.5367, allocations: 3.659 MB / 423.2 MB, free: 3.266 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.5368, allocations: 37.64 kB / 423.3 MB, free: 3.223 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00285/0.5397, allocations: 2.924 MB / 426.2 MB, free: 264 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2377/0.7774, allocations: 360 kB / 426.6 MB, free: 108.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005604/0.778, allocations: 100.2 kB / 426.7 MB, free: 108.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000416/0.7785, allocations: 0.5167 MB / 427.2 MB, free: 108.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003556/0.782, allocations: 1.25 MB / 428.4 MB, free: 108.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004856/0.7869, allocations: 4.796 MB / 433.2 MB, free: 103.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004691/0.7917, allocations: 2.422 MB / 435.6 MB, free: 102.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-05/0.7918, allocations: 37.47 kB / 435.7 MB, free: 102.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01251/0.8043, allocations: 5.736 MB / 441.4 MB, free: 100 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.549e-05/0.8044, allocations: 64.56 kB / 441.5 MB, free: 100 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001353/0.8046, allocations: 128.2 kB / 441.6 MB, free: 100 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.8048, allocations: 190.4 kB / 441.8 MB, free: 100 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005842/0.8106, allocations: 1.167 MB / 443 MB, free: 99.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001869/0.8108, allocations: 249.7 kB / 443.2 MB, free: 99.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004867/0.8157, allocations: 0.7686 MB / 444 MB, free: 98.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006381/0.8164, allocations: 339.6 kB / 444.3 MB, free: 98.21 MB / 362.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.003308/0.8197, allocations: 1.807 MB / 446.1 MB, free: 96.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006746/0.8204, allocations: 319.8 kB / 446.4 MB, free: 96.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.8215, allocations: 0.5184 MB / 446.9 MB, free: 95.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/0.8216, allocations: 11.94 kB / 446.9 MB, free: 95.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.8216, allocations: 4 kB / 446.9 MB, free: 95.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.8216, allocations: 3.609 kB / 447 MB, free: 95.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007142/0.8287, allocations: 3.443 MB / 450.4 MB, free: 92.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.8288, allocations: 0 / 450.4 MB, free: 92.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008748/0.8297, allocations: 104.7 kB / 450.5 MB, free: 92.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.8297, allocations: 8.281 kB / 450.5 MB, free: 92.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.978e-05/0.8298, allocations: 20 kB / 450.5 MB, free: 92.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.8298, allocations: 9.953 kB / 450.5 MB, free: 92.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.8298, allocations: 7.938 kB / 450.5 MB, free: 92.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00303/0.8329, allocations: 2.427 MB / 453 MB, free: 90.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.834, allocations: 0.5589 MB / 453.5 MB, free: 89.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005426/0.8345, allocations: 27.06 kB / 453.6 MB, free: 89.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/0.8361, allocations: 52.58 kB / 453.6 MB, free: 89.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.8363, allocations: 44.67 kB / 453.7 MB, free: 89.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.8364, allocations: 20 kB / 453.7 MB, free: 89.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004869/0.8412, allocations: 2.634 MB / 456.3 MB, free: 86.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.8413, allocations: 0 / 456.3 MB, free: 86.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004794/0.8461, allocations: 0.8866 MB / 457.2 MB, free: 85.85 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.000398/0.8465, allocations: 155.2 kB / 457.3 MB, free: 85.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005808/0.8523, allocations: 2.898 MB / 460.2 MB, free: 82.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.8523, allocations: 0 / 460.2 MB, free: 82.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007568/0.8531, allocations: 402.1 kB / 460.6 MB, free: 82.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.8557, allocations: 408.1 kB / 461 MB, free: 82.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/0.8712, allocations: 8.496 MB / 469.5 MB, free: 73.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00372/0.8749, allocations: 2.932 MB / 472.5 MB, free: 70.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.006278/0.8812, allocations: 1.652 MB / 474.1 MB, free: 68.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006442/0.8819, allocations: 227.4 kB / 474.3 MB, free: 68.64 MB / 362.7 MB Notification: Performance of SimCode: time 2.214e-06/0.8819, allocations: 0 / 474.3 MB, free: 68.64 MB / 362.7 MB Notification: Performance of Templates: time 0.07618/0.9581, allocations: 26.43 MB / 0.489 GB, free: 42.27 MB / 362.7 MB