Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 194.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.1 MB / 222.4 MB, free: 4.562 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 56.39 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3131, allocations: 46.63 MB / 325.3 MB, free: 2.016 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.02085/0.334, allocations: 19.45 MB / 344.8 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01875/0.3528, allocations: 6.28 MB / 351 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006707/0.3597, allocations: 151.5 kB / 351.2 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01135/0.371, allocations: 6.059 MB / 357.2 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009332/0.3804, allocations: 2.638 MB / 359.9 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006455/0.3869, allocations: 2.514 MB / 362.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01239/0.3993, allocations: 7.07 MB / 369.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01486/0.4142, allocations: 8.12 MB / 377.6 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00691/0.4212, allocations: 2.836 MB / 380.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007515/0.4288, allocations: 3.595 MB / 384 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004532/0.4334, allocations: 0.6445 MB / 384.7 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007837/0.4412, allocations: 1.99 MB / 386.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006444/0.4477, allocations: 3.429 MB / 390.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01027/0.458, allocations: 3.862 MB / 393.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01978/0.4779, allocations: 12.04 MB / 406 MB, free: 3.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.4779, allocations: 0 / 406 MB, free: 3.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4779, allocations: 0 / 406 MB, free: 3.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005327/0.4785, allocations: 0 / 406 MB, free: 3.07 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.03124/0.5097, allocations: 8.436 MB / 414.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/0.5098, allocations: 11.97 kB / 414.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.521, allocations: 2.343 MB / 416.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/0.5354, allocations: 4.356 MB / 421.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005919/0.5361, allocations: 439.4 kB / 421.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004014/0.5401, allocations: 0.6711 MB / 422.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04462/0.5848, allocations: 16.92 MB / 439.1 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004029/0.5852, allocations: 67.45 kB / 439.2 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002819/0.5881, allocations: 267.8 kB / 439.5 MB, free: 476 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004403/0.5925, allocations: 2.584 MB / 442.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3874/0.98, allocations: 14.56 MB / 456.6 MB, free: 100.7 MB / 382.2 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.08271/1.063, allocations: 64.1 MB / 0.5085 GB, free: 49.31 MB / 382.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02045/1.083, allocations: 7.377 MB / 0.5157 GB, free: 41.78 MB / 382.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005044/1.088, allocations: 3.801 MB / 0.5194 GB, free: 37.97 MB / 382.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02831/1.117, allocations: 16.63 MB / 0.5357 GB, free: 20.91 MB / 382.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/1.117, allocations: 64.55 kB / 0.5357 GB, free: 20.84 MB / 382.2 MB Notification: Performance of pre-optimization done (n=262): time 5.561e-06/1.117, allocations: 3.938 kB / 0.5357 GB, free: 20.84 MB / 382.2 MB Notification: Performance of matching and sorting (n=278): time 0.07868/1.195, allocations: 27.58 MB / 0.5627 GB, free: 8.957 MB / 398.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001721/1.197, allocations: 1.705 MB / 0.5643 GB, free: 7.074 MB / 398.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01291/1.21, allocations: 5.885 MB / 0.5701 GB, free: 1.168 MB / 398.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0009589/1.211, allocations: 61.7 kB / 0.5701 GB, free: 1.102 MB / 398.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.005204/1.216, allocations: 4.855 MB / 0.5749 GB, free: 12.2 MB / 414.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.00216/1.219, allocations: 1.08 MB / 0.5759 GB, free: 11.1 MB / 414.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004679/1.223, allocations: 1.844 MB / 0.5777 GB, free: 9.242 MB / 414.2 MB Notification: Performance of setup shared object (initialization): time 0.0001197/1.223, allocations: 305.1 kB / 0.578 GB, free: 8.941 MB / 414.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005802/1.229, allocations: 3.422 MB / 0.5814 GB, free: 5.512 MB / 414.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009966/1.239, allocations: 8.865 MB / 0.59 GB, free: 9.949 MB / 430.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01902/1.258, allocations: 13.26 MB / 0.603 GB, free: 9.992 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001775/1.258, allocations: 56 kB / 0.603 GB, free: 9.938 MB / 446.2 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.2721/1.531, allocations: 14.89 MB / 0.6176 GB, free: 145.6 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006281/1.531, allocations: 87.44 kB / 0.6177 GB, free: 145.6 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01606/1.547, allocations: 6.796 MB / 0.6243 GB, free: 145 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01332/1.561, allocations: 3.239 MB / 0.6275 GB, free: 144.6 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007606/1.568, allocations: 2.136 MB / 0.6295 GB, free: 144.6 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/1.586, allocations: 17.03 MB / 0.6462 GB, free: 132.9 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00769/1.593, allocations: 0.582 MB / 0.6467 GB, free: 132.6 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001627/1.595, allocations: 0.5411 MB / 0.6473 GB, free: 132.5 MB / 446.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 875 * Number of states: 0 () * Number of discrete variables: 60 (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 (1128): * Single equations (assignments): 1112 * Array equations: 8 * 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.006076/1.601, allocations: 3.244 MB / 0.6504 GB, free: 130.2 MB / 446.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/1.602, allocations: 0.5221 MB / 0.6509 GB, free: 129.9 MB / 446.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/1.613, allocations: 6.564 MB / 0.6574 GB, free: 123.3 MB / 446.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009426/1.622, allocations: 5.66 MB / 0.6629 GB, free: 117.6 MB / 446.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008553/1.631, allocations: 5.493 MB / 0.6682 GB, free: 112 MB / 446.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.947e-05/1.631, allocations: 15.95 kB / 0.6683 GB, free: 112 MB / 446.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02756/1.659, allocations: 17.49 MB / 0.6853 GB, free: 94.37 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/1.659, allocations: 12 kB / 0.6854 GB, free: 94.36 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002381/1.661, allocations: 0.5 MB / 0.6858 GB, free: 93.86 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004919/1.666, allocations: 1.866 MB / 0.6877 GB, free: 91.97 MB / 446.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005424/1.667, allocations: 71.97 kB / 0.6877 GB, free: 91.9 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009827/1.676, allocations: 10.38 MB / 0.6979 GB, free: 81.16 MB / 446.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007434/1.677, allocations: 1.558 MB / 0.6994 GB, free: 79.48 MB / 446.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/1.69, allocations: 9.836 MB / 0.709 GB, free: 69.73 MB / 446.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/1.692, allocations: 0.5695 MB / 0.7096 GB, free: 69.36 MB / 446.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008948/1.693, allocations: 71.75 kB / 0.7096 GB, free: 69.29 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002589/1.696, allocations: 226.8 kB / 0.7098 GB, free: 69.07 MB / 446.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004871/1.696, allocations: 205.4 kB / 0.71 GB, free: 68.88 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001856/1.697, allocations: 83.98 kB / 0.7101 GB, free: 68.79 MB / 446.2 MB Notification: Performance of sorting global known variables: time 0.004844/1.701, allocations: 3.66 MB / 0.7137 GB, free: 65.13 MB / 446.2 MB Notification: Performance of sort global known variables: time 3.91e-07/1.701, allocations: 0 / 0.7137 GB, free: 65.13 MB / 446.2 MB Notification: Performance of remove unused functions: time 0.008018/1.709, allocations: 1.719 MB / 0.7154 GB, free: 63.42 MB / 446.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],joint.w_rel[1],joint.w_rel[2],joint.w_rel[3],bodyOfConstraint.body.w_a[1],bodyOfConstraint.body.w_a[2],bodyOfConstraint.body.w_a[3],freeMotionScalarInit.derd[1].u,freeMotionScalarInit.derd[2].u,freeMotionScalarInit.derd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 223 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (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): 2 systems {(3,3,100.0%), (3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008094/1.71, allocations: 278.8 kB / 0.7156 GB, free: 63.16 MB / 446.2 MB Notification: Performance of simCode: created initialization part: time 0.01624/1.727, allocations: 11.6 MB / 0.727 GB, free: 51.5 MB / 446.2 MB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/1.727, allocations: 0 / 0.727 GB, free: 51.5 MB / 446.2 MB Notification: Performance of simCode: created simulation system equations: time 0.004891/1.731, allocations: 3.397 MB / 0.7303 GB, free: 48.02 MB / 446.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005062/1.737, allocations: 0.8629 MB / 0.7311 GB, free: 47.16 MB / 446.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0226/1.759, allocations: 15.43 MB / 0.7462 GB, free: 31.58 MB / 446.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004611/1.764, allocations: 4.885 MB / 0.751 GB, free: 26.66 MB / 446.2 MB Notification: Performance of simCode: alias equations: time 0.006675/1.771, allocations: 2.907 MB / 0.7538 GB, free: 23.75 MB / 446.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009317/1.771, allocations: 367.4 kB / 0.7542 GB, free: 23.39 MB / 446.2 MB Notification: Performance of SimCode: time 1.082e-06/1.771, allocations: 0 / 0.7542 GB, free: 23.39 MB / 446.2 MB Notification: Performance of Templates: time 0.3162/2.088, allocations: 65.8 MB / 0.8184 GB, free: 113.8 MB / 446.2 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1)