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 2.005/2.005, allocations: 194.9 MB / 211.2 MB, free: 7.867 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.801e-05/2.805e-05, allocations: 4 kB / 258.8 MB, free: 8.23 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3131, allocations: 44.51 MB / 303.3 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.1285/0.4417, allocations: 80.13 MB / 383.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05029/0.492, allocations: 17.43 MB / 400.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01972/0.5118, allocations: 466.9 kB / 401.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01521/0.5271, allocations: 4.293 MB / 405.6 MB, free: 7.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04388/0.571, allocations: 11.17 MB / 416.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008064/0.5791, allocations: 1.252 MB / 418 MB, free: 10.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.009377/0.5886, allocations: 2.97 MB / 421 MB, free: 7.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3322/0.9209, allocations: 9.732 MB / 430.7 MB, free: 5.496 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004493/0.9254, allocations: 1.476 MB / 432.2 MB, free: 5.496 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004812/0.9303, allocations: 2.042 MB / 434.2 MB, free: 5.488 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004475/0.9348, allocations: 1.292 MB / 435.5 MB, free: 5.484 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002205/0.9371, allocations: 199.8 kB / 435.7 MB, free: 5.484 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004414/0.9415, allocations: 2.713 MB / 438.4 MB, free: 5.484 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002827/0.9444, allocations: 487.4 kB / 438.9 MB, free: 5.484 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0152/0.9596, allocations: 10.62 MB / 449.5 MB, free: 4.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9597, allocations: 0 / 449.5 MB, free: 4.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.9597, allocations: 0 / 449.5 MB, free: 4.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005733/0.9603, allocations: 0 / 449.5 MB, free: 4.59 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.02955/0.9899, allocations: 7.713 MB / 457.3 MB, free: 264 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.9899, allocations: 12.75 kB / 457.3 MB, free: 260 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01784/1.008, allocations: 2.709 MB / 460 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01537/1.023, allocations: 4.948 MB / 464.9 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005393/1.024, allocations: 483.5 kB / 465.4 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003749/1.028, allocations: 0.6384 MB / 466 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06165/1.089, allocations: 18.89 MB / 484.9 MB, free: 5.125 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003942/1.09, allocations: 65.38 kB / 485 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002634/1.092, allocations: 300.1 kB / 485.3 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007624/1.1, allocations: 2.865 MB / 488.1 MB, free: 2.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05673/1.157, allocations: 16.27 MB / 0.4926 GB, free: 7.41 MB / 394.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.1573/1.314, allocations: 70.33 MB / 0.5613 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05763/1.372, allocations: 8.975 MB / 0.57 GB, free: 7.148 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07015/1.442, allocations: 19.77 MB / 0.5894 GB, free: 3.133 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/1.442, allocations: 64.56 kB / 0.5894 GB, free: 3.059 MB / 474.7 MB Notification: Performance of pre-optimization done (n=308): time 1.048e-05/1.442, allocations: 0 / 0.5894 GB, free: 3.059 MB / 474.7 MB Notification: Performance of matching and sorting (n=366): time 0.5076/1.95, allocations: 45.19 MB / 0.6335 GB, free: 180.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02285/1.973, allocations: 12.91 MB / 0.6462 GB, free: 167.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01295/1.986, allocations: 5.637 MB / 0.6517 GB, free: 162 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001233/1.987, allocations: 83.11 kB / 0.6517 GB, free: 162 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00394/1.991, allocations: 4.934 MB / 0.6566 GB, free: 157 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002554/1.994, allocations: 1.358 MB / 0.6579 GB, free: 155.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001578/1.995, allocations: 195.8 kB / 0.6581 GB, free: 155.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007583/1.996, allocations: 0.7158 MB / 0.6588 GB, free: 154.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01521/2.011, allocations: 4.4 MB / 0.6631 GB, free: 150.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0211/2.032, allocations: 9.76 MB / 0.6726 GB, free: 138.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02132/2.054, allocations: 6.417 MB / 0.6789 GB, free: 131.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002306/2.054, allocations: 52 kB / 0.6789 GB, free: 131.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.07488/2.129, allocations: 17.25 MB / 0.6958 GB, free: 114.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00021/2.129, allocations: 84 kB / 0.6958 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004098/2.13, allocations: 188 kB / 0.696 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02507/2.155, allocations: 3.577 MB / 0.6995 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02003/2.175, allocations: 2.207 MB / 0.7017 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07484/2.25, allocations: 27.84 MB / 0.7289 GB, free: 79.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01941/2.269, allocations: 0.6147 MB / 0.7295 GB, free: 78.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003358/2.273, allocations: 0.5711 MB / 0.73 GB, free: 78.23 MB / 474.7 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.01439/2.287, allocations: 3.491 MB / 0.7334 GB, free: 74.73 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003231/2.29, allocations: 0.5631 MB / 0.734 GB, free: 74.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0531/2.343, allocations: 10.31 MB / 0.744 GB, free: 63.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04537/2.389, allocations: 9.016 MB / 0.7529 GB, free: 54.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.04225/2.431, allocations: 8.883 MB / 0.7615 GB, free: 45.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001324/2.431, allocations: 19.94 kB / 0.7615 GB, free: 45.56 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1084/2.54, allocations: 24.36 MB / 0.7853 GB, free: 21.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.078e-05/2.54, allocations: 4 kB / 0.7853 GB, free: 21.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008907/2.549, allocations: 0.613 MB / 0.7859 GB, free: 20.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02399/2.573, allocations: 2.977 MB / 0.7888 GB, free: 17.42 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001399/2.574, allocations: 71.98 kB / 0.7889 GB, free: 17.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3763/2.951, allocations: 21.7 MB / 0.8101 GB, free: 172.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01304/2.964, allocations: 6.023 MB / 0.816 GB, free: 168.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04577/3.01, allocations: 15.82 MB / 0.8314 GB, free: 161.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005197/3.015, allocations: 1.262 MB / 0.8327 GB, free: 161.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002872/3.018, allocations: 59.56 kB / 0.8327 GB, free: 161.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007156/3.025, allocations: 271.4 kB / 0.833 GB, free: 161.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001709/3.027, allocations: 247.5 kB / 0.8332 GB, free: 161.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009944/3.028, allocations: 101.2 kB / 0.8333 GB, free: 161.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009805/3.038, allocations: 3.967 MB / 0.8372 GB, free: 160 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.52e-07/3.038, allocations: 0 / 0.8372 GB, free: 160 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01321/3.051, allocations: 2.091 MB / 0.8392 GB, free: 159.8 MB / 474.7 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.002024/3.053, allocations: 281.8 kB / 0.8395 GB, free: 159.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02637/3.079, allocations: 11.34 MB / 0.8506 GB, free: 150.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/3.08, allocations: 0 / 0.8506 GB, free: 150.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01594/3.096, allocations: 4.74 MB / 0.8552 GB, free: 146.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009986/3.106, allocations: 0.788 MB / 0.856 GB, free: 145.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06417/3.17, allocations: 21.66 MB / 0.8771 GB, free: 126 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01331/3.183, allocations: 5.551 MB / 0.8826 GB, free: 120.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003837/3.187, allocations: 483.3 kB / 0.883 GB, free: 120.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.743e-06/3.187, allocations: 0 / 0.883 GB, free: 120.4 MB / 474.7 MB Notification: Performance of Templates: time 0.7963/3.983, allocations: 270.7 MB / 1.147 GB, free: 28.38 MB / 474.7 MB