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_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 1.864/1.864, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.243e-05, allocations: 7.984 kB / 228.2 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08172/0.08177, allocations: 38.77 MB / 266.9 MB, free: 476 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.332/0.4138, allocations: 71.1 MB / 338 MB, free: 7.922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.05041/0.4643, allocations: 15.64 MB / 353.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01928/0.4836, allocations: 415 kB / 354.1 MB, free: 9.016 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01444/0.4981, allocations: 3.799 MB / 357.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03966/0.5378, allocations: 9.912 MB / 367.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007707/0.5456, allocations: 1.213 MB / 369 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009595/0.5552, allocations: 2.944 MB / 371.9 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01919/0.5745, allocations: 8.653 MB / 380.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003908/0.5784, allocations: 1.395 MB / 382 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004819/0.5833, allocations: 2.022 MB / 384 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004395/0.5878, allocations: 1.225 MB / 385.2 MB, free: 9.727 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00199/0.5898, allocations: 200 kB / 385.4 MB, free: 9.531 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005084/0.5949, allocations: 2.599 MB / 388 MB, free: 6.926 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002741/0.5977, allocations: 464 kB / 388.5 MB, free: 6.473 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.6151, allocations: 10.13 MB / 398.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6152, allocations: 0 / 398.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.6152, allocations: 3.938 kB / 398.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004458/0.6157, allocations: 0 / 398.6 MB, free: 12.31 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.0245/0.6402, allocations: 6.816 MB / 405.4 MB, free: 5.422 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.6403, allocations: 8.031 kB / 405.4 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01788/0.6581, allocations: 2.724 MB / 408.2 MB, free: 2.676 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01469/0.6729, allocations: 4.622 MB / 412.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006899/0.6736, allocations: 459.7 kB / 413.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00371/0.6774, allocations: 0.6908 MB / 413.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05831/0.7357, allocations: 18.19 MB / 432.1 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002954/0.7361, allocations: 63.36 kB / 432.2 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00147/0.7376, allocations: 275.8 kB / 432.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007917/0.7455, allocations: 3.003 MB / 435.4 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.539/1.285, allocations: 15.18 MB / 450.6 MB, free: 118.5 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.114/1.399, allocations: 66.2 MB / 0.5047 GB, free: 61.58 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03849/1.437, allocations: 7.718 MB / 0.5123 GB, free: 53.72 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04527/1.483, allocations: 14.16 MB / 0.5261 GB, free: 39.2 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.307e-05/1.483, allocations: 68.55 kB / 0.5261 GB, free: 39.12 MB / 362.8 MB Notification: Performance of pre-optimization done (n=251): time 1.007e-05/1.483, allocations: 0 / 0.5261 GB, free: 39.12 MB / 362.8 MB Notification: Performance of matching and sorting (n=297): time 0.1678/1.65, allocations: 33.05 MB / 0.5584 GB, free: 5.754 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/1.651, allocations: 162.5 kB / 0.5586 GB, free: 5.562 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01076/1.661, allocations: 5.44 MB / 0.5639 GB, free: 112 kB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006989/1.662, allocations: 65.7 kB / 0.564 GB, free: 40 kB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.2437/1.906, allocations: 4.97 MB / 0.5688 GB, free: 112.4 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002096/1.908, allocations: 1.134 MB / 0.5699 GB, free: 111.6 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001488/1.91, allocations: 175.2 kB / 0.5701 GB, free: 111.5 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.001058/1.911, allocations: 0.6833 MB / 0.5708 GB, free: 111 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01063/1.921, allocations: 3.404 MB / 0.5741 GB, free: 109.8 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01415/1.936, allocations: 8.637 MB / 0.5825 GB, free: 101.5 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01326/1.949, allocations: 5.293 MB / 0.5877 GB, free: 99.45 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003111/1.949, allocations: 54.59 kB / 0.5877 GB, free: 99.45 MB / 362.8 MB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.04191/1.991, allocations: 13.9 MB / 0.6013 GB, free: 94.03 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/1.991, allocations: 84.81 kB / 0.6014 GB, free: 94.03 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002916/1.992, allocations: 187.2 kB / 0.6016 GB, free: 94.03 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01174/2.003, allocations: 2.269 MB / 0.6038 GB, free: 93.54 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01298/2.016, allocations: 2.036 MB / 0.6058 GB, free: 91.77 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03352/2.05, allocations: 20.85 MB / 0.6261 GB, free: 71.42 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009842/2.06, allocations: 0.4935 MB / 0.6266 GB, free: 70.93 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001731/2.062, allocations: 0.5156 MB / 0.6271 GB, free: 70.41 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.007944/2.07, allocations: 3.323 MB / 0.6304 GB, free: 67.08 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/2.071, allocations: 0.5322 MB / 0.6309 GB, free: 66.54 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02204/2.093, allocations: 7.204 MB / 0.6379 GB, free: 59.21 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.682e-05/2.093, allocations: 48.5 kB / 0.638 GB, free: 59.17 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.324e-05/2.093, allocations: 8 kB / 0.638 GB, free: 59.16 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.24e-05/2.093, allocations: 19.94 kB / 0.638 GB, free: 59.14 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0416/2.135, allocations: 15.45 MB / 0.6531 GB, free: 43.57 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.484e-05/2.135, allocations: 0 / 0.6531 GB, free: 43.57 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005307/2.14, allocations: 497 kB / 0.6535 GB, free: 43.08 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01146/2.152, allocations: 2.074 MB / 0.6556 GB, free: 40.98 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006426/2.152, allocations: 63.88 kB / 0.6556 GB, free: 40.92 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03532/2.188, allocations: 23.23 MB / 0.6783 GB, free: 16.53 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/2.188, allocations: 384 / 0.6783 GB, free: 16.53 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02912/2.217, allocations: 11.15 MB / 0.6892 GB, free: 5.18 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003322/2.22, allocations: 1.033 MB / 0.6902 GB, free: 4.121 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001548/2.222, allocations: 52 kB / 0.6903 GB, free: 4.07 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004361/2.226, allocations: 179.7 kB / 0.6904 GB, free: 3.895 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007719/2.227, allocations: 189.7 kB / 0.6906 GB, free: 3.707 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000339/2.227, allocations: 83.89 kB / 0.6907 GB, free: 3.629 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.008009/2.235, allocations: 3.8 MB / 0.6944 GB, free: 15.83 MB / 378.8 MB Notification: Performance of sort global known variables: time 5.51e-07/2.235, allocations: 0 / 0.6944 GB, free: 15.83 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.01074/2.246, allocations: 1.749 MB / 0.6961 GB, free: 14.09 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.001355/2.248, allocations: 252 kB / 0.6964 GB, free: 13.85 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.296/2.544, allocations: 9.323 MB / 0.7055 GB, free: 115.7 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/2.544, allocations: 0 / 0.7055 GB, free: 115.7 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01513/2.559, allocations: 4.2 MB / 0.7096 GB, free: 114.6 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007893/2.567, allocations: 0.7358 MB / 0.7103 GB, free: 114.6 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04921/2.616, allocations: 18.76 MB / 0.7286 GB, free: 105.9 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01119/2.627, allocations: 5.28 MB / 0.7338 GB, free: 104.1 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.01302/2.64, allocations: 2.726 MB / 0.7364 GB, free: 103.8 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002142/2.643, allocations: 351.6 kB / 0.7368 GB, free: 103.8 MB / 378.8 MB Notification: Performance of SimCode: time 1.333e-06/2.643, allocations: 3.938 kB / 0.7368 GB, free: 103.8 MB / 378.8 MB Notification: Performance of Templates: time 0.1764/2.819, allocations: 66.89 MB / 0.8021 GB, free: 40.54 MB / 378.8 MB