Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadModel(Modelica): time 1.676/1.676, allocations: 171.2 MB / 185.7 MB, free: 1.406 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.283e-05, allocations: 4 kB / 228.1 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0813/0.08136, allocations: 38.77 MB / 266.9 MB, free: 480 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.3438/0.4252, allocations: 80.11 MB / 347 MB, free: 52 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.05233/0.4776, allocations: 17.39 MB / 364.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02045/0.4981, allocations: 462.9 kB / 364.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01575/0.5139, allocations: 4.297 MB / 369.2 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04313/0.5571, allocations: 11.17 MB / 380.3 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007765/0.5649, allocations: 1.26 MB / 381.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009146/0.5741, allocations: 2.989 MB / 384.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01984/0.594, allocations: 9.729 MB / 394.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003632/0.5977, allocations: 1.469 MB / 395.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004764/0.6025, allocations: 2.045 MB / 397.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004173/0.6067, allocations: 1.287 MB / 399.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001626/0.6084, allocations: 200 kB / 399.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004317/0.6127, allocations: 2.712 MB / 402 MB, free: 8.867 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002335/0.6151, allocations: 492 kB / 402.5 MB, free: 8.387 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01647/0.6316, allocations: 10.61 MB / 413.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.6316, allocations: 0 / 413.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.999e-06/0.6316, allocations: 0 / 413.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004047/0.6321, allocations: 7.938 kB / 413.1 MB, free: 13.75 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2639 * Number of variables: 2639 Notification: Performance of Generate backend data structure: time 0.02872/0.6608, allocations: 7.704 MB / 420.8 MB, free: 5.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.6609, allocations: 8.031 kB / 420.8 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01694/0.6778, allocations: 2.708 MB / 423.5 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01497/0.6928, allocations: 4.941 MB / 428.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008013/0.6937, allocations: 480.5 kB / 429 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00345/0.6972, allocations: 0.6479 MB / 429.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5106/1.208, allocations: 18.88 MB / 448.5 MB, free: 119.6 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004179/1.208, allocations: 65.33 kB / 448.5 MB, free: 119.5 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002538/1.211, allocations: 291.1 kB / 448.8 MB, free: 119.4 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007478/1.218, allocations: 2.869 MB / 451.7 MB, free: 118.8 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05247/1.271, allocations: 16.27 MB / 468 MB, free: 112.1 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.1248/1.396, allocations: 70.31 MB / 0.5257 GB, free: 42.59 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04253/1.438, allocations: 8.982 MB / 0.5344 GB, free: 33.45 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0439/1.482, allocations: 19.76 MB / 0.5537 GB, free: 13.31 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/1.482, allocations: 72.5 kB / 0.5538 GB, free: 13.23 MB / 362.8 MB Notification: Performance of pre-optimization done (n=308): time 7.524e-06/1.482, allocations: 0 / 0.5538 GB, free: 13.23 MB / 362.8 MB Notification: Performance of matching and sorting (n=366): time 0.4403/1.923, allocations: 45.17 MB / 0.5979 GB, free: 103.2 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02288/1.946, allocations: 12.92 MB / 0.6105 GB, free: 92.94 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01183/1.957, allocations: 5.634 MB / 0.616 GB, free: 87.31 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001184/1.959, allocations: 78.95 kB / 0.6161 GB, free: 87.23 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0039/1.963, allocations: 5.112 MB / 0.6211 GB, free: 82.12 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002396/1.965, allocations: 1.369 MB / 0.6224 GB, free: 80.76 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/1.966, allocations: 190.1 kB / 0.6226 GB, free: 80.57 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0006021/1.967, allocations: 0.7072 MB / 0.6233 GB, free: 79.86 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01036/1.977, allocations: 4.395 MB / 0.6276 GB, free: 75.46 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01398/1.991, allocations: 9.763 MB / 0.6371 GB, free: 63.21 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01436/2.006, allocations: 6.425 MB / 0.6434 GB, free: 56.78 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001614/2.006, allocations: 52 kB / 0.6435 GB, free: 56.73 MB / 362.8 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.05265/2.059, allocations: 17.45 MB / 0.6605 GB, free: 39.19 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/2.059, allocations: 88 kB / 0.6606 GB, free: 39.1 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002114/2.059, allocations: 190.6 kB / 0.6608 GB, free: 38.92 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02635/2.085, allocations: 3.576 MB / 0.6643 GB, free: 35.34 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02143/2.107, allocations: 2.207 MB / 0.6664 GB, free: 33.12 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07382/2.181, allocations: 27.85 MB / 0.6936 GB, free: 4.367 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01201/2.193, allocations: 0.6136 MB / 0.6942 GB, free: 3.754 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002212/2.195, allocations: 0.5795 MB / 0.6948 GB, free: 3.176 MB / 362.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * Number of states: 0 () * Number of discrete variables: 63 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[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],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1144): * Single equations (assignments): 1127 * Array equations: 10 * 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 {(3,100.0%) 20,(1,100.0%) 7,(2,100.0%) 24,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.2724/2.467, allocations: 3.474 MB / 0.6982 GB, free: 95.84 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002212/2.47, allocations: 0.5603 MB / 0.6987 GB, free: 95.84 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03977/2.51, allocations: 10.32 MB / 0.7088 GB, free: 94.39 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03235/2.542, allocations: 9.019 MB / 0.7176 GB, free: 91.19 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.04509/2.587, allocations: 8.884 MB / 0.7263 GB, free: 88.01 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001126/2.587, allocations: 19.33 kB / 0.7263 GB, free: 88.01 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07654/2.664, allocations: 24.36 MB / 0.7501 GB, free: 71.49 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-05/2.664, allocations: 8.875 kB / 0.7501 GB, free: 71.48 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00638/2.67, allocations: 0.607 MB / 0.7507 GB, free: 70.88 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01599/2.686, allocations: 2.99 MB / 0.7536 GB, free: 67.89 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001072/2.687, allocations: 71.97 kB / 0.7537 GB, free: 67.82 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04527/2.733, allocations: 21.68 MB / 0.7749 GB, free: 45.82 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01092/2.744, allocations: 6.021 MB / 0.7807 GB, free: 39.58 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0421/2.786, allocations: 15.82 MB / 0.7962 GB, free: 23.73 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004611/2.791, allocations: 1.258 MB / 0.7974 GB, free: 22.57 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002275/2.793, allocations: 65.98 kB / 0.7975 GB, free: 22.51 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0069/2.8, allocations: 268.8 kB / 0.7977 GB, free: 22.25 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001698/2.802, allocations: 249 kB / 0.798 GB, free: 22 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006362/2.802, allocations: 101.5 kB / 0.7981 GB, free: 21.91 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.008779/2.811, allocations: 3.967 MB / 0.8019 GB, free: 17.95 MB / 362.8 MB Notification: Performance of sort global known variables: time 7.21e-07/2.811, allocations: 0 / 0.8019 GB, free: 17.95 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.01211/2.823, allocations: 2.098 MB / 0.804 GB, free: 15.86 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 270 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 19,(3,100.0%) 17,(3,100.0%) 8} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001846/2.825, allocations: 270.2 kB / 0.8042 GB, free: 15.61 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.02496/2.85, allocations: 11.35 MB / 0.8153 GB, free: 4.188 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/2.85, allocations: 0 / 0.8153 GB, free: 4.188 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01293/2.863, allocations: 4.747 MB / 0.82 GB, free: 15.39 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007103/2.87, allocations: 0.8116 MB / 0.8208 GB, free: 14.59 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2949/3.165, allocations: 20.77 MB / 0.841 GB, free: 119.5 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0224/3.188, allocations: 5.559 MB / 0.8465 GB, free: 118.6 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.02056/3.208, allocations: 3.096 MB / 0.8495 GB, free: 118.5 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003154/3.211, allocations: 403.4 kB / 0.8499 GB, free: 118.5 MB / 394.8 MB Notification: Performance of SimCode: time 1.202e-06/3.211, allocations: 0 / 0.8499 GB, free: 118.5 MB / 394.8 MB Notification: Performance of Templates: time 0.2069/3.418, allocations: 81.1 MB / 0.9291 GB, free: 54.92 MB / 394.8 MB