Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadModel(Modelica): time 1.977/1.977, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005197/0.00052, allocations: 12 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1216, allocations: 44.49 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.387/0.5087, allocations: 70.31 MB / 379.3 MB, free: 7.168 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04409/0.5529, allocations: 16.67 MB / 396 MB, free: 6.734 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01746/0.5704, allocations: 366.6 kB / 396.3 MB, free: 6.676 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01284/0.5833, allocations: 3.62 MB / 399.9 MB, free: 4.977 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03775/0.6211, allocations: 9.899 MB / 409.8 MB, free: 2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007383/0.6285, allocations: 1.207 MB / 411 MB, free: 1.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0098/0.6384, allocations: 3.962 MB / 415 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01879/0.6572, allocations: 9.429 MB / 424.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004536/0.6618, allocations: 1.656 MB / 426.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005634/0.6675, allocations: 2.014 MB / 428.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001828/0.6694, allocations: 225.3 kB / 428.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006752/0.6761, allocations: 1.431 MB / 429.7 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005811/0.682, allocations: 2.62 MB / 432.4 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003201/0.6853, allocations: 1.346 MB / 433.7 MB, free: 6.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02114/0.7065, allocations: 9.577 MB / 443.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.7065, allocations: 1.422 kB / 443.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.7065, allocations: 0 / 443.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003765/0.7069, allocations: 0 / 443.3 MB, free: 13.78 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2366 * Number of variables: 2366 Notification: Performance of Generate backend data structure: time 0.0353/0.7423, allocations: 7.188 MB / 450.5 MB, free: 7.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.7423, allocations: 8.031 kB / 450.5 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01798/0.7603, allocations: 2.72 MB / 453.2 MB, free: 4.555 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02048/0.7809, allocations: 4.788 MB / 458 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007011/0.7816, allocations: 428.6 kB / 458.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00419/0.7858, allocations: 0.6585 MB / 459.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09336/0.8792, allocations: 16.95 MB / 476 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003228/0.8796, allocations: 59.47 kB / 476.1 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002108/0.8817, allocations: 263.3 kB / 476.3 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006908/0.8887, allocations: 2.548 MB / 478.9 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05064/0.9393, allocations: 14.6 MB / 493.5 MB, free: 11.76 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.6497/1.589, allocations: 63.77 MB / 0.5442 GB, free: 119.9 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03566/1.625, allocations: 7.307 MB / 0.5513 GB, free: 119.3 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03691/1.662, allocations: 16.02 MB / 0.567 GB, free: 112.2 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/1.662, allocations: 62.61 kB / 0.567 GB, free: 112.1 MB / 426.8 MB Notification: Performance of pre-optimization done (n=248): time 6.282e-06/1.662, allocations: 3.656 kB / 0.567 GB, free: 112.1 MB / 426.8 MB Notification: Performance of matching and sorting (n=258): time 0.1134/1.775, allocations: 27.19 MB / 0.5936 GB, free: 90.05 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/1.775, allocations: 162 kB / 0.5937 GB, free: 89.87 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01168/1.787, allocations: 6.205 MB / 0.5998 GB, free: 83.65 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008017/1.788, allocations: 65.7 kB / 0.5999 GB, free: 83.58 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003546/1.792, allocations: 4.668 MB / 0.6044 GB, free: 78.94 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001645/1.793, allocations: 1.008 MB / 0.6054 GB, free: 77.94 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009522/1.794, allocations: 176.5 kB / 0.6056 GB, free: 77.77 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0005429/1.795, allocations: 0.6828 MB / 0.6062 GB, free: 77.07 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007761/1.803, allocations: 3.269 MB / 0.6094 GB, free: 73.8 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01115/1.814, allocations: 8.678 MB / 0.6179 GB, free: 62.58 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/1.825, allocations: 5.185 MB / 0.623 GB, free: 57.51 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001739/1.825, allocations: 56 kB / 0.623 GB, free: 57.46 MB / 426.8 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.04782/1.873, allocations: 14.32 MB / 0.637 GB, free: 43.05 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/1.873, allocations: 84 kB / 0.6371 GB, free: 42.97 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0282/1.902, allocations: 6.543 MB / 0.6435 GB, free: 36.34 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0239/1.926, allocations: 3.256 MB / 0.6467 GB, free: 33.06 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01238/1.938, allocations: 2.078 MB / 0.6487 GB, free: 30.98 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02987/1.968, allocations: 16.28 MB / 0.6646 GB, free: 13.89 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009827/1.978, allocations: 0.5199 MB / 0.6651 GB, free: 13.37 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001841/1.98, allocations: 0.5329 MB / 0.6656 GB, free: 12.84 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 872 * 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.sphereColor[3],joint.sphereColor[2],joint.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1094): * Single equations (assignments): 1080 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 3,(3,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007866/1.988, allocations: 3.2 MB / 0.6687 GB, free: 9.625 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/1.989, allocations: 0.509 MB / 0.6692 GB, free: 9.109 MB / 426.8 MB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 212 equation(s) and 206 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007212/1.996, allocations: 2.534 MB / 0.6717 GB, free: 6.566 MB / 426.8 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.