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_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadModel(Modelica): time 1.733/1.733, allocations: 171.1 MB / 186.3 MB, free: 1.41 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.079e-05, allocations: 4 kB / 228.1 MB, free: 7.984 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08403/0.08409, allocations: 38.78 MB / 266.9 MB, free: 1.125 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.348/0.4321, allocations: 80.11 MB / 347 MB, free: 500 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.05744/0.4896, allocations: 17.39 MB / 364.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02121/0.5109, allocations: 466.8 kB / 364.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.017/0.528, allocations: 4.297 MB / 369.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04534/0.5734, allocations: 11.17 MB / 380.3 MB, free: 15.08 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008438/0.5818, allocations: 1.252 MB / 381.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009798/0.5917, allocations: 2.986 MB / 384.6 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02062/0.6124, allocations: 9.737 MB / 394.3 MB, free: 1.027 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003991/0.6164, allocations: 1.473 MB / 395.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004788/0.6213, allocations: 2.037 MB / 397.8 MB, free: 13.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004507/0.6258, allocations: 1.295 MB / 399.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001878/0.6278, allocations: 200 kB / 399.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004609/0.6324, allocations: 2.712 MB / 402 MB, free: 9.297 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002538/0.635, allocations: 492 kB / 402.5 MB, free: 8.816 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01715/0.6522, allocations: 10.61 MB / 413.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.6523, allocations: 0 / 413.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6523, allocations: 3.938 kB / 413.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004752/0.6528, allocations: 0 / 413.1 MB, free: 14.18 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.02993/0.6827, allocations: 7.704 MB / 420.8 MB, free: 6.395 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.6828, allocations: 12.03 kB / 420.8 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01717/0.7, allocations: 2.704 MB / 423.5 MB, free: 3.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01527/0.7153, allocations: 4.941 MB / 428.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006892/0.716, allocations: 484.4 kB / 428.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003503/0.7195, allocations: 0.6479 MB / 429.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.557/1.277, allocations: 18.88 MB / 448.5 MB, free: 119.6 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004676/1.277, allocations: 68.59 kB / 448.5 MB, free: 119.6 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002642/1.28, allocations: 290.4 kB / 448.8 MB, free: 119.5 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008204/1.288, allocations: 2.863 MB / 451.7 MB, free: 118.9 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05508/1.343, allocations: 16.27 MB / 467.9 MB, free: 112.2 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.1307/1.474, allocations: 70.31 MB / 0.5256 GB, free: 43.05 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04353/1.517, allocations: 8.987 MB / 0.5344 GB, free: 33.91 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04477/1.562, allocations: 19.76 MB / 0.5537 GB, free: 13.77 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.124e-05/1.562, allocations: 72.48 kB / 0.5538 GB, free: 13.7 MB / 362.8 MB Notification: Performance of pre-optimization done (n=308): time 7.545e-06/1.562, allocations: 4 kB / 0.5538 GB, free: 13.69 MB / 362.8 MB Notification: Performance of matching and sorting (n=366): time 0.5524/2.115, allocations: 45.17 MB / 0.5979 GB, free: 103.3 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03247/2.147, allocations: 12.92 MB / 0.6105 GB, free: 93.4 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01747/2.165, allocations: 5.627 MB / 0.616 GB, free: 87.83 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00151/2.166, allocations: 83.28 kB / 0.6161 GB, free: 87.75 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005339/2.172, allocations: 4.938 MB / 0.6209 GB, free: 82.81 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003531/2.175, allocations: 1.359 MB / 0.6222 GB, free: 81.46 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002665/2.178, allocations: 190.7 kB / 0.6224 GB, free: 81.28 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.001273/2.179, allocations: 0.7197 MB / 0.6231 GB, free: 80.55 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01537/2.195, allocations: 4.391 MB / 0.6274 GB, free: 76.15 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01948/2.214, allocations: 9.758 MB / 0.6369 GB, free: 63.9 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02005/2.235, allocations: 6.433 MB / 0.6432 GB, free: 57.45 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002067/2.235, allocations: 52 kB / 0.6433 GB, free: 57.4 MB / 362.8 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.07351/2.308, allocations: 17.24 MB / 0.6601 GB, free: 40.07 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000204/2.309, allocations: 84 kB / 0.6602 GB, free: 39.99 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003619/2.309, allocations: 188 kB / 0.6604 GB, free: 39.8 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02602/2.335, allocations: 3.579 MB / 0.6639 GB, free: 36.22 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01831/2.353, allocations: 2.199 MB / 0.666 GB, free: 34.02 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07895/2.432, allocations: 27.84 MB / 0.6932 GB, free: 5.262 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01576/2.448, allocations: 0.618 MB / 0.6938 GB, free: 4.645 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002472/2.451, allocations: 0.5718 MB / 0.6944 GB, free: 4.074 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.009966/2.461, allocations: 3.483 MB / 0.6978 GB, free: 0.5781 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2536/2.714, allocations: 0.5639 MB / 0.6983 GB, free: 97.8 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04266/2.757, allocations: 10.31 MB / 0.7084 GB, free: 96.36 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03738/2.795, allocations: 9.024 MB / 0.7172 GB, free: 93.18 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02966/2.824, allocations: 8.884 MB / 0.7259 GB, free: 90 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001142/2.824, allocations: 19.09 kB / 0.7259 GB, free: 90 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0714/2.896, allocations: 24.36 MB / 0.7497 GB, free: 73.02 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.378e-05/2.896, allocations: 4 kB / 0.7497 GB, free: 73.02 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006322/2.902, allocations: 0.6084 MB / 0.7503 GB, free: 72.41 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01597/2.918, allocations: 2.994 MB / 0.7532 GB, free: 69.43 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001141/2.92, allocations: 75.92 kB / 0.7533 GB, free: 69.35 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04511/2.965, allocations: 21.68 MB / 0.7745 GB, free: 47.36 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.011/2.976, allocations: 6.015 MB / 0.7803 GB, free: 41.14 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04237/3.018, allocations: 15.82 MB / 0.7958 GB, free: 25.29 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004681/3.023, allocations: 1.264 MB / 0.797 GB, free: 24.32 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002228/3.025, allocations: 62.7 kB / 0.7971 GB, free: 24.26 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00697/3.032, allocations: 275.5 kB / 0.7973 GB, free: 23.99 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001602/3.034, allocations: 242.7 kB / 0.7976 GB, free: 23.76 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005666/3.034, allocations: 106.5 kB / 0.7977 GB, free: 23.66 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.008927/3.043, allocations: 3.967 MB / 0.8015 GB, free: 19.7 MB / 362.8 MB Notification: Performance of sort global known variables: time 8.22e-07/3.043, allocations: 0 / 0.8015 GB, free: 19.7 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.01243/3.056, allocations: 2.099 MB / 0.8036 GB, free: 17.62 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.001961/3.058, allocations: 274.6 kB / 0.8039 GB, free: 17.36 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.02634/3.084, allocations: 11.35 MB / 0.8149 GB, free: 5.965 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/3.084, allocations: 0 / 0.8149 GB, free: 5.965 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0136/3.098, allocations: 4.738 MB / 0.8196 GB, free: 1.176 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007573/3.105, allocations: 0.7927 MB / 0.8203 GB, free: 396 kB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.306/3.412, allocations: 21.64 MB / 0.8415 GB, free: 103.6 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01461/3.426, allocations: 5.558 MB / 0.8469 GB, free: 102.7 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003697/3.43, allocations: 476.1 kB / 0.8473 GB, free: 102.7 MB / 378.8 MB Notification: Performance of SimCode: time 2.184e-06/3.43, allocations: 0 / 0.8473 GB, free: 102.7 MB / 378.8 MB Notification: Performance of Templates: time 0.7425/4.173, allocations: 270.5 MB / 1.112 GB, free: 2.746 MB / 394.8 MB