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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 1.998/1.998, allocations: 224.7 MB / 241.1 MB, free: 1.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.288e-05/2.283e-05, allocations: 0 / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1152, allocations: 50.42 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.4158/0.5311, allocations: 73.68 MB / 418.7 MB, free: 3.012 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04853/0.5797, allocations: 16.2 MB / 434.9 MB, free: 1.078 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02093/0.6007, allocations: 429.3 kB / 435.3 MB, free: 1.012 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01411/0.6149, allocations: 3.877 MB / 439.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04305/0.658, allocations: 10.27 MB / 449.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008014/0.666, allocations: 1.186 MB / 450.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.009396/0.6755, allocations: 2.886 MB / 453.5 MB, free: 9.191 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01885/0.6944, allocations: 8.636 MB / 462.1 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004121/0.6986, allocations: 1.346 MB / 463.5 MB, free: 272 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004935/0.7036, allocations: 1.941 MB / 465.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004696/0.7083, allocations: 1.177 MB / 466.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002155/0.7105, allocations: 192 kB / 466.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00488/0.7155, allocations: 2.552 MB / 469.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002616/0.7181, allocations: 460 kB / 469.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01631/0.7345, allocations: 9.783 MB / 479.6 MB, free: 476 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.7346, allocations: 3.938 kB / 479.6 MB, free: 472 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.7346, allocations: 0 / 479.6 MB, free: 472 kB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004347/0.735, allocations: 0 / 479.6 MB, free: 472 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.02321/0.7582, allocations: 6.703 MB / 486.3 MB, free: 9.727 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.7583, allocations: 8.031 kB / 486.3 MB, free: 9.719 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01767/0.776, allocations: 2.695 MB / 489 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01394/0.79, allocations: 4.255 MB / 493.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006555/0.7907, allocations: 451.6 kB / 493.7 MB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003698/0.7944, allocations: 0.6869 MB / 494.4 MB, free: 1.574 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05939/0.8539, allocations: 17.83 MB / 0.5002 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003585/0.8543, allocations: 63.45 kB / 0.5002 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002253/0.8565, allocations: 271.8 kB / 0.5005 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007967/0.8645, allocations: 2.897 MB / 0.5033 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05522/0.9198, allocations: 14.82 MB / 0.5178 GB, free: 12.77 MB / 426.7 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.7304/1.65, allocations: 64.78 MB / 0.5811 GB, free: 122.8 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04095/1.691, allocations: 7.756 MB / 0.5886 GB, free: 122.1 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0344/1.726, allocations: 14.63 MB / 0.6029 GB, free: 114.4 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/1.726, allocations: 61.84 kB / 0.603 GB, free: 114.3 MB / 458.8 MB Notification: Performance of pre-optimization done (n=244): time 7.263e-06/1.726, allocations: 0 / 0.603 GB, free: 114.3 MB / 458.8 MB Notification: Performance of matching and sorting (n=290): time 0.1479/1.874, allocations: 32.17 MB / 0.6344 GB, free: 89.25 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/1.874, allocations: 161.4 kB / 0.6346 GB, free: 89.06 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0118/1.886, allocations: 5.299 MB / 0.6397 GB, free: 83.79 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007216/1.886, allocations: 69.7 kB / 0.6398 GB, free: 83.72 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003854/1.89, allocations: 4.706 MB / 0.6444 GB, free: 79.02 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001704/1.892, allocations: 1.103 MB / 0.6455 GB, free: 77.92 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009869/1.893, allocations: 176.8 kB / 0.6456 GB, free: 77.75 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0007077/1.894, allocations: 0.684 MB / 0.6463 GB, free: 77.06 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008185/1.902, allocations: 3.261 MB / 0.6495 GB, free: 73.79 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01131/1.913, allocations: 8.358 MB / 0.6577 GB, free: 62.98 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/1.925, allocations: 5.105 MB / 0.6626 GB, free: 57.96 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001658/1.925, allocations: 52 kB / 0.6627 GB, free: 57.91 MB / 458.8 MB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03866/1.964, allocations: 13.3 MB / 0.6757 GB, free: 44.55 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/1.964, allocations: 80 kB / 0.6758 GB, free: 44.48 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002399/1.964, allocations: 180 kB / 0.6759 GB, free: 44.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01202/1.976, allocations: 2.253 MB / 0.6781 GB, free: 42.03 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01241/1.989, allocations: 1.974 MB / 0.6801 GB, free: 40.05 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0354/2.024, allocations: 20.84 MB / 0.7004 GB, free: 18.33 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009401/2.034, allocations: 489.2 kB / 0.7009 GB, free: 17.85 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001711/2.035, allocations: 0.5034 MB / 0.7014 GB, free: 17.35 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * Number of states: 0 () * Number of discrete variables: 67 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,sensorConstraintRelative.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1039): * Single equations (assignments): 1026 * 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.008031/2.044, allocations: 3.231 MB / 0.7045 GB, free: 14.1 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/2.045, allocations: 0.5245 MB / 0.705 GB, free: 13.57 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02261/2.067, allocations: 6.706 MB / 0.7116 GB, free: 6.793 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.351e-05/2.068, allocations: 43.94 kB / 0.7116 GB, free: 6.75 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.505e-05/2.068, allocations: 19.95 kB / 0.7116 GB, free: 6.73 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.338e-05/2.068, allocations: 11.95 kB / 0.7117 GB, free: 6.719 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04837/2.116, allocations: 14.75 MB / 0.7261 GB, free: 7.883 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.15e-05/2.116, allocations: 4 kB / 0.7261 GB, free: 7.879 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005467/2.122, allocations: 479.3 kB / 0.7265 GB, free: 7.41 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01276/2.135, allocations: 2.018 MB / 0.7285 GB, free: 5.379 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007685/2.135, allocations: 44 kB / 0.7285 GB, free: 5.336 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3951/2.531, allocations: 20.35 MB / 0.7484 GB, free: 147.9 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/2.531, allocations: 3.844 kB / 0.7484 GB, free: 147.9 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07738/2.608, allocations: 10.55 MB / 0.7587 GB, free: 143.6 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00803/2.616, allocations: 0.5468 MB / 0.7592 GB, free: 143.5 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002132/2.618, allocations: 47.75 kB / 0.7593 GB, free: 143.5 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0081/2.626, allocations: 177.7 kB / 0.7594 GB, free: 143.5 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001514/2.628, allocations: 175.1 kB / 0.7596 GB, free: 143.4 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001088/2.629, allocations: 74.19 kB / 0.7597 GB, free: 143.4 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01353/2.643, allocations: 3.702 MB / 0.7633 GB, free: 142.2 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.333e-06/2.643, allocations: 0 / 0.7633 GB, free: 142.2 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01631/2.659, allocations: 1.707 MB / 0.765 GB, free: 142 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (jointPrismatic_x.s,jointPrismatic_x.v,jointPrismatic_y.s,jointPrismatic_y.v,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 (209): * Single equations (assignments): 198 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(4,75.0%) 5,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00193/2.661, allocations: 269.2 kB / 0.7652 GB, free: 141.9 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02899/2.69, allocations: 9.005 MB / 0.774 GB, free: 138.2 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/2.69, allocations: 3.75 kB / 0.774 GB, free: 138.2 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01012/2.7, allocations: 3.835 MB / 0.7778 GB, free: 135.7 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006443/2.707, allocations: 0.7367 MB / 0.7785 GB, free: 135.1 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04279/2.75, allocations: 18.96 MB / 0.797 GB, free: 118.2 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01093/2.761, allocations: 5.168 MB / 0.8021 GB, free: 113 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002814/2.764, allocations: 407.4 kB / 0.8024 GB, free: 112.6 MB / 474.8 MB Notification: Performance of SimCode: time 2.003e-06/2.764, allocations: 0 / 0.8024 GB, free: 112.6 MB / 474.8 MB Notification: Performance of Templates: time 1.185/3.948, allocations: 288.2 MB / 1.084 GB, free: 158.3 MB / 490.8 MB