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.007583/0.007583, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.353/1.353, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001567/0.001567, allocations: 119.3 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003449, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2278, allocations: 38.76 MB / 312.9 MB, free: 38.72 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.3444, allocations: 100.7 MB / 413.6 MB, free: 5.777 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.3448, allocations: 87.95 kB / 413.7 MB, free: 5.691 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4505/0.7953, allocations: 127.3 MB / 0.5283 GB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.7953, allocations: 0 / 0.5283 GB, free: 15.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004038/0.7957, allocations: 148 kB / 0.5285 GB, free: 15.34 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.02566/0.8214, allocations: 7.5 MB / 0.5358 GB, free: 7.754 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.8215, allocations: 8.031 kB / 0.5358 GB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01353/0.835, allocations: 2.888 MB / 0.5386 GB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2078/1.043, allocations: 8.17 MB / 0.5466 GB, free: 40.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005988/1.044, allocations: 0.5202 MB / 0.5471 GB, free: 40.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00417/1.048, allocations: 0.6946 MB / 0.5478 GB, free: 40.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04196/1.09, allocations: 17.34 MB / 0.5647 GB, free: 37.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005671/1.09, allocations: 81.72 kB / 0.5648 GB, free: 37.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003283/1.094, allocations: 328.6 kB / 0.5651 GB, free: 37.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003114/1.097, allocations: 1.499 MB / 0.5666 GB, free: 37.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03126/1.128, allocations: 14.57 MB / 0.5808 GB, free: 37.15 MB / 346.7 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.09654/1.225, allocations: 74.7 MB / 0.6537 GB, free: 1.906 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02245/1.247, allocations: 7.42 MB / 0.661 GB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03176/1.279, allocations: 15.7 MB / 0.6763 GB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.206e-05/1.279, allocations: 64.39 kB / 0.6764 GB, free: 1.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=248): time 5.56e-06/1.279, allocations: 6.469 kB / 0.6764 GB, free: 1.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=264): time 0.2895/1.569, allocations: 28.36 MB / 0.7041 GB, free: 66.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001059/1.57, allocations: 1.621 MB / 0.7057 GB, free: 65.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009412/1.579, allocations: 5.197 MB / 0.7108 GB, free: 64.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007605/1.58, allocations: 66.75 kB / 0.7108 GB, free: 64.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003225/1.583, allocations: 4.84 MB / 0.7155 GB, free: 62.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001571/1.585, allocations: 1.034 MB / 0.7166 GB, free: 61.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005137/1.585, allocations: 184.6 kB / 0.7167 GB, free: 61.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003971/1.586, allocations: 0.6789 MB / 0.7174 GB, free: 61.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00539/1.591, allocations: 3.275 MB / 0.7206 GB, free: 61.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008033/1.599, allocations: 8.664 MB / 0.7291 GB, free: 54.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007594/1.607, allocations: 5.192 MB / 0.7341 GB, free: 54.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000139/1.607, allocations: 52.78 kB / 0.7342 GB, free: 54.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.02734/1.634, allocations: 13.52 MB / 0.7474 GB, free: 50.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004766/1.635, allocations: 91.16 kB / 0.7475 GB, free: 50.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0122/1.647, allocations: 5.604 MB / 0.7529 GB, free: 48.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006068/1.653, allocations: 2.015 MB / 0.7549 GB, free: 47.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008104/1.661, allocations: 2.128 MB / 0.757 GB, free: 47.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/1.675, allocations: 13.94 MB / 0.7706 GB, free: 37.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009722/1.684, allocations: 0.5697 MB / 0.7711 GB, free: 37.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002585/1.687, allocations: 0.5302 MB / 0.7717 GB, free: 36.72 MB / 378.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 () * Number of clocked 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.00931/1.696, allocations: 3.227 MB / 0.7748 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002302/1.699, allocations: 0.5128 MB / 0.7753 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/1.712, allocations: 6.437 MB / 0.7816 GB, free: 28.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009965/1.722, allocations: 5.518 MB / 0.787 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01146/1.734, allocations: 5.896 MB / 0.7927 GB, free: 18.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.251e-05/1.734, allocations: 13.66 kB / 0.7928 GB, free: 18.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03986/1.774, allocations: 17.12 MB / 0.8095 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-05/1.774, allocations: 8 kB / 0.8095 GB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002746/1.777, allocations: 0.4937 MB / 0.81 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005711/1.783, allocations: 1.799 MB / 0.8117 GB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001158/1.784, allocations: 67.72 kB / 0.8118 GB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2179/2.002, allocations: 9.96 MB / 0.8215 GB, free: 57.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007297/2.003, allocations: 1.478 MB / 0.823 GB, free: 55.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/2.017, allocations: 10.82 MB / 0.8335 GB, free: 53.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/2.018, allocations: 0.567 MB / 0.8341 GB, free: 53.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007095/2.019, allocations: 62.42 kB / 0.8341 GB, free: 53.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/2.021, allocations: 218.1 kB / 0.8343 GB, free: 53.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004393/2.022, allocations: 195 kB / 0.8345 GB, free: 53.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/2.022, allocations: 78.27 kB / 0.8346 GB, free: 53.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006184/2.028, allocations: 3.635 MB / 0.8382 GB, free: 53.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.8e-07/2.028, allocations: 0 / 0.8382 GB, free: 53.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01197/2.04, allocations: 1.678 MB / 0.8398 GB, free: 53.01 MB / 378.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 () * Number of clocked 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.001033/2.041, allocations: 271.1 kB / 0.8401 GB, free: 52.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01568/2.057, allocations: 8.729 MB / 0.8486 GB, free: 52.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.986e-05/2.057, allocations: 3.719 kB / 0.8486 GB, free: 52.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00593/2.063, allocations: 3.345 MB / 0.8518 GB, free: 51.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006745/2.07, allocations: 0.7652 MB / 0.8526 GB, free: 51.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03127/2.101, allocations: 17.79 MB / 0.87 GB, free: 44.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006735/2.108, allocations: 4.973 MB / 0.8748 GB, free: 43.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00813/2.116, allocations: 2.905 MB / 0.8777 GB, free: 43.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/2.117, allocations: 363.4 kB / 0.878 GB, free: 43.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/2.117, allocations: 0 / 0.878 GB, free: 43.32 MB / 378.7 MB Notification: Performance of Templates: time 0.1085/2.226, allocations: 58.05 MB / 0.9347 GB, free: 9.191 MB / 378.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)