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_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 1.725/1.725, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.689e-05/2.684e-05, allocations: 4 kB / 228.2 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.08794, allocations: 38.76 MB / 266.9 MB, free: 484 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.3296/0.4176, allocations: 67.86 MB / 334.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.04593/0.4636, allocations: 15.07 MB / 349.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01847/0.4821, allocations: 391.1 kB / 350.2 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01641/0.4986, allocations: 3.616 MB / 353.8 MB, free: 9.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07742/0.5761, allocations: 9.511 MB / 363.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007361/0.5835, allocations: 1.151 MB / 364.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008809/0.5924, allocations: 2.767 MB / 367.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01865/0.6111, allocations: 8.669 MB / 375.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00371/0.6148, allocations: 1.379 MB / 377.3 MB, free: 1.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004483/0.6194, allocations: 1.847 MB / 379.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004392/0.6238, allocations: 1.28 MB / 380.4 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001836/0.6257, allocations: 180 kB / 380.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004247/0.63, allocations: 2.455 MB / 383.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002214/0.6323, allocations: 432 kB / 383.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01496/0.6473, allocations: 9.53 MB / 393 MB, free: 1.918 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6473, allocations: 0 / 393 MB, free: 1.918 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.6474, allocations: 0 / 393 MB, free: 1.918 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004066/0.6478, allocations: 0 / 393 MB, free: 1.918 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2354 * Number of variables: 2354 Notification: Performance of Generate backend data structure: time 0.02575/0.6735, allocations: 6.86 MB / 399.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.6736, allocations: 8.031 kB / 399.9 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/0.6903, allocations: 2.611 MB / 402.5 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01361/0.704, allocations: 4.517 MB / 407 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005773/0.7046, allocations: 427.1 kB / 407.4 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002948/0.7076, allocations: 0.5737 MB / 408 MB, free: 2.758 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05353/0.7612, allocations: 16.81 MB / 424.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003163/0.7615, allocations: 55.47 kB / 424.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002026/0.7636, allocations: 259.8 kB / 425.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006986/0.7706, allocations: 2.545 MB / 427.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.532/1.303, allocations: 14.42 MB / 442.1 MB, free: 118.8 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.1156/1.418, allocations: 62.95 MB / 0.4932 GB, free: 74.13 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03662/1.455, allocations: 7.628 MB / 0.5007 GB, free: 66.36 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.037/1.492, allocations: 16.15 MB / 0.5164 GB, free: 49.86 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/1.492, allocations: 64.5 kB / 0.5165 GB, free: 49.79 MB / 362.8 MB Notification: Performance of pre-optimization done (n=260): time 6.873e-06/1.492, allocations: 0 / 0.5165 GB, free: 49.79 MB / 362.8 MB Notification: Performance of matching and sorting (n=326): time 0.2116/1.704, allocations: 43.52 MB / 0.559 GB, free: 5.965 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2985/2.002, allocations: 17.03 MB / 0.5756 GB, free: 110.6 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0138/2.016, allocations: 5.321 MB / 0.5808 GB, free: 108.9 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001052/2.017, allocations: 76.91 kB / 0.5809 GB, free: 108.9 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004148/2.021, allocations: 4.711 MB / 0.5855 GB, free: 105.8 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002178/2.024, allocations: 1.233 MB / 0.5867 GB, free: 104.9 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/2.025, allocations: 181.5 kB / 0.5869 GB, free: 104.8 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0007104/2.026, allocations: 0.6878 MB / 0.5875 GB, free: 104.3 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01018/2.036, allocations: 4.053 MB / 0.5915 GB, free: 102.9 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01339/2.049, allocations: 9.249 MB / 0.6005 GB, free: 94.51 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01359/2.063, allocations: 6.003 MB / 0.6064 GB, free: 92.13 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001696/2.063, allocations: 53.31 kB / 0.6064 GB, free: 92.1 MB / 362.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.05915/2.122, allocations: 17.42 MB / 0.6235 GB, free: 76.04 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/2.123, allocations: 92.23 kB / 0.6235 GB, free: 75.95 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002343/2.123, allocations: 186.4 kB / 0.6237 GB, free: 75.77 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02626/2.149, allocations: 4.589 MB / 0.6282 GB, free: 71.2 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01221/2.161, allocations: 2 MB / 0.6302 GB, free: 69.2 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06937/2.231, allocations: 35.04 MB / 0.6644 GB, free: 33.25 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0116/2.242, allocations: 0.5473 MB / 0.6649 GB, free: 32.7 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002065/2.245, allocations: 0.5552 MB / 0.6655 GB, free: 32.14 MB / 362.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 836 * Number of states: 0 () * Number of discrete variables: 57 (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.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 (1049): * Single equations (assignments): 1036 * 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,(2,100.0%) 13,(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.00827/2.253, allocations: 3.193 MB / 0.6686 GB, free: 28.94 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001656/2.255, allocations: 0.5207 MB / 0.6691 GB, free: 28.41 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03628/2.291, allocations: 9.9 MB / 0.6788 GB, free: 18.38 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.661e-05/2.291, allocations: 40 kB / 0.6788 GB, free: 18.34 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03034/2.321, allocations: 8.46 MB / 0.6871 GB, free: 9.746 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.653e-05/2.321, allocations: 13.92 kB / 0.6871 GB, free: 9.734 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3215/2.643, allocations: 22.55 MB / 0.7091 GB, free: 95.33 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.313e-05/2.643, allocations: 6 kB / 0.7091 GB, free: 95.33 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004641/2.648, allocations: 457.3 kB / 0.7095 GB, free: 95.3 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01938/2.667, allocations: 3.296 MB / 0.7127 GB, free: 94.68 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008941/2.668, allocations: 61.97 kB / 0.7128 GB, free: 94.64 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05582/2.724, allocations: 25.19 MB / 0.7374 GB, free: 81.49 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02471/2.749, allocations: 11.03 MB / 0.7482 GB, free: 72.36 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04228/2.791, allocations: 14.66 MB / 0.7625 GB, free: 58.47 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004101/2.795, allocations: 1.119 MB / 0.7636 GB, free: 57.61 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002195/2.797, allocations: 65.55 kB / 0.7636 GB, free: 57.55 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006498/2.804, allocations: 216.3 kB / 0.7639 GB, free: 57.34 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001476/2.806, allocations: 240.2 kB / 0.7641 GB, free: 57.11 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005108/2.806, allocations: 89.95 kB / 0.7642 GB, free: 57.02 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.008245/2.814, allocations: 3.743 MB / 0.7678 GB, free: 53.31 MB / 362.8 MB Notification: Performance of sort global known variables: time 9.11e-07/2.814, allocations: 0 / 0.7678 GB, free: 53.31 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.01115/2.826, allocations: 1.99 MB / 0.7698 GB, free: 51.34 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,bodyOfJoint.body.w_a[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 200 * 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.001532/2.827, allocations: 271.9 kB / 0.77 GB, free: 51.09 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.02319/2.85, allocations: 10.62 MB / 0.7804 GB, free: 40.48 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/2.85, allocations: 0 / 0.7804 GB, free: 40.48 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009866/2.86, allocations: 4.131 MB / 0.7844 GB, free: 36.3 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006571/2.867, allocations: 0.7473 MB / 0.7852 GB, free: 35.57 MB / 362.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Joints.mo:260:5-270:3:writable] Warning: Variable joint.phi has attribute stateSelect=StateSelect.never, but was selected as a state Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03908/2.906, allocations: 18.67 MB / 0.8034 GB, free: 16.8 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/2.916, allocations: 5.079 MB / 0.8084 GB, free: 11.68 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.01282/2.929, allocations: 2.759 MB / 0.811 GB, free: 8.918 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002493/2.932, allocations: 367.4 kB / 0.8114 GB, free: 8.559 MB / 362.8 MB Notification: Performance of SimCode: time 1.553e-06/2.932, allocations: 0 / 0.8114 GB, free: 8.559 MB / 362.8 MB Notification: Performance of Templates: time 0.4705/3.402, allocations: 83.69 MB / 0.8931 GB, free: 69.48 MB / 378.8 MB