Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.v_0.1.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|constraint.frame_b.r_0.1.|constraint.frame_b.r_0.2.|constraint.frame_b.r_0.3.|jointPrismatic_x.s|jointPrismatic_x.v|jointPrismatic_y.s|jointPrismatic_y.v",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 1.638/1.638, allocations: 171.1 MB / 186.3 MB, free: 1.332 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.369e-05/3.359e-05, allocations: 8 kB / 228.1 MB, free: 7.969 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08786/0.08792, allocations: 38.77 MB / 266.9 MB, free: 1.117 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.3257/0.4137, allocations: 71.08 MB / 338 MB, free: 8.035 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.04706/0.4609, allocations: 15.65 MB / 353.6 MB, free: 9.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02023/0.4812, allocations: 415 kB / 354 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01429/0.4955, allocations: 3.795 MB / 357.8 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03964/0.5352, allocations: 9.911 MB / 367.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007707/0.543, allocations: 1.205 MB / 368.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009555/0.5526, allocations: 2.938 MB / 371.9 MB, free: 7.527 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01878/0.5714, allocations: 8.67 MB / 380.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003598/0.5751, allocations: 1.383 MB / 381.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004714/0.5798, allocations: 2.034 MB / 384 MB, free: 11.37 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004292/0.5842, allocations: 1.217 MB / 385.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001972/0.5862, allocations: 200 kB / 385.4 MB, free: 9.953 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004686/0.5909, allocations: 2.603 MB / 388 MB, free: 7.344 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002436/0.5934, allocations: 464 kB / 388.4 MB, free: 6.891 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0166/0.6101, allocations: 10.13 MB / 398.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6102, allocations: 0 / 398.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.6102, allocations: 0 / 398.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004304/0.6106, allocations: 0 / 398.6 MB, free: 12.73 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.02379/0.6344, allocations: 6.816 MB / 405.4 MB, free: 5.844 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.6345, allocations: 8.031 kB / 405.4 MB, free: 5.836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01785/0.6524, allocations: 2.72 MB / 408.1 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/0.6672, allocations: 4.626 MB / 412.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006636/0.6679, allocations: 459.6 kB / 413.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003622/0.6716, allocations: 0.683 MB / 413.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0595/0.7311, allocations: 18.2 MB / 432.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003533/0.7315, allocations: 63.38 kB / 432.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002687/0.7342, allocations: 283.8 kB / 432.4 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008455/0.7427, allocations: 2.995 MB / 435.4 MB, free: 6.812 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4931/1.236, allocations: 15.18 MB / 450.6 MB, free: 118.4 MB / 362.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1215/1.358, allocations: 66.22 MB / 0.5047 GB, free: 61.99 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03893/1.396, allocations: 7.713 MB / 0.5122 GB, free: 54.14 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03369/1.43, allocations: 14.17 MB / 0.5261 GB, free: 39.61 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/1.43, allocations: 56.56 kB / 0.5261 GB, free: 39.54 MB / 362.8 MB Notification: Performance of pre-optimization done (n=251): time 6.302e-06/1.43, allocations: 0 / 0.5261 GB, free: 39.54 MB / 362.8 MB Notification: Performance of matching and sorting (n=297): time 0.1467/1.577, allocations: 33.07 MB / 0.5584 GB, free: 6.168 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/1.577, allocations: 158.5 kB / 0.5586 GB, free: 5.98 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/1.589, allocations: 5.44 MB / 0.5639 GB, free: 0.5273 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007221/1.589, allocations: 75.03 kB / 0.5639 GB, free: 460 kB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.235/1.824, allocations: 4.795 MB / 0.5686 GB, free: 112.6 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001976/1.826, allocations: 1.134 MB / 0.5697 GB, free: 111.9 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/1.828, allocations: 179.6 kB / 0.5699 GB, free: 111.9 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.000855/1.829, allocations: 0.6911 MB / 0.5706 GB, free: 111.5 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01017/1.839, allocations: 3.397 MB / 0.5739 GB, free: 110.3 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01334/1.852, allocations: 8.641 MB / 0.5823 GB, free: 102 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/1.865, allocations: 5.285 MB / 0.5875 GB, free: 99.95 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002938/1.865, allocations: 55.22 kB / 0.5875 GB, free: 99.95 MB / 362.8 MB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.04152/1.907, allocations: 13.71 MB / 0.6009 GB, free: 94.63 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002556/1.907, allocations: 87.5 kB / 0.601 GB, free: 94.63 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004479/1.908, allocations: 183.9 kB / 0.6012 GB, free: 94.63 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.017/1.925, allocations: 2.263 MB / 0.6034 GB, free: 94.12 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01673/1.941, allocations: 2.035 MB / 0.6054 GB, free: 92.36 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04642/1.988, allocations: 20.86 MB / 0.6258 GB, free: 72.04 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01404/2.002, allocations: 0.4916 MB / 0.6262 GB, free: 71.55 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0023/2.004, allocations: 0.5167 MB / 0.6267 GB, free: 71.03 MB / 362.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 60 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],jointPrismatic_y.boxColor[3],jointPrismatic_y.boxColor[2],jointPrismatic_y.boxColor[1],jointPrismatic_x.boxColor[3],jointPrismatic_x.boxColor[2],jointPrismatic_x.boxColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1069): * Single equations (assignments): 1056 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 5,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 6,(4,100.0%) 9,(4,100.0%) 9} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01035/2.015, allocations: 3.325 MB / 0.63 GB, free: 67.7 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001733/2.016, allocations: 0.5244 MB / 0.6305 GB, free: 67.16 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03015/2.047, allocations: 7.211 MB / 0.6375 GB, free: 59.84 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001106/2.047, allocations: 47.94 kB / 0.6376 GB, free: 59.79 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.259e-05/2.047, allocations: 12 kB / 0.6376 GB, free: 59.78 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.559e-05/2.047, allocations: 11.95 kB / 0.6376 GB, free: 59.77 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04449/2.091, allocations: 15.45 MB / 0.6527 GB, free: 44.19 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.943e-05/2.092, allocations: 384 / 0.6527 GB, free: 44.19 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005312/2.097, allocations: 483.5 kB / 0.6532 GB, free: 43.72 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01145/2.108, allocations: 2.092 MB / 0.6552 GB, free: 41.6 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006804/2.109, allocations: 63.94 kB / 0.6553 GB, free: 41.54 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0355/2.145, allocations: 23.23 MB / 0.678 GB, free: 17.14 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/2.145, allocations: 4.031 kB / 0.678 GB, free: 17.14 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02939/2.174, allocations: 11.14 MB / 0.6888 GB, free: 5.801 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003472/2.178, allocations: 1.021 MB / 0.6898 GB, free: 4.754 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001926/2.18, allocations: 60.92 kB / 0.6899 GB, free: 4.695 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004958/2.185, allocations: 180.7 kB / 0.6901 GB, free: 4.52 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00107/2.186, allocations: 185.7 kB / 0.6902 GB, free: 4.336 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004311/2.186, allocations: 77 kB / 0.6903 GB, free: 4.262 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.008317/2.194, allocations: 3.808 MB / 0.694 GB, free: 464 kB / 362.8 MB Notification: Performance of sort global known variables: time 1.222e-06/2.194, allocations: 0 / 0.694 GB, free: 464 kB / 362.8 MB Notification: Performance of remove unused functions: time 0.01079/2.205, allocations: 1.743 MB / 0.6957 GB, free: 14.72 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (bodyOfJoint.v_0[2],bodyOfJoint.v_0[3],bodyOfJoint.body.frame_a.r_0[2],bodyOfJoint.body.frame_a.r_0[3],bodyOfConstraint.v_0[2],bodyOfConstraint.v_0[3],bodyOfConstraint.body.frame_a.r_0[2],bodyOfConstraint.body.frame_a.r_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 201 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 6,(1,100.0%) 3,(4,75.0%) 5,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001564/2.207, allocations: 257.6 kB / 0.696 GB, free: 14.48 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.2644/2.471, allocations: 9.319 MB / 0.7051 GB, free: 115.6 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/2.471, allocations: 0 / 0.7051 GB, free: 115.6 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01207/2.483, allocations: 4.21 MB / 0.7092 GB, free: 114.5 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006362/2.49, allocations: 0.7288 MB / 0.7099 GB, free: 114.5 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04664/2.537, allocations: 19.58 MB / 0.729 GB, free: 105.5 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01113/2.548, allocations: 5.282 MB / 0.7342 GB, free: 103.7 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002677/2.55, allocations: 420.4 kB / 0.7346 GB, free: 103.7 MB / 378.8 MB Notification: Performance of SimCode: time 1.913e-06/2.55, allocations: 0 / 0.7346 GB, free: 103.7 MB / 378.8 MB Notification: Performance of Templates: time 1.051/3.602, allocations: 325.4 MB / 1.052 GB, free: 71.84 MB / 394.8 MB