Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001116/0.001116, allocations: 105.1 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 196 kB / 18 MB, free: 5.102 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.629/1.629, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001263/0.001263, allocations: 51.94 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1043, allocations: 46.61 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.2278/0.3322, allocations: 19.45 MB / 393.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01658/0.3488, allocations: 6.279 MB / 400.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006079/0.355, allocations: 150.5 kB / 400.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01168/0.3667, allocations: 6.055 MB / 406.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008488/0.3752, allocations: 2.651 MB / 409.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006006/0.3812, allocations: 2.508 MB / 411.6 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01213/0.3934, allocations: 7.074 MB / 418.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/0.4035, allocations: 8.097 MB / 426.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007335/0.4109, allocations: 2.828 MB / 429.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007449/0.4184, allocations: 3.595 MB / 433.2 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002542/0.421, allocations: 0.6484 MB / 433.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0057/0.4267, allocations: 2.001 MB / 435.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004767/0.4315, allocations: 3.484 MB / 439.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006304/0.4378, allocations: 3.869 MB / 443.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01726/0.4551, allocations: 12.34 MB / 455.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.4552, allocations: 3.984 kB / 455.5 MB, free: 14.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4552, allocations: 0 / 455.5 MB, free: 14.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007015/0.4559, allocations: 4 kB / 455.5 MB, free: 14.26 MB / 382.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.02646/0.4824, allocations: 8.436 MB / 464 MB, free: 5.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.4824, allocations: 8.031 kB / 464 MB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008772/0.4912, allocations: 2.347 MB / 466.3 MB, free: 3.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.5022, allocations: 4.446 MB / 470.8 MB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003908/0.5026, allocations: 439.7 kB / 471.2 MB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002648/0.5053, allocations: 0.675 MB / 471.9 MB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03395/0.5392, allocations: 16.91 MB / 488.8 MB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002222/0.5395, allocations: 67.41 kB / 488.8 MB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001142/0.5407, allocations: 263.8 kB / 489.1 MB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003852/0.5445, allocations: 2.596 MB / 491.7 MB, free: 8.977 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0314/0.5759, allocations: 14.57 MB / 0.4944 GB, free: 10.39 MB / 430.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.5586/1.135, allocations: 63.76 MB / 0.5567 GB, free: 110.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02285/1.157, allocations: 7.372 MB / 0.5639 GB, free: 109.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005908/1.163, allocations: 3.804 MB / 0.5676 GB, free: 109.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02526/1.189, allocations: 16.61 MB / 0.5838 GB, free: 102.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/1.189, allocations: 69.62 kB / 0.5839 GB, free: 102.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 5.78e-06/1.189, allocations: 0 / 0.5839 GB, free: 102.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=278): time 0.06305/1.252, allocations: 27.6 MB / 0.6108 GB, free: 85.74 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001278/1.253, allocations: 1.685 MB / 0.6125 GB, free: 83.89 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007786/1.261, allocations: 5.878 MB / 0.6182 GB, free: 77.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007017/1.262, allocations: 73.08 kB / 0.6183 GB, free: 77.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002193/1.264, allocations: 4.843 MB / 0.623 GB, free: 73.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00125/1.265, allocations: 1.091 MB / 0.6241 GB, free: 71.99 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002086/1.267, allocations: 1.836 MB / 0.6259 GB, free: 70.14 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.072e-05/1.267, allocations: 313.7 kB / 0.6262 GB, free: 69.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003858/1.271, allocations: 3.418 MB / 0.6295 GB, free: 66.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005667/1.277, allocations: 8.869 MB / 0.6382 GB, free: 54.94 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/1.288, allocations: 13.27 MB / 0.6511 GB, free: 39.24 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/1.288, allocations: 56.56 kB / 0.6512 GB, free: 39.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.02861/1.317, allocations: 14.89 MB / 0.6657 GB, free: 24.21 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000101/1.317, allocations: 88 kB / 0.6658 GB, free: 24.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01529/1.333, allocations: 6.794 MB / 0.6724 GB, free: 17.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01273/1.345, allocations: 3.241 MB / 0.6756 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006827/1.352, allocations: 2.129 MB / 0.6777 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01827/1.37, allocations: 17.02 MB / 0.6943 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008978/1.379, allocations: 0.5962 MB / 0.6949 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001745/1.381, allocations: 0.5351 MB / 0.6954 GB, free: 8.879 MB / 494.1 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.00674/1.388, allocations: 3.246 MB / 0.6986 GB, free: 5.625 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/1.39, allocations: 0.5128 MB / 0.6991 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/1.403, allocations: 6.576 MB / 0.7055 GB, free: 14.43 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0116/1.414, allocations: 5.661 MB / 0.711 GB, free: 8.68 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01073/1.425, allocations: 5.494 MB / 0.7164 GB, free: 3.09 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-05/1.425, allocations: 7.969 kB / 0.7164 GB, free: 3.082 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03912/1.464, allocations: 17.47 MB / 0.7335 GB, free: 1.434 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-05/1.465, allocations: 16 kB / 0.7335 GB, free: 1.418 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003198/1.468, allocations: 0.4992 MB / 0.734 GB, free: 0.918 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006119/1.474, allocations: 1.843 MB / 0.7358 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006695/1.475, allocations: 87.34 kB / 0.7358 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01282/1.487, allocations: 10.38 MB / 0.746 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001076/1.489, allocations: 1.554 MB / 0.7475 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.31/1.799, allocations: 9.837 MB / 0.7571 GB, free: 189.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/1.801, allocations: 0.5669 MB / 0.7577 GB, free: 189.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001426/1.802, allocations: 61.11 kB / 0.7577 GB, free: 189.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004427/1.806, allocations: 222.4 kB / 0.7579 GB, free: 189.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000905/1.807, allocations: 194.5 kB / 0.7581 GB, free: 189.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002628/1.808, allocations: 99.3 kB / 0.7582 GB, free: 189.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008002/1.816, allocations: 3.662 MB / 0.7618 GB, free: 187.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.11e-07/1.816, allocations: 0 / 0.7618 GB, free: 187.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01123/1.827, allocations: 1.715 MB / 0.7635 GB, free: 187.7 MB / 0.5294 GB 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.001429/1.828, allocations: 275.7 kB / 0.7637 GB, free: 187.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01831/1.847, allocations: 9.239 MB / 0.7728 GB, free: 184 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.89e-05/1.847, allocations: 0 / 0.7728 GB, free: 184 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006155/1.853, allocations: 3.399 MB / 0.7761 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007382/1.86, allocations: 0.866 MB / 0.7769 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03198/1.892, allocations: 15.27 MB / 0.7918 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008349/1.901, allocations: 4.877 MB / 0.7966 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00689/1.908, allocations: 2.91 MB / 0.7994 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/1.909, allocations: 366.1 kB / 0.7998 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.393e-06/1.909, allocations: 0 / 0.7998 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.1046/2.014, allocations: 61.04 MB / 0.8594 GB, free: 111.9 MB / 0.5294 GB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1)