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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadModel(Modelica): time 2.207/2.207, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.126e-05/4.113e-05, allocations: 8 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1302, allocations: 50.41 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.4331/0.5634, allocations: 83.16 MB / 428.1 MB, free: 2.941 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05353/0.617, allocations: 18.03 MB / 446.2 MB, free: 13.13 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0236/0.6407, allocations: 486.6 kB / 446.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01674/0.6575, allocations: 4.385 MB / 451 MB, free: 9.832 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04933/0.7069, allocations: 11.59 MB / 462.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01009/0.717, allocations: 1.244 MB / 463.9 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01054/0.7276, allocations: 2.966 MB / 466.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02103/0.7487, allocations: 9.657 MB / 476.5 MB, free: 3.625 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003964/0.7528, allocations: 1.469 MB / 478 MB, free: 2.152 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004703/0.7575, allocations: 2.01 MB / 480 MB, free: 140 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004502/0.7621, allocations: 1.205 MB / 481.2 MB, free: 14.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001817/0.7639, allocations: 192 kB / 481.4 MB, free: 14.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004867/0.7688, allocations: 2.716 MB / 484.1 MB, free: 12.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002444/0.7713, allocations: 496 kB / 484.6 MB, free: 11.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01781/0.7892, allocations: 10.47 MB / 495 MB, free: 1.035 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7893, allocations: 0 / 495 MB, free: 1.035 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.327e-06/0.7893, allocations: 0 / 495 MB, free: 1.035 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004984/0.7898, allocations: 0 / 495 MB, free: 1.035 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2627 * Number of variables: 2627 Notification: Performance of Generate backend data structure: time 0.02871/0.8185, allocations: 7.595 MB / 0.4908 GB, free: 9.355 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.8186, allocations: 8.031 kB / 0.4909 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01713/0.8357, allocations: 2.692 MB / 0.4935 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01482/0.8506, allocations: 4.605 MB / 0.498 GB, free: 1.953 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006878/0.8513, allocations: 488.5 kB / 0.4984 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00333/0.8547, allocations: 0.6441 MB / 0.4991 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06128/0.916, allocations: 18.78 MB / 0.5174 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003378/0.9164, allocations: 71.31 kB / 0.5175 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002176/0.9186, allocations: 295.8 kB / 0.5178 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008768/0.9274, allocations: 2.941 MB / 0.5206 GB, free: 9.758 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05763/0.9851, allocations: 16.21 MB / 0.5365 GB, free: 9.531 MB / 442.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.8019/1.787, allocations: 69.99 MB / 0.6048 GB, free: 115.3 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04421/1.831, allocations: 9.11 MB / 0.6137 GB, free: 111 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04629/1.878, allocations: 20.32 MB / 0.6336 GB, free: 93.96 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.96e-05/1.878, allocations: 73.27 kB / 0.6336 GB, free: 93.88 MB / 458.8 MB Notification: Performance of pre-optimization done (n=313): time 7.875e-06/1.878, allocations: 0 / 0.6336 GB, free: 93.88 MB / 458.8 MB Notification: Performance of matching and sorting (n=371): time 0.2074/2.085, allocations: 44.94 MB / 0.6775 GB, free: 48.63 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02322/2.109, allocations: 12.92 MB / 0.6901 GB, free: 34.98 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01262/2.121, allocations: 5.549 MB / 0.6955 GB, free: 29.42 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001169/2.122, allocations: 83.89 kB / 0.6956 GB, free: 29.34 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004055/2.126, allocations: 4.891 MB / 0.7004 GB, free: 24.45 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002522/2.129, allocations: 1.382 MB / 0.7017 GB, free: 23.08 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001474/2.131, allocations: 185.6 kB / 0.7019 GB, free: 22.9 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0007894/2.131, allocations: 0.7118 MB / 0.7026 GB, free: 22.18 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01076/2.142, allocations: 4.34 MB / 0.7069 GB, free: 17.83 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01426/2.156, allocations: 9.651 MB / 0.7163 GB, free: 5.574 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01481/2.171, allocations: 6.344 MB / 0.7225 GB, free: 15.21 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001842/2.172, allocations: 55.94 kB / 0.7225 GB, free: 15.16 MB / 474.8 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.3767/2.548, allocations: 17.08 MB / 0.7392 GB, free: 151.9 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001978/2.549, allocations: 87.84 kB / 0.7393 GB, free: 151.9 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004617/2.549, allocations: 185.9 kB / 0.7395 GB, free: 151.9 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02154/2.571, allocations: 3.566 MB / 0.743 GB, free: 151.8 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01511/2.586, allocations: 2.188 MB / 0.7451 GB, free: 151.8 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05392/2.64, allocations: 27.73 MB / 0.7722 GB, free: 137.3 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01226/2.652, allocations: 0.6068 MB / 0.7728 GB, free: 137.1 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002457/2.655, allocations: 0.5698 MB / 0.7733 GB, free: 137 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 851 * Number of states: 0 () * Number of discrete variables: 68 (sensorConstraintRelative.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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.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],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1139): * Single equations (assignments): 1122 * 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.01/2.665, allocations: 3.456 MB / 0.7767 GB, free: 135.7 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001875/2.667, allocations: 0.5609 MB / 0.7772 GB, free: 135.7 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03607/2.703, allocations: 10.23 MB / 0.7872 GB, free: 130.7 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03122/2.734, allocations: 8.94 MB / 0.796 GB, free: 121.7 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02982/2.764, allocations: 8.813 MB / 0.8046 GB, free: 112.9 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001167/2.764, allocations: 18.78 kB / 0.8046 GB, free: 112.9 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07144/2.835, allocations: 23.98 MB / 0.828 GB, free: 88.86 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.459e-05/2.836, allocations: 4 kB / 0.828 GB, free: 88.86 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006263/2.842, allocations: 0.6037 MB / 0.8286 GB, free: 88.25 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01621/2.858, allocations: 2.974 MB / 0.8315 GB, free: 85.28 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001081/2.859, allocations: 74.98 kB / 0.8316 GB, free: 85.21 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0453/2.905, allocations: 21.69 MB / 0.8528 GB, free: 63.19 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01108/2.916, allocations: 6.023 MB / 0.8586 GB, free: 56.95 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04321/2.959, allocations: 15.28 MB / 0.8736 GB, free: 41.63 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/2.961, allocations: 0.6108 MB / 0.8742 GB, free: 41 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002761/2.964, allocations: 65.83 kB / 0.8742 GB, free: 40.93 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006845/2.971, allocations: 268.1 kB / 0.8745 GB, free: 40.67 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001603/2.972, allocations: 233.9 kB / 0.8747 GB, free: 40.45 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007242/2.973, allocations: 101.4 kB / 0.8748 GB, free: 40.35 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.009541/2.983, allocations: 3.899 MB / 0.8786 GB, free: 36.45 MB / 474.8 MB Notification: Performance of sort global known variables: time 9.71e-07/2.983, allocations: 0 / 0.8786 GB, free: 36.45 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01237/2.995, allocations: 2.079 MB / 0.8806 GB, free: 34.39 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (280): * Single equations (assignments): 272 * 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.001875/2.997, allocations: 283.8 kB / 0.8809 GB, free: 34.12 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02618/3.023, allocations: 11.28 MB / 0.8919 GB, free: 22.82 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/3.023, allocations: 0 / 0.8919 GB, free: 22.82 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01276/3.036, allocations: 4.69 MB / 0.8965 GB, free: 18.08 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00696/3.043, allocations: 0.8042 MB / 0.8973 GB, free: 17.28 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3659/3.409, allocations: 21.44 MB / 0.9182 GB, free: 146.5 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01445/3.423, allocations: 5.528 MB / 0.9236 GB, free: 145.7 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003835/3.427, allocations: 472.4 kB / 0.9241 GB, free: 145.7 MB / 474.8 MB Notification: Performance of SimCode: time 2.385e-06/3.427, allocations: 0 / 0.9241 GB, free: 145.7 MB / 474.8 MB Notification: Performance of Templates: time 0.8103/4.238, allocations: 268.4 MB / 1.186 GB, free: 54.67 MB / 474.8 MB