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.0009746/0.0009745, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.065/1.065, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001527/0.001527, allocations: 114.8 kB / 223.2 MB, free: 4.035 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.883e-05/2.885e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06435/0.0644, allocations: 38.78 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2832/0.3477, allocations: 100.6 MB / 408.2 MB, free: 7.98 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.3479, allocations: 85.95 kB / 408.3 MB, free: 7.938 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4953/0.8432, allocations: 127.4 MB / 0.5231 GB, free: 66.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.8432, allocations: 0 / 0.5231 GB, free: 66.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003457/0.8436, allocations: 147.1 kB / 0.5233 GB, free: 66.16 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.02177/0.8654, allocations: 7.053 MB / 0.5302 GB, free: 59.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.8654, allocations: 8.031 kB / 0.5302 GB, free: 59.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01378/0.8792, allocations: 2.9 MB / 0.533 GB, free: 56.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01883/0.8981, allocations: 8.136 MB / 0.541 GB, free: 47.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000402/0.8985, allocations: 0.5176 MB / 0.5415 GB, free: 47.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003166/0.9017, allocations: 0.6989 MB / 0.5421 GB, free: 46.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03881/0.9405, allocations: 17.22 MB / 0.559 GB, free: 28.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000327/0.9409, allocations: 83.28 kB / 0.559 GB, free: 28.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002052/0.943, allocations: 327.9 kB / 0.5594 GB, free: 27.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001924/0.9449, allocations: 1.495 MB / 0.5608 GB, free: 26.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02826/0.9732, allocations: 14.38 MB / 0.5749 GB, free: 11.84 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.4533/1.427, allocations: 74.68 MB / 0.6478 GB, free: 26.11 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01889/1.445, allocations: 7.217 MB / 0.6548 GB, free: 25.42 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0045/1.45, allocations: 3.659 MB / 0.6584 GB, free: 24.34 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02308/1.473, allocations: 15.7 MB / 0.6737 GB, free: 16.56 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.832e-05/1.473, allocations: 67.22 kB / 0.6738 GB, free: 16.5 MB / 362.8 MB Notification: Performance of pre-optimization done (n=248): time 5.2e-06/1.473, allocations: 0 / 0.6738 GB, free: 16.5 MB / 362.8 MB Notification: Performance of matching and sorting (n=264): time 0.05765/1.531, allocations: 23.41 MB / 0.6967 GB, free: 6.578 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00122/1.532, allocations: 1.61 MB / 0.6982 GB, free: 4.867 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008097/1.54, allocations: 5.149 MB / 0.7033 GB, free: 288 kB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005934/1.541, allocations: 64.84 kB / 0.7033 GB, free: 220 kB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003408/1.544, allocations: 4.853 MB / 0.7081 GB, free: 11.91 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001441/1.546, allocations: 1.038 MB / 0.7091 GB, free: 11 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000426/1.546, allocations: 179 kB / 0.7093 GB, free: 10.83 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0004638/1.547, allocations: 0.6758 MB / 0.7099 GB, free: 10.25 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005223/1.552, allocations: 3.208 MB / 0.713 GB, free: 7.348 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009935/1.562, allocations: 8.596 MB / 0.7214 GB, free: 12.62 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008271/1.57, allocations: 5.192 MB / 0.7265 GB, free: 8.297 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001221/1.57, allocations: 52 kB / 0.7266 GB, free: 8.246 MB / 394.8 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.2311/1.801, allocations: 13.4 MB / 0.7396 GB, free: 92.35 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/1.802, allocations: 89.38 kB / 0.7397 GB, free: 92.35 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01173/1.813, allocations: 5.559 MB / 0.7452 GB, free: 91.96 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006006/1.819, allocations: 2.01 MB / 0.7471 GB, free: 91.91 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007841/1.827, allocations: 2.126 MB / 0.7492 GB, free: 91.91 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/1.84, allocations: 13.7 MB / 0.7626 GB, free: 84.36 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008249/1.849, allocations: 0.5679 MB / 0.7631 GB, free: 84.36 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002166/1.851, allocations: 0.5345 MB / 0.7637 GB, free: 84.36 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 875 * 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 (1105): * Single equations (assignments): 1091 * 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.001862/1.853, allocations: 0.7955 MB / 0.7644 GB, free: 84.25 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/1.854, allocations: 0.5145 MB / 0.7649 GB, free: 84.25 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/1.866, allocations: 6.38 MB / 0.7712 GB, free: 83.73 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01003/1.876, allocations: 5.471 MB / 0.7765 GB, free: 83.28 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01008/1.886, allocations: 5.852 MB / 0.7822 GB, free: 81.77 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.553e-05/1.886, allocations: 12.67 kB / 0.7822 GB, free: 81.76 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03071/1.917, allocations: 17.07 MB / 0.7989 GB, free: 75.58 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-05/1.917, allocations: 10 kB / 0.7989 GB, free: 75.58 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002427/1.919, allocations: 498.2 kB / 0.7994 GB, free: 75.54 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005077/1.924, allocations: 1.798 MB / 0.8012 GB, free: 75.23 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005808/1.925, allocations: 67.53 kB / 0.8012 GB, free: 75.2 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/1.936, allocations: 9.733 MB / 0.8107 GB, free: 69.53 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007611/1.937, allocations: 1.471 MB / 0.8122 GB, free: 68.11 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/1.952, allocations: 10.73 MB / 0.8226 GB, free: 59.08 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/1.954, allocations: 0.5648 MB / 0.8232 GB, free: 58.63 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/1.955, allocations: 59.33 kB / 0.8232 GB, free: 58.57 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002759/1.958, allocations: 219.2 kB / 0.8235 GB, free: 58.45 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005026/1.958, allocations: 190.6 kB / 0.8236 GB, free: 58.32 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002167/1.958, allocations: 91.69 kB / 0.8237 GB, free: 58.25 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.006182/1.965, allocations: 3.582 MB / 0.8272 GB, free: 55.07 MB / 394.8 MB Notification: Performance of sort global known variables: time 6.32e-07/1.965, allocations: 0 / 0.8272 GB, free: 55.07 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.009645/1.974, allocations: 1.678 MB / 0.8289 GB, free: 53.42 MB / 394.8 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (221): * Single equations (assignments): 211 * 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.001111/1.975, allocations: 259.6 kB / 0.8291 GB, free: 53.21 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.01348/1.989, allocations: 8.637 MB / 0.8375 GB, free: 45.38 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/1.989, allocations: 4 kB / 0.8375 GB, free: 45.37 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00541/1.994, allocations: 3.309 MB / 0.8408 GB, free: 42.21 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005266/2, allocations: 0.7751 MB / 0.8415 GB, free: 41.47 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02542/2.025, allocations: 12.52 MB / 0.8538 GB, free: 28.86 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01213/2.037, allocations: 4.965 MB / 0.8586 GB, free: 23.9 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.01547/2.053, allocations: 2.901 MB / 0.8614 GB, free: 21.06 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002272/2.055, allocations: 367.2 kB / 0.8618 GB, free: 20.7 MB / 394.8 MB Notification: Performance of SimCode: time 1.743e-06/2.055, allocations: 4 kB / 0.8618 GB, free: 20.7 MB / 394.8 MB Notification: Performance of Templates: time 0.4228/2.478, allocations: 58.08 MB / 0.9185 GB, free: 81.62 MB / 394.8 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)