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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.645e-05, allocations: 4 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3071, allocations: 44.5 MB / 303.3 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.1101/0.4172, allocations: 71.09 MB / 374.4 MB, free: 6.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04627/0.4635, allocations: 15.67 MB / 390.1 MB, free: 6.707 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01737/0.4809, allocations: 411 kB / 390.5 MB, free: 6.305 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01341/0.4944, allocations: 3.795 MB / 394.3 MB, free: 2.492 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03844/0.5329, allocations: 9.926 MB / 404.2 MB, free: 8.539 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007195/0.5401, allocations: 1.186 MB / 405.4 MB, free: 7.352 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01178/0.5519, allocations: 2.942 MB / 408.3 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02612/0.5781, allocations: 8.664 MB / 417 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005002/0.5832, allocations: 1.391 MB / 418.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006464/0.5897, allocations: 2.026 MB / 420.4 MB, free: 8.254 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006023/0.5958, allocations: 1.225 MB / 421.6 MB, free: 7.027 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002608/0.5985, allocations: 200 kB / 421.8 MB, free: 6.832 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006185/0.6047, allocations: 2.599 MB / 424.4 MB, free: 4.227 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003329/0.6081, allocations: 464 kB / 424.9 MB, free: 3.773 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3441/0.9523, allocations: 10.12 MB / 435 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9523, allocations: 0 / 435 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.9524, allocations: 2.812 kB / 435 MB, free: 10.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004952/0.9529, allocations: 2.625 kB / 435 MB, free: 10.87 MB / 362.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.02385/0.9767, allocations: 6.817 MB / 441.8 MB, free: 8.145 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.9768, allocations: 9.594 kB / 441.8 MB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01748/0.9943, allocations: 2.718 MB / 444.5 MB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/1.008, allocations: 4.629 MB / 449.2 MB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005609/1.009, allocations: 459.2 kB / 449.6 MB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004003/1.013, allocations: 0.6871 MB / 450.3 MB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05647/1.069, allocations: 18.2 MB / 468.5 MB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004293/1.07, allocations: 59.28 kB / 468.6 MB, free: 2.383 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003363/1.073, allocations: 280.9 kB / 468.8 MB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007727/1.081, allocations: 2.992 MB / 471.8 MB, free: 1.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0542/1.135, allocations: 15.19 MB / 487 MB, free: 10.05 MB / 378.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.1351/1.27, allocations: 66.21 MB / 0.5403 GB, free: 3.941 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04198/1.312, allocations: 7.708 MB / 0.5478 GB, free: 13.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03956/1.352, allocations: 14.17 MB / 0.5616 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.803e-05/1.352, allocations: 58.53 kB / 0.5617 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of pre-optimization done (n=251): time 7.274e-06/1.352, allocations: 2.062 kB / 0.5617 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of matching and sorting (n=297): time 0.4381/1.79, allocations: 33.05 MB / 0.594 GB, free: 199.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.29e-05/1.79, allocations: 160.3 kB / 0.5941 GB, free: 199.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01304/1.804, allocations: 5.44 MB / 0.5994 GB, free: 198.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008307/1.804, allocations: 69.94 kB / 0.5995 GB, free: 198.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004156/1.809, allocations: 4.803 MB / 0.6042 GB, free: 195.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001908/1.811, allocations: 1.135 MB / 0.6053 GB, free: 194.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/1.812, allocations: 176.6 kB / 0.6055 GB, free: 194.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006427/1.812, allocations: 0.6875 MB / 0.6061 GB, free: 194 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008668/1.821, allocations: 3.403 MB / 0.6094 GB, free: 192.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01219/1.833, allocations: 8.635 MB / 0.6179 GB, free: 184.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01624/1.85, allocations: 5.293 MB / 0.623 GB, free: 182.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000205/1.85, allocations: 53.34 kB / 0.6231 GB, free: 182.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.05618/1.906, allocations: 13.7 MB / 0.6365 GB, free: 174.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001977/1.906, allocations: 84 kB / 0.6366 GB, free: 174.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003646/1.907, allocations: 188 kB / 0.6367 GB, free: 174.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01388/1.921, allocations: 2.27 MB / 0.639 GB, free: 173 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01695/1.938, allocations: 2.038 MB / 0.641 GB, free: 171.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03724/1.975, allocations: 20.85 MB / 0.6613 GB, free: 150.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/1.985, allocations: 0.4966 MB / 0.6618 GB, free: 150 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00188/1.987, allocations: 0.5129 MB / 0.6623 GB, free: 149.5 MB / 474.7 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.008728/1.996, allocations: 3.322 MB / 0.6655 GB, free: 146.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/1.997, allocations: 0.5283 MB / 0.6661 GB, free: 145.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02325/2.02, allocations: 7.211 MB / 0.6731 GB, free: 138.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.881e-05/2.021, allocations: 40 kB / 0.6731 GB, free: 138.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.837e-05/2.021, allocations: 8 kB / 0.6731 GB, free: 138.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-05/2.021, allocations: 15.95 kB / 0.6732 GB, free: 138.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04624/2.067, allocations: 15.47 MB / 0.6883 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.103e-05/2.067, allocations: 3.984 kB / 0.6883 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005472/2.073, allocations: 487.2 kB / 0.6887 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01142/2.084, allocations: 2.076 MB / 0.6908 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007316/2.085, allocations: 55.98 kB / 0.6908 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03554/2.12, allocations: 23.24 MB / 0.7135 GB, free: 95.55 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/2.12, allocations: 3.938 kB / 0.7135 GB, free: 95.54 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03043/2.151, allocations: 11.15 MB / 0.7244 GB, free: 84.19 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003735/2.155, allocations: 1.025 MB / 0.7254 GB, free: 83.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00189/2.157, allocations: 55.5 kB / 0.7255 GB, free: 83.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005073/2.162, allocations: 183.6 kB / 0.7256 GB, free: 82.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00111/2.163, allocations: 185.7 kB / 0.7258 GB, free: 82.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003832/2.163, allocations: 76 kB / 0.7259 GB, free: 82.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008701/2.172, allocations: 3.808 MB / 0.7296 GB, free: 78.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.02e-07/2.172, allocations: 0 / 0.7296 GB, free: 78.85 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01087/2.183, allocations: 1.75 MB / 0.7313 GB, free: 77.1 MB / 474.7 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.001579/2.185, allocations: 256.2 kB / 0.7315 GB, free: 76.85 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02217/2.207, allocations: 9.321 MB / 0.7407 GB, free: 67.47 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.467e-06/2.207, allocations: 4 kB / 0.7407 GB, free: 67.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01048/2.217, allocations: 4.201 MB / 0.7448 GB, free: 63.16 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006303/2.224, allocations: 0.7358 MB / 0.7455 GB, free: 62.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.046/2.27, allocations: 19.57 MB / 0.7646 GB, free: 42.81 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01151/2.281, allocations: 5.283 MB / 0.7697 GB, free: 37.49 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00268/2.284, allocations: 423.4 kB / 0.7702 GB, free: 37.07 MB / 474.7 MB Notification: Performance of SimCode: time 1.132e-06/2.284, allocations: 0 / 0.7702 GB, free: 37.07 MB / 474.7 MB Notification: Performance of Templates: time 1.113/3.397, allocations: 325.4 MB / 1.088 GB, free: 81.45 MB / 474.7 MB