Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.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.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009738/0.0009738, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.272/1.272, allocations: 170.7 MB / 178.7 MB, free: 15.65 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001535/0.001535, allocations: 109.2 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.746e-05/1.748e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07053/0.07056, allocations: 38.77 MB / 301 MB, free: 3.633 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3068/0.3774, allocations: 99.95 MB / 400.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.3777, allocations: 83.58 kB / 401 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4536/0.8313, allocations: 124.4 MB / 0.5131 GB, free: 71.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.8314, allocations: 0 / 0.5131 GB, free: 71.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003807/0.8318, allocations: 140.9 kB / 0.5132 GB, free: 71 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.0238/0.8556, allocations: 7.054 MB / 0.5201 GB, free: 67.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.8557, allocations: 6.312 kB / 0.5201 GB, free: 67.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01426/0.8699, allocations: 2.896 MB / 0.5229 GB, free: 67.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/0.8879, allocations: 8.131 MB / 0.5309 GB, free: 60.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003891/0.8884, allocations: 228 kB / 0.5311 GB, free: 60.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003416/0.8918, allocations: 411.9 kB / 0.5315 GB, free: 59.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01756/0.9094, allocations: 10.03 MB / 0.5413 GB, free: 49.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02893/0.9383, allocations: 14.7 MB / 0.5556 GB, free: 33.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004519/0.9388, allocations: 87.12 kB / 0.5557 GB, free: 33.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002862/0.9417, allocations: 40 kB / 0.5557 GB, free: 33.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002147/0.9439, allocations: 1.494 MB / 0.5572 GB, free: 32.06 MB / 346.7 MB Warning: The model contains alias variables with conflicting start and/or 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.2863/1.23, allocations: 74.09 MB / 0.6295 GB, free: 24.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005418/1.236, allocations: 4.466 MB / 0.6339 GB, free: 24.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003406/1.239, allocations: 3.258 MB / 0.6371 GB, free: 24.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007285/1.24, allocations: 0.692 MB / 0.6378 GB, free: 23.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/1.24, allocations: 62.66 kB / 0.6378 GB, free: 23.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=259): time 5.19e-06/1.24, allocations: 0 / 0.6378 GB, free: 23.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=278): time 0.04659/1.287, allocations: 23.58 MB / 0.6609 GB, free: 16.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/1.287, allocations: 160.1 kB / 0.661 GB, free: 16.19 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006449/1.293, allocations: 4.6 MB / 0.6655 GB, free: 14.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005886/1.294, allocations: 29.17 kB / 0.6655 GB, free: 14.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002208/1.296, allocations: 4.869 MB / 0.6703 GB, free: 10.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001153/1.297, allocations: 1.056 MB / 0.6713 GB, free: 9.965 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003435/1.297, allocations: 0 / 0.6713 GB, free: 9.965 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003455/1.298, allocations: 0.6963 MB / 0.672 GB, free: 9.492 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003502/1.301, allocations: 3.163 MB / 0.6751 GB, free: 8.348 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005663/1.307, allocations: 8.654 MB / 0.6835 GB, free: 15.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006823/1.314, allocations: 5.166 MB / 0.6886 GB, free: 13.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001076/1.314, allocations: 60 kB / 0.6886 GB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=1194) (initialization): time 0.02402/1.338, allocations: 12.52 MB / 0.7009 GB, free: 2.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/1.338, allocations: 92.94 kB / 0.7009 GB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01233/1.35, allocations: 5.79 MB / 0.7066 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00573/1.356, allocations: 2.056 MB / 0.7086 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008083/1.364, allocations: 2.191 MB / 0.7108 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/1.379, allocations: 13.43 MB / 0.7239 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007716/1.387, allocations: 418.7 kB / 0.7243 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001262/1.388, allocations: 0.548 MB / 0.7248 GB, free: 13.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 899 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1143): * Single equations (assignments): 1129 * 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 {1} * 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.001439/1.389, allocations: 0.6014 MB / 0.7254 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008466/1.39, allocations: 0.4897 MB / 0.7259 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/1.402, allocations: 6.365 MB / 0.7321 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01053/1.413, allocations: 5.511 MB / 0.7375 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.2283/1.641, allocations: 5.403 MB / 0.7427 GB, free: 100.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000101/1.641, allocations: 11.78 kB / 0.7428 GB, free: 100.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03026/1.671, allocations: 16.28 MB / 0.7587 GB, free: 99.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/1.672, allocations: 15.64 kB / 0.7587 GB, free: 99.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/1.674, allocations: 0.5127 MB / 0.7592 GB, free: 99.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005028/1.679, allocations: 1.787 MB / 0.7609 GB, free: 99.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005209/1.68, allocations: 33.94 kB / 0.761 GB, free: 99.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/1.69, allocations: 9.448 MB / 0.7702 GB, free: 96.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007268/1.691, allocations: 1.411 MB / 0.7716 GB, free: 94.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/1.706, allocations: 11.08 MB / 0.7824 GB, free: 89.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001769/1.708, allocations: 0.5396 MB / 0.7829 GB, free: 89.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006894/1.709, allocations: 19.25 kB / 0.7829 GB, free: 89.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002222/1.711, allocations: 183.2 kB / 0.7831 GB, free: 89.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003722/1.711, allocations: 201.5 kB / 0.7833 GB, free: 89.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002038/1.711, allocations: 87.23 kB / 0.7834 GB, free: 89.51 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004563/1.716, allocations: 3.081 MB / 0.7864 GB, free: 88.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.716, allocations: 3.906 kB / 0.7864 GB, free: 88.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009077/1.725, allocations: 1.51 MB / 0.7879 GB, free: 88.39 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (235): * Single equations (assignments): 225 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 2 {(3,100.0%) 3,(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009784/1.726, allocations: 232.2 kB / 0.7881 GB, free: 88.28 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01236/1.738, allocations: 8.39 MB / 0.7963 GB, free: 85.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/1.738, allocations: 0 / 0.7963 GB, free: 85.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004819/1.743, allocations: 3.309 MB / 0.7995 GB, free: 83.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004241/1.748, allocations: 0.6641 MB / 0.8002 GB, free: 83.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02031/1.768, allocations: 12.5 MB / 0.8124 GB, free: 76.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00464/1.773, allocations: 4.972 MB / 0.8172 GB, free: 73.01 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.007063/1.78, allocations: 2.999 MB / 0.8201 GB, free: 71.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/1.781, allocations: 359.7 kB / 0.8205 GB, free: 70.83 MB / 394.7 MB Notification: Performance of SimCode: time 1.293e-06/1.781, allocations: 0 / 0.8205 GB, free: 70.83 MB / 394.7 MB Notification: Performance of Templates: time 0.08134/1.862, allocations: 52.69 MB / 0.8719 GB, free: 21.43 MB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1)