Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadModel(Modelica): time 1.747/1.747, allocations: 171.2 MB / 187.3 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.0004179, allocations: 12 kB / 233.8 MB, free: 3.082 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09354/0.09398, allocations: 38.78 MB / 272.6 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.3516/0.4456, allocations: 70.3 MB / 342.9 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.05172/0.4974, allocations: 16.63 MB / 359.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01797/0.5154, allocations: 367.1 kB / 359.9 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01426/0.5297, allocations: 3.628 MB / 363.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04058/0.5704, allocations: 9.888 MB / 373.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007466/0.5779, allocations: 1.225 MB / 374.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01062/0.5886, allocations: 3.966 MB / 378.6 MB, free: 3.289 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01992/0.6085, allocations: 9.428 MB / 388 MB, free: 9.785 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003946/0.6125, allocations: 1.659 MB / 389.7 MB, free: 8.121 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004307/0.6169, allocations: 2.017 MB / 391.7 MB, free: 6.098 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.6181, allocations: 220 kB / 391.9 MB, free: 5.883 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004266/0.6224, allocations: 1.42 MB / 393.3 MB, free: 4.461 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004248/0.6266, allocations: 2.618 MB / 395.9 MB, free: 1.836 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002178/0.6289, allocations: 1.349 MB / 397.3 MB, free: 488 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01578/0.6447, allocations: 9.559 MB / 406.8 MB, free: 6.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6447, allocations: 0 / 406.8 MB, free: 6.895 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.297e-06/0.6447, allocations: 0 / 406.8 MB, free: 6.895 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003721/0.6451, allocations: 0 / 406.8 MB, free: 6.895 MB / 330.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.02671/0.6718, allocations: 7.191 MB / 414 MB, free: 15.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.6719, allocations: 12.03 kB / 414 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0177/0.6896, allocations: 2.697 MB / 416.7 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01443/0.7041, allocations: 4.779 MB / 421.5 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006718/0.7048, allocations: 427.1 kB / 421.9 MB, free: 7.621 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003488/0.7083, allocations: 0.6517 MB / 422.6 MB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0533/0.7617, allocations: 16.94 MB / 439.5 MB, free: 5.098 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003327/0.762, allocations: 63.47 kB / 439.6 MB, free: 5.035 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002142/0.7642, allocations: 259.8 kB / 439.8 MB, free: 4.781 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007107/0.7713, allocations: 2.553 MB / 442.4 MB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.503/1.274, allocations: 14.59 MB / 457 MB, free: 119.9 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.1116/1.386, allocations: 63.76 MB / 0.5085 GB, free: 61.77 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03559/1.422, allocations: 7.321 MB / 0.5157 GB, free: 54.3 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03937/1.461, allocations: 15.98 MB / 0.5313 GB, free: 37.97 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/1.461, allocations: 72.42 kB / 0.5314 GB, free: 37.89 MB / 362.8 MB Notification: Performance of pre-optimization done (n=248): time 8.776e-06/1.461, allocations: 0 / 0.5314 GB, free: 37.89 MB / 362.8 MB Notification: Performance of matching and sorting (n=258): time 0.1148/1.576, allocations: 27.2 MB / 0.5579 GB, free: 10.35 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/1.576, allocations: 154.5 kB / 0.5581 GB, free: 10.17 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01271/1.589, allocations: 6.202 MB / 0.5641 GB, free: 3.945 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009286/1.59, allocations: 67.34 kB / 0.5642 GB, free: 3.875 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.2739/1.864, allocations: 4.661 MB / 0.5687 GB, free: 114.8 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00274/1.867, allocations: 1.012 MB / 0.5697 GB, free: 114.6 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001579/1.868, allocations: 176.5 kB / 0.5699 GB, free: 114.6 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.001046/1.869, allocations: 0.6858 MB / 0.5706 GB, free: 114.3 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01082/1.88, allocations: 3.242 MB / 0.5737 GB, free: 113.8 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01377/1.894, allocations: 8.659 MB / 0.5822 GB, free: 105.4 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/1.906, allocations: 5.15 MB / 0.5872 GB, free: 103.4 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002646/1.907, allocations: 53.47 kB / 0.5873 GB, free: 103.4 MB / 362.8 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.03992/1.947, allocations: 13.42 MB / 0.6004 GB, free: 98.36 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001565/1.947, allocations: 93.77 kB / 0.6005 GB, free: 98.36 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01822/1.965, allocations: 5.631 MB / 0.6059 GB, free: 96.41 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01142/1.977, allocations: 2.266 MB / 0.6082 GB, free: 94.95 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01249/1.989, allocations: 2.081 MB / 0.6102 GB, free: 93.15 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02288/2.012, allocations: 14.54 MB / 0.6244 GB, free: 78.16 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009972/2.022, allocations: 0.5265 MB / 0.6249 GB, free: 77.64 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001827/2.024, allocations: 0.5248 MB / 0.6254 GB, free: 77.11 MB / 362.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): 2 * Torn equation systems: 6 * 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: 0 * 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.007973/2.032, allocations: 3.208 MB / 0.6286 GB, free: 73.89 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/2.033, allocations: 0.5167 MB / 0.6291 GB, free: 73.37 MB / 362.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.00644/2.04, allocations: 2.523 MB / 0.6315 GB, free: 70.84 MB / 362.8 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.