Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 2.241/2.241, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.362e-05/2.342e-05, allocations: 0 / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 50.42 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.4524/0.5616, allocations: 70.32 MB / 415.3 MB, free: 3.055 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04439/0.6061, allocations: 15.58 MB / 430.9 MB, free: 1.574 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01972/0.6258, allocations: 413.2 kB / 431.3 MB, free: 1.508 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01292/0.6388, allocations: 3.694 MB / 435 MB, free: 15.69 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04016/0.679, allocations: 9.841 MB / 444.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007659/0.6867, allocations: 1.133 MB / 446 MB, free: 12.04 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01083/0.6976, allocations: 2.765 MB / 448.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02385/0.7215, allocations: 8.678 MB / 457.4 MB, free: 5.562 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004832/0.7264, allocations: 1.368 MB / 458.8 MB, free: 4.234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005888/0.7324, allocations: 1.826 MB / 460.6 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005572/0.738, allocations: 1.185 MB / 461.8 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002181/0.7403, allocations: 176 kB / 462 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005464/0.7458, allocations: 2.454 MB / 464.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002989/0.7488, allocations: 440 kB / 464.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01937/0.7682, allocations: 9.372 MB / 474.2 MB, free: 5.078 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7683, allocations: 0 / 474.2 MB, free: 5.078 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.7683, allocations: 0 / 474.2 MB, free: 5.078 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000411/0.7687, allocations: 0 / 474.2 MB, free: 5.078 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: 2341 * Number of variables: 2341 Notification: Performance of Generate backend data structure: time 0.0253/0.794, allocations: 6.788 MB / 481 MB, free: 14.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.7941, allocations: 8.031 kB / 481 MB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01652/0.8106, allocations: 2.614 MB / 483.6 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01269/0.8234, allocations: 4.184 MB / 487.8 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005797/0.824, allocations: 430.8 kB / 488.2 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002955/0.827, allocations: 0.5765 MB / 488.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05261/0.8796, allocations: 16.74 MB / 0.4937 GB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003338/0.88, allocations: 63.42 kB / 0.4937 GB, free: 4.934 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002101/0.8821, allocations: 260.4 kB / 0.494 GB, free: 4.723 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00748/0.8897, allocations: 2.571 MB / 0.4965 GB, free: 2.164 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05072/0.9404, allocations: 14.37 MB / 0.5105 GB, free: 3.785 MB / 410.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.7589/1.699, allocations: 62.58 MB / 0.5717 GB, free: 125.1 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04214/1.742, allocations: 7.766 MB / 0.5792 GB, free: 124.4 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03833/1.78, allocations: 16.72 MB / 0.5956 GB, free: 117.1 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/1.78, allocations: 67.23 kB / 0.5956 GB, free: 117 MB / 458.8 MB Notification: Performance of pre-optimization done (n=265): time 7.083e-06/1.78, allocations: 0 / 0.5956 GB, free: 117 MB / 458.8 MB Notification: Performance of matching and sorting (n=331): time 0.2134/1.993, allocations: 43.2 MB / 0.6378 GB, free: 80.75 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03898/2.033, allocations: 17.03 MB / 0.6544 GB, free: 63.22 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/2.044, allocations: 5.236 MB / 0.6596 GB, free: 58.01 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009877/2.045, allocations: 78.64 kB / 0.6596 GB, free: 57.93 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003688/2.049, allocations: 4.504 MB / 0.664 GB, free: 53.43 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002231/2.051, allocations: 1.245 MB / 0.6652 GB, free: 52.2 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/2.052, allocations: 176 kB / 0.6654 GB, free: 52.02 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0007101/2.053, allocations: 0.691 MB / 0.6661 GB, free: 51.32 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009866/2.063, allocations: 4.004 MB / 0.67 GB, free: 47.31 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01333/2.076, allocations: 9.137 MB / 0.6789 GB, free: 35.7 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01374/2.09, allocations: 5.924 MB / 0.6847 GB, free: 29.84 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001866/2.09, allocations: 52 kB / 0.6848 GB, free: 29.79 MB / 458.8 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.05837/2.149, allocations: 17.08 MB / 0.7014 GB, free: 12.65 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/2.149, allocations: 84 kB / 0.7015 GB, free: 12.57 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002376/2.149, allocations: 187.9 kB / 0.7017 GB, free: 12.38 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02663/2.176, allocations: 4.591 MB / 0.7062 GB, free: 7.805 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01209/2.188, allocations: 1.977 MB / 0.7081 GB, free: 5.824 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08299/2.271, allocations: 35.05 MB / 0.7423 GB, free: 1.844 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01176/2.283, allocations: 0.5343 MB / 0.7429 GB, free: 1.309 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002303/2.285, allocations: 0.5545 MB / 0.7434 GB, free: 0.7539 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 826 * Number of states: 0 () * Number of discrete variables: 62 (sensorConstraintRelative.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (1044): * Single equations (assignments): 1031 * Array equations: 6 * 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%) 33,(2,100.0%) 19,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.3427/2.628, allocations: 3.156 MB / 0.7465 GB, free: 168 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001625/2.63, allocations: 0.5156 MB / 0.747 GB, free: 168 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03987/2.67, allocations: 9.804 MB / 0.7566 GB, free: 166.5 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001167/2.67, allocations: 44.31 kB / 0.7566 GB, free: 166.5 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0314/2.701, allocations: 8.378 MB / 0.7648 GB, free: 163.5 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00011/2.701, allocations: 18.23 kB / 0.7648 GB, free: 163.5 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06869/2.77, allocations: 22.13 MB / 0.7864 GB, free: 154.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-05/2.77, allocations: 3.812 kB / 0.7864 GB, free: 154.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004572/2.775, allocations: 461.5 kB / 0.7869 GB, free: 154.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01957/2.794, allocations: 3.28 MB / 0.7901 GB, free: 152 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009266/2.795, allocations: 59.33 kB / 0.7901 GB, free: 151.9 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05471/2.85, allocations: 25.22 MB / 0.8148 GB, free: 126.5 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02467/2.875, allocations: 11.02 MB / 0.8255 GB, free: 115.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04194/2.917, allocations: 14.12 MB / 0.8393 GB, free: 101.2 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/2.919, allocations: 0.5684 MB / 0.8399 GB, free: 100.6 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002499/2.921, allocations: 56 kB / 0.8399 GB, free: 100.6 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006385/2.928, allocations: 211.5 kB / 0.8401 GB, free: 100.4 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001547/2.929, allocations: 227.1 kB / 0.8403 GB, free: 100.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000808/2.93, allocations: 87.98 kB / 0.8404 GB, free: 100.1 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.008727/2.939, allocations: 3.679 MB / 0.844 GB, free: 96.41 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.52e-07/2.939, allocations: 0 / 0.844 GB, free: 96.41 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01194/2.951, allocations: 1.971 MB / 0.8459 GB, free: 94.45 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 202 * 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 {(1,100.0%) 11,(3,100.0%) 30,(3,100.0%) 21} * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.00171/2.953, allocations: 281.7 kB / 0.8462 GB, free: 94.19 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02379/2.976, allocations: 10.53 MB / 0.8565 GB, free: 83.64 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/2.976, allocations: 3.375 kB / 0.8565 GB, free: 83.64 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009653/2.986, allocations: 4.066 MB / 0.8605 GB, free: 79.52 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006563/2.993, allocations: 0.7517 MB / 0.8612 GB, free: 78.79 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04154/3.034, allocations: 19.26 MB / 0.88 GB, free: 59.55 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01041/3.045, allocations: 5.05 MB / 0.8849 GB, free: 54.46 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002731/3.048, allocations: 411.4 kB / 0.8853 GB, free: 54.06 MB / 490.8 MB Notification: Performance of SimCode: time 1.353e-06/3.048, allocations: 0 / 0.8853 GB, free: 54.06 MB / 490.8 MB Notification: Performance of Templates: time 1.091/4.138, allocations: 241.7 MB / 1.121 GB, free: 148.1 MB / 490.8 MB