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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001001/0.001001, allocations: 181.2 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.555/1.555, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001672/0.001672, allocations: 120.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.433e-05/3.435e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1125, allocations: 44.49 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5437, allocations: 106.3 MB / 455.7 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003866/0.5442, allocations: 85.39 kB / 455.8 MB, free: 5.434 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5659/1.11, allocations: 127.5 MB / 0.5697 GB, free: 73.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.833e-06/1.11, allocations: 0 / 0.5697 GB, free: 73.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003709/1.111, allocations: 153.6 kB / 0.5698 GB, free: 73.31 MB / 394.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.02291/1.133, allocations: 7.051 MB / 0.5767 GB, free: 70.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.134, allocations: 13.84 kB / 0.5767 GB, free: 70.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01401/1.148, allocations: 2.914 MB / 0.5796 GB, free: 70.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01839/1.166, allocations: 8.138 MB / 0.5875 GB, free: 69.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004244/1.166, allocations: 0.5157 MB / 0.588 GB, free: 69.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003257/1.17, allocations: 0.6993 MB / 0.5887 GB, free: 69.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04299/1.213, allocations: 17.21 MB / 0.6055 GB, free: 62.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003907/1.213, allocations: 80.53 kB / 0.6056 GB, free: 62.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00259/1.216, allocations: 337.7 kB / 0.6059 GB, free: 62.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002217/1.218, allocations: 1.493 MB / 0.6074 GB, free: 62.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03067/1.249, allocations: 14.37 MB / 0.6214 GB, free: 51.46 MB / 394.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.3724/1.621, allocations: 74.7 MB / 0.6944 GB, free: 37.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0214/1.643, allocations: 7.218 MB / 0.7014 GB, free: 36.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004939/1.648, allocations: 3.665 MB / 0.705 GB, free: 36.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02169/1.669, allocations: 15.7 MB / 0.7203 GB, free: 33.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/1.669, allocations: 64.3 kB / 0.7204 GB, free: 33.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=248): time 5.991e-06/1.669, allocations: 3.281 kB / 0.7204 GB, free: 33.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=264): time 0.06298/1.732, allocations: 23.4 MB / 0.7432 GB, free: 29.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009931/1.733, allocations: 1.613 MB / 0.7448 GB, free: 27.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008219/1.742, allocations: 5.15 MB / 0.7499 GB, free: 26.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008342/1.743, allocations: 65.7 kB / 0.7499 GB, free: 26.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003215/1.746, allocations: 4.844 MB / 0.7546 GB, free: 22.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00162/1.747, allocations: 1.04 MB / 0.7557 GB, free: 21.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006535/1.748, allocations: 177.8 kB / 0.7558 GB, free: 21.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005359/1.749, allocations: 0.6802 MB / 0.7565 GB, free: 21.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004654/1.753, allocations: 3.21 MB / 0.7596 GB, free: 20.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009814/1.763, allocations: 8.602 MB / 0.768 GB, free: 11.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009217/1.772, allocations: 5.184 MB / 0.7731 GB, free: 10.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002564/1.773, allocations: 61 kB / 0.7731 GB, free: 10.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.02723/1.8, allocations: 13.48 MB / 0.7863 GB, free: 3.363 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/1.8, allocations: 88 kB / 0.7864 GB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009954/1.81, allocations: 5.655 MB / 0.7919 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006147/1.816, allocations: 2.098 MB / 0.794 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008044/1.824, allocations: 2.111 MB / 0.796 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/1.841, allocations: 14.08 MB / 0.8098 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009937/1.851, allocations: 0.5635 MB / 0.8103 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002166/1.853, allocations: 0.537 MB / 0.8109 GB, free: 12.94 MB / 442.7 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 (1102): * Single equations (assignments): 1088 * 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 {4} * 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.001921/1.855, allocations: 0.7925 MB / 0.8116 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/1.857, allocations: 0.5201 MB / 0.8121 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/1.87, allocations: 6.377 MB / 0.8184 GB, free: 6.465 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01006/1.88, allocations: 5.457 MB / 0.8237 GB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01204/1.892, allocations: 5.871 MB / 0.8294 GB, free: 13.15 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.759e-05/1.892, allocations: 14.39 kB / 0.8294 GB, free: 13.15 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04245/1.934, allocations: 17.06 MB / 0.8461 GB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.189e-05/1.934, allocations: 12 kB / 0.8461 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002623/1.937, allocations: 0.4911 MB / 0.8466 GB, free: 11.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005541/1.943, allocations: 1.795 MB / 0.8483 GB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005798/1.943, allocations: 68.91 kB / 0.8484 GB, free: 10.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01373/1.957, allocations: 9.728 MB / 0.8579 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001368/1.958, allocations: 1.472 MB / 0.8594 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01961/1.978, allocations: 10.75 MB / 0.8698 GB, free: 2.973 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002327/1.98, allocations: 0.5684 MB / 0.8704 GB, free: 2.379 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001575/1.982, allocations: 61.23 kB / 0.8705 GB, free: 2.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003455/1.986, allocations: 215.7 kB / 0.8707 GB, free: 2.109 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006031/1.986, allocations: 193.5 kB / 0.8708 GB, free: 1.918 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003233/1.986, allocations: 81.47 kB / 0.8709 GB, free: 1.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.269/2.255, allocations: 3.583 MB / 0.8744 GB, free: 144.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.81e-07/2.256, allocations: 0 / 0.8744 GB, free: 144.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01114/2.267, allocations: 1.686 MB / 0.8761 GB, free: 144.7 MB / 490.7 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.001113/2.268, allocations: 263.8 kB / 0.8763 GB, free: 144.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01727/2.285, allocations: 8.762 MB / 0.8849 GB, free: 143.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/2.285, allocations: 0 / 0.8849 GB, free: 143.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005693/2.291, allocations: 3.312 MB / 0.8881 GB, free: 143 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00542/2.296, allocations: 0.7678 MB / 0.8889 GB, free: 143 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0298/2.326, allocations: 12.52 MB / 0.9011 GB, free: 140.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008751/2.335, allocations: 4.97 MB / 0.9059 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009668/2.345, allocations: 2.894 MB / 0.9088 GB, free: 139.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001806/2.347, allocations: 367.4 kB / 0.9091 GB, free: 139.3 MB / 490.7 MB Notification: Performance of SimCode: time 6.42e-07/2.347, allocations: 0 / 0.9091 GB, free: 139.3 MB / 490.7 MB Notification: Performance of Templates: time 0.1145/2.461, allocations: 58.71 MB / 0.9665 GB, free: 117.9 MB / 490.7 MB 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)