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_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 1.793/1.793, allocations: 171.1 MB / 186.3 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.681e-05/2.688e-05, allocations: 4 kB / 228.1 MB, free: 7.977 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08246/0.08251, allocations: 38.77 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.3251/0.4076, allocations: 67.85 MB / 334.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.04681/0.4545, allocations: 15.07 MB / 349.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01853/0.4731, allocations: 391.1 kB / 350.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01423/0.4874, allocations: 3.616 MB / 353.8 MB, free: 9.641 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03904/0.5265, allocations: 9.513 MB / 363.3 MB, free: 104 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007441/0.534, allocations: 1.151 MB / 364.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009153/0.5432, allocations: 2.764 MB / 367.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01879/0.562, allocations: 8.669 MB / 375.9 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003804/0.5659, allocations: 1.376 MB / 377.3 MB, free: 2.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004478/0.5704, allocations: 1.858 MB / 379.1 MB, free: 212 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004521/0.575, allocations: 1.264 MB / 380.4 MB, free: 14.94 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002007/0.5771, allocations: 180 kB / 380.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004505/0.5816, allocations: 2.458 MB / 383 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002416/0.5841, allocations: 432 kB / 383.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01592/0.6001, allocations: 9.526 MB / 393 MB, free: 2.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6002, allocations: 0 / 393 MB, free: 2.332 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.6002, allocations: 4 kB / 393 MB, free: 2.328 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004155/0.6006, allocations: 0 / 393 MB, free: 2.328 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.02617/0.6268, allocations: 6.856 MB / 399.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.6269, allocations: 8.031 kB / 399.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01718/0.6441, allocations: 2.615 MB / 402.5 MB, free: 8.754 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01401/0.6581, allocations: 4.513 MB / 407 MB, free: 4.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005918/0.6588, allocations: 431.1 kB / 407.4 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003165/0.6619, allocations: 0.5775 MB / 408 MB, free: 3.164 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06313/0.7251, allocations: 16.8 MB / 424.8 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004298/0.7256, allocations: 63.47 kB / 424.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002893/0.7285, allocations: 259.8 kB / 425.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009771/0.7383, allocations: 2.545 MB / 427.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06266/0.8011, allocations: 14.43 MB / 442.1 MB, free: 152 kB / 362.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.5883/1.389, allocations: 62.94 MB / 0.4932 GB, free: 74.39 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03708/1.427, allocations: 7.627 MB / 0.5006 GB, free: 66.62 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03866/1.465, allocations: 16.15 MB / 0.5164 GB, free: 50.12 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/1.465, allocations: 64.5 kB / 0.5165 GB, free: 50.05 MB / 362.8 MB Notification: Performance of pre-optimization done (n=260): time 7.654e-06/1.465, allocations: 0 / 0.5165 GB, free: 50.05 MB / 362.8 MB Notification: Performance of matching and sorting (n=326): time 0.2156/1.681, allocations: 43.53 MB / 0.559 GB, free: 6.223 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3231/2.004, allocations: 17.03 MB / 0.5756 GB, free: 110.5 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01307/2.017, allocations: 5.321 MB / 0.5808 GB, free: 108.8 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001008/2.018, allocations: 74.06 kB / 0.5809 GB, free: 108.7 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004009/2.022, allocations: 4.555 MB / 0.5853 GB, free: 105.7 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002245/2.025, allocations: 1.227 MB / 0.5865 GB, free: 104.8 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/2.026, allocations: 178.8 kB / 0.5867 GB, free: 104.7 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0006134/2.026, allocations: 0.6903 MB / 0.5874 GB, free: 104.2 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01013/2.037, allocations: 4.054 MB / 0.5913 GB, free: 102.8 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01387/2.051, allocations: 9.257 MB / 0.6004 GB, free: 94.41 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/2.065, allocations: 6.004 MB / 0.6062 GB, free: 92.05 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001915/2.065, allocations: 51.31 kB / 0.6063 GB, free: 92.05 MB / 362.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.05891/2.124, allocations: 17.24 MB / 0.6231 GB, free: 76.59 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000129/2.124, allocations: 87.95 kB / 0.6232 GB, free: 76.51 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002453/2.124, allocations: 182.2 kB / 0.6234 GB, free: 76.33 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02675/2.151, allocations: 4.59 MB / 0.6278 GB, free: 71.76 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01252/2.164, allocations: 2 MB / 0.6298 GB, free: 69.76 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.071/2.235, allocations: 35.05 MB / 0.664 GB, free: 33.8 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01179/2.246, allocations: 0.5345 MB / 0.6646 GB, free: 33.27 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002071/2.249, allocations: 0.5598 MB / 0.6651 GB, free: 32.71 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.008128/2.257, allocations: 3.191 MB / 0.6682 GB, free: 29.5 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/2.258, allocations: 0.5245 MB / 0.6687 GB, free: 28.97 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03464/2.293, allocations: 9.894 MB / 0.6784 GB, free: 18.95 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001085/2.293, allocations: 44 kB / 0.6784 GB, free: 18.9 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03016/2.323, allocations: 8.457 MB / 0.6867 GB, free: 10.32 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.544e-05/2.323, allocations: 11.95 kB / 0.6867 GB, free: 10.3 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3689/2.692, allocations: 22.56 MB / 0.7087 GB, free: 95.17 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.719e-05/2.692, allocations: 6.688 kB / 0.7087 GB, free: 95.17 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004763/2.697, allocations: 462.3 kB / 0.7092 GB, free: 95.14 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02015/2.717, allocations: 3.29 MB / 0.7124 GB, free: 94.51 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001061/2.719, allocations: 64 kB / 0.7125 GB, free: 94.48 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05805/2.777, allocations: 25.18 MB / 0.7371 GB, free: 81.33 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0255/2.802, allocations: 11.03 MB / 0.7478 GB, free: 72.6 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04292/2.845, allocations: 14.66 MB / 0.7621 GB, free: 58.96 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004348/2.85, allocations: 1.126 MB / 0.7632 GB, free: 58.11 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002118/2.852, allocations: 58.95 kB / 0.7633 GB, free: 58.05 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006858/2.859, allocations: 215.6 kB / 0.7635 GB, free: 57.84 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00159/2.86, allocations: 241.9 kB / 0.7637 GB, free: 57.61 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006526/2.861, allocations: 89.06 kB / 0.7638 GB, free: 57.52 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.00953/2.87, allocations: 3.743 MB / 0.7675 GB, free: 53.81 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.252e-06/2.871, allocations: 0 / 0.7675 GB, free: 53.81 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0126/2.883, allocations: 1.99 MB / 0.7694 GB, free: 51.83 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.001843/2.885, allocations: 263.2 kB / 0.7697 GB, free: 51.59 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.02656/2.912, allocations: 10.62 MB / 0.78 GB, free: 40.98 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 1.526e-05/2.912, allocations: 11.88 kB / 0.78 GB, free: 40.97 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0103/2.922, allocations: 4.127 MB / 0.7841 GB, free: 36.8 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006758/2.929, allocations: 0.7488 MB / 0.7848 GB, free: 36.07 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.04376/2.973, allocations: 19.44 MB / 0.8038 GB, free: 16.53 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01076/2.983, allocations: 5.079 MB / 0.8088 GB, free: 11.42 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002719/2.986, allocations: 427.4 kB / 0.8092 GB, free: 11 MB / 362.8 MB Notification: Performance of SimCode: time 1.533e-06/2.986, allocations: 0 / 0.8092 GB, free: 11 MB / 362.8 MB Notification: Performance of Templates: time 0.9979/3.984, allocations: 243.9 MB / 1.047 GB, free: 88.2 MB / 410.8 MB