Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") 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_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001091, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2067, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.01759/0.2243, allocations: 18.43 MB / 428.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.2353, allocations: 6.17 MB / 434.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002426/0.2378, allocations: 139.6 kB / 434.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009847/0.2477, allocations: 6.005 MB / 440.7 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005171/0.2529, allocations: 2.618 MB / 443.3 MB, free: 96 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004262/0.2571, allocations: 2.479 MB / 445.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007459/0.2646, allocations: 7.128 MB / 452.9 MB, free: 6.473 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007286/0.2719, allocations: 8.016 MB / 460.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002669/0.2746, allocations: 2.758 MB / 463.7 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003467/0.2781, allocations: 3.493 MB / 467.2 MB, free: 8.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007776/0.2789, allocations: 0.625 MB / 467.8 MB, free: 7.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002777/0.2817, allocations: 1.994 MB / 469.8 MB, free: 5.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002436/0.2841, allocations: 3.375 MB / 473.2 MB, free: 2.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002796/0.2869, allocations: 3.745 MB / 476.9 MB, free: 14.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009621/0.2965, allocations: 11.97 MB / 488.9 MB, free: 2.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2966, allocations: 0 / 488.9 MB, free: 2.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2966, allocations: 0 / 488.9 MB, free: 2.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001689/0.2967, allocations: 0 / 488.9 MB, free: 2.316 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.01595/0.3127, allocations: 8.318 MB / 497.2 MB, free: 9.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3127, allocations: 8.031 kB / 497.2 MB, free: 9.902 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008013/0.3208, allocations: 2.355 MB / 499.5 MB, free: 7.535 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006634/0.3274, allocations: 4.212 MB / 0.4919 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002592/0.3277, allocations: 435.1 kB / 0.4924 GB, free: 2.816 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/0.3289, allocations: 0.6518 MB / 0.493 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02573/0.3547, allocations: 16.46 MB / 0.5091 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001424/0.3548, allocations: 67.36 kB / 0.5091 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006325/0.3555, allocations: 263.8 kB / 0.5094 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003296/0.3588, allocations: 2.459 MB / 0.5118 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02552/0.3843, allocations: 14.15 MB / 0.5256 GB, free: 15.81 MB / 462.1 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.39/0.7743, allocations: 62.46 MB / 0.5866 GB, free: 76.63 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01969/0.794, allocations: 7.295 MB / 0.5937 GB, free: 69.47 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003539/0.7976, allocations: 3.743 MB / 0.5974 GB, free: 65.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0178/0.8154, allocations: 16.49 MB / 0.6135 GB, free: 48.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.8155, allocations: 60.56 kB / 0.6135 GB, free: 48.78 MB / 462.1 MB Notification: Performance of pre-optimization done (n=253): time 5.25e-06/0.8155, allocations: 4 kB / 0.6135 GB, free: 48.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=263): time 0.05794/0.8734, allocations: 26.55 MB / 0.6395 GB, free: 21.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.8735, allocations: 150.6 kB / 0.6396 GB, free: 21.78 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005603/0.8791, allocations: 5.752 MB / 0.6452 GB, free: 16.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003727/0.8795, allocations: 65.7 kB / 0.6453 GB, free: 15.98 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001771/0.8813, allocations: 4.728 MB / 0.6499 GB, free: 11.26 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006933/0.882, allocations: 1.03 MB / 0.6509 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/0.8837, allocations: 1.787 MB / 0.6527 GB, free: 8.434 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.389e-05/0.8838, allocations: 305.1 kB / 0.653 GB, free: 8.133 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003716/0.8875, allocations: 3.262 MB / 0.6561 GB, free: 4.863 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006643/0.8941, allocations: 8.6 MB / 0.6645 GB, free: 9.617 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01389/0.908, allocations: 12.84 MB / 0.6771 GB, free: 10.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001042/0.9082, allocations: 60 kB / 0.6771 GB, free: 10.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.03052/0.9387, allocations: 14.51 MB / 0.6913 GB, free: 11.47 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.9389, allocations: 90.81 kB / 0.6914 GB, free: 11.39 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.017/0.9559, allocations: 6.558 MB / 0.6978 GB, free: 4.746 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.014/0.9699, allocations: 3.318 MB / 0.701 GB, free: 1.398 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007026/0.977, allocations: 2.086 MB / 0.7031 GB, free: 15.31 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02104/0.998, allocations: 17.03 MB / 0.7197 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006089/1.004, allocations: 0.5226 MB / 0.7202 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/1.005, allocations: 0.5216 MB / 0.7207 GB, free: 12.39 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 859 * Number of states: 0 () * Number of discrete variables: 62 (sensorConstraintRelative.arrow.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.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 (1098): * Single equations (assignments): 1084 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,3,100.0%), (3,3,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004858/1.01, allocations: 3.149 MB / 0.7238 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009267/1.011, allocations: 0.5013 MB / 0.7243 GB, free: 8.719 MB / 0.5294 GB 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 214 equation(s) and 208 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004218/1.015, allocations: 2.489 MB / 0.7267 GB, free: 6.223 MB / 0.5294 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint could not be translated