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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadModel(Modelica): time 1.871/1.871, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.707e-05/1.727e-05, allocations: 3.938 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2526, allocations: 44.49 MB / 294.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.4192, allocations: 106.6 MB / 400.8 MB, free: 7.277 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.4196, allocations: 87.89 kB / 400.8 MB, free: 7.191 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6689/1.089, allocations: 136.6 MB / 0.5249 GB, free: 13.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.667e-06/1.089, allocations: 3.938 kB / 0.5249 GB, free: 13.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000419/1.089, allocations: 155.9 kB / 0.525 GB, free: 13.4 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: 2641 * Number of variables: 2641 Notification: Performance of Generate backend data structure: time 0.02913/1.118, allocations: 7.873 MB / 0.5327 GB, free: 5.449 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/1.118, allocations: 8.031 kB / 0.5327 GB, free: 5.441 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0171/1.135, allocations: 2.899 MB / 0.5355 GB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03265/1.168, allocations: 8.023 MB / 0.5434 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009087/1.169, allocations: 252 kB / 0.5436 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005012/1.174, allocations: 467.8 kB / 0.5441 GB, free: 9.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.5069/1.681, allocations: 11.38 MB / 0.5552 GB, free: 44.44 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0563/1.737, allocations: 16.32 MB / 0.5711 GB, free: 40.75 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006589/1.738, allocations: 88.06 kB / 0.5712 GB, free: 40.75 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003841/1.742, allocations: 40.91 kB / 0.5712 GB, free: 40.75 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005113/1.747, allocations: 1.694 MB / 0.5729 GB, free: 40.74 MB / 378.8 MB Warning: The model contains alias variables with conflicting start and/or 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.1225/1.87, allocations: 79.8 MB / 0.6508 GB, free: 9.168 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/1.88, allocations: 6.011 MB / 0.6567 GB, free: 6.289 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007635/1.888, allocations: 4.47 MB / 0.661 GB, free: 4.371 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002034/1.89, allocations: 1.147 MB / 0.6622 GB, free: 3.383 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.16e-05/1.89, allocations: 65.73 kB / 0.6622 GB, free: 3.32 MB / 394.8 MB Notification: Performance of pre-optimization done (n=318): time 9.335e-06/1.89, allocations: 3.625 kB / 0.6622 GB, free: 3.32 MB / 394.8 MB Notification: Performance of matching and sorting (n=388): time 0.1307/2.021, allocations: 40.49 MB / 0.7018 GB, free: 8.391 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/2.021, allocations: 164.9 kB / 0.7019 GB, free: 8.199 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0115/2.032, allocations: 4.672 MB / 0.7065 GB, free: 4.152 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009652/2.033, allocations: 29.61 kB / 0.7065 GB, free: 4.121 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.2529/2.286, allocations: 5.027 MB / 0.7114 GB, free: 89.31 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00231/2.288, allocations: 1.4 MB / 0.7128 GB, free: 89.31 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/2.29, allocations: 0.6875 kB / 0.7128 GB, free: 89.31 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0008428/2.29, allocations: 0.728 MB / 0.7135 GB, free: 88.98 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009198/2.3, allocations: 4.316 MB / 0.7177 GB, free: 88.95 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01198/2.312, allocations: 9.806 MB / 0.7273 GB, free: 81.89 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01202/2.324, allocations: 6.444 MB / 0.7336 GB, free: 81.83 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001764/2.324, allocations: 56.97 kB / 0.7336 GB, free: 81.83 MB / 426.8 MB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.04347/2.367, allocations: 16.54 MB / 0.7498 GB, free: 80.88 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/2.368, allocations: 94 kB / 0.7499 GB, free: 80.88 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002102/2.368, allocations: 192.5 kB / 0.7501 GB, free: 80.88 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01541/2.383, allocations: 3.779 MB / 0.7538 GB, free: 80.82 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01085/2.394, allocations: 2.33 MB / 0.756 GB, free: 80.63 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04083/2.435, allocations: 25.77 MB / 0.7812 GB, free: 68.05 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01071/2.446, allocations: 480.1 kB / 0.7817 GB, free: 68.03 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00254/2.448, allocations: 0.604 MB / 0.7823 GB, free: 67.95 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 890 * 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 (1198): * Single equations (assignments): 1183 * Array equations: 8 * 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%) 19,(1,100.0%) 6,(4,75.0%) 22,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.002745/2.451, allocations: 0.6097 MB / 0.7828 GB, free: 67.58 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00153/2.453, allocations: 0.5345 MB / 0.7834 GB, free: 67.28 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02778/2.481, allocations: 10.3 MB / 0.7934 GB, free: 63.6 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02391/2.504, allocations: 9.02 MB / 0.8022 GB, free: 59.62 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02167/2.526, allocations: 8.905 MB / 0.8109 GB, free: 52.38 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001046/2.526, allocations: 22.61 kB / 0.811 GB, free: 52.37 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05575/2.582, allocations: 23.74 MB / 0.8341 GB, free: 33.44 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-05/2.582, allocations: 4.094 kB / 0.8341 GB, free: 33.43 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004367/2.587, allocations: 0.6612 MB / 0.8348 GB, free: 32.92 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01155/2.598, allocations: 2.969 MB / 0.8377 GB, free: 30.92 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009114/2.599, allocations: 19.36 kB / 0.8377 GB, free: 30.91 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03335/2.632, allocations: 19.77 MB / 0.857 GB, free: 10.77 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007778/2.64, allocations: 5.508 MB / 0.8624 GB, free: 5.031 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2938/2.934, allocations: 15.97 MB / 0.878 GB, free: 73.03 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003823/2.938, allocations: 1.236 MB / 0.8792 GB, free: 72.94 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001734/2.94, allocations: 15.08 kB / 0.8792 GB, free: 72.94 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005011/2.945, allocations: 224.5 kB / 0.8794 GB, free: 72.94 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001353/2.946, allocations: 254.3 kB / 0.8797 GB, free: 72.93 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008193/2.947, allocations: 117.6 kB / 0.8798 GB, free: 72.93 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.006891/2.954, allocations: 3.133 MB / 0.8828 GB, free: 72.75 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.873e-06/2.954, allocations: 2.125 kB / 0.8828 GB, free: 72.75 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01242/2.966, allocations: 1.896 MB / 0.8847 GB, free: 72.75 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 8 ($STATESET1.x[2],$STATESET1.x[1],$STATESET0.x[2],$STATESET0.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 (302): * Single equations (assignments): 294 * 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%) 16,(3,100.0%) 7} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001471/2.968, allocations: 230.4 kB / 0.8849 GB, free: 72.67 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.02197/2.99, allocations: 11.27 MB / 0.8959 GB, free: 71.84 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/2.99, allocations: 6.359 kB / 0.8959 GB, free: 71.84 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0101/3, allocations: 4.714 MB / 0.9005 GB, free: 71.36 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005048/3.005, allocations: 0.664 MB / 0.9012 GB, free: 71.34 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0368/3.042, allocations: 15.76 MB / 0.9166 GB, free: 68.22 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01241/3.055, allocations: 5.584 MB / 0.922 GB, free: 66.41 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002814/3.057, allocations: 480.7 kB / 0.9225 GB, free: 66.39 MB / 426.8 MB Notification: Performance of SimCode: time 1.948e-06/3.057, allocations: 2.406 kB / 0.9225 GB, free: 66.39 MB / 426.8 MB Notification: Performance of Templates: time 0.8863/3.944, allocations: 269.6 MB / 1.186 GB, free: 108.4 MB / 458.8 MB