Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.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.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001473/0.001473, allocations: 181.9 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.632/1.632, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001635/0.001634, allocations: 112.7 kB / 253.5 MB, free: 9.594 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.475e-05, allocations: 7.984 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07687/0.07691, allocations: 44.5 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3051/0.382, allocations: 92.49 MB / 441.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.3823, allocations: 88.89 kB / 442 MB, free: 3.102 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5634/0.9458, allocations: 147.1 MB / 0.5753 GB, free: 69.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.9459, allocations: 3.906 kB / 0.5753 GB, free: 69.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006049/0.9465, allocations: 143.9 kB / 0.5755 GB, free: 69.12 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: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.03877/0.9852, allocations: 8.561 MB / 0.5838 GB, free: 66.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.9853, allocations: 9.828 kB / 0.5838 GB, free: 66.26 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06065/1.046, allocations: 16.68 MB / 0.6001 GB, free: 65.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0348/1.081, allocations: 13.14 MB / 0.613 GB, free: 63.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005237/1.081, allocations: 0.4929 MB / 0.6134 GB, free: 63.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003658/1.085, allocations: 0.6605 MB / 0.6141 GB, free: 62.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03846/1.124, allocations: 16.77 MB / 0.6304 GB, free: 44.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000353/1.124, allocations: 103.1 kB / 0.6305 GB, free: 44.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001171/1.125, allocations: 314.7 kB / 0.6308 GB, free: 44.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001742/1.127, allocations: 1.477 MB / 0.6323 GB, free: 42.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03019/1.157, allocations: 13.48 MB / 0.6455 GB, free: 29.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4166/1.574, allocations: 76.75 MB / 0.7204 GB, free: 42.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02686/1.601, allocations: 8.529 MB / 0.7287 GB, free: 42.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004988/1.606, allocations: 4.095 MB / 0.7327 GB, free: 42.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001591/1.607, allocations: 1.357 MB / 0.7341 GB, free: 40.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.592e-05/1.607, allocations: 61.56 kB / 0.7341 GB, free: 40.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=268): time 8.066e-06/1.607, allocations: 2.953 kB / 0.7341 GB, free: 40.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=354): time 0.1444/1.752, allocations: 46.87 MB / 0.7799 GB, free: 33.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00302/1.755, allocations: 3.223 MB / 0.783 GB, free: 30.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01441/1.769, allocations: 6.49 MB / 0.7894 GB, free: 27.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001448/1.771, allocations: 79.2 kB / 0.7894 GB, free: 27.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004349/1.775, allocations: 5.201 MB / 0.7945 GB, free: 24.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002218/1.777, allocations: 1.346 MB / 0.7958 GB, free: 23.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007643/1.778, allocations: 194.8 kB / 0.796 GB, free: 23.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005018/1.779, allocations: 0.7072 MB / 0.7967 GB, free: 22.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006226/1.785, allocations: 4.502 MB / 0.8011 GB, free: 19.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009229/1.794, allocations: 9.784 MB / 0.8107 GB, free: 7.504 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/1.805, allocations: 6.552 MB / 0.8171 GB, free: 2.141 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/1.805, allocations: 55.66 kB / 0.8171 GB, free: 2.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.08469/1.889, allocations: 31.9 MB / 0.8483 GB, free: 8.723 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003269/1.89, allocations: 84.97 kB / 0.8484 GB, free: 8.641 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3759/2.266, allocations: 20.63 MB / 0.8685 GB, free: 111 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0439/2.31, allocations: 16.6 MB / 0.8847 GB, free: 111 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008169/2.318, allocations: 2.116 MB / 0.8868 GB, free: 111 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04569/2.364, allocations: 33.32 MB / 0.9193 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01103/2.375, allocations: 0.778 MB / 0.9201 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002592/2.377, allocations: 0.5618 MB / 0.9206 GB, free: 103.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1091): * Single equations (assignments): 1078 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.002586/2.38, allocations: 0.8205 MB / 0.9214 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003122/2.383, allocations: 0.6731 MB / 0.9221 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0315/2.415, allocations: 10.22 MB / 0.9321 GB, free: 99.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02482/2.439, allocations: 8.929 MB / 0.9408 GB, free: 96.76 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.657e-05/2.44, allocations: 17.59 kB / 0.9408 GB, free: 96.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001089/2.44, allocations: 20.97 kB / 0.9408 GB, free: 96.74 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05941/2.499, allocations: 23.54 MB / 0.9638 GB, free: 74.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-05/2.499, allocations: 0 / 0.9638 GB, free: 74.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003053/2.502, allocations: 0.5644 MB / 0.9644 GB, free: 73.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01254/2.515, allocations: 4.003 MB / 0.9683 GB, free: 69.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001284/2.516, allocations: 103.9 kB / 0.9684 GB, free: 69.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02855/2.545, allocations: 24.01 MB / 0.9918 GB, free: 45.19 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001967/2.547, allocations: 2.961 MB / 0.9947 GB, free: 41.99 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02932/2.576, allocations: 15.7 MB / 1.01 GB, free: 26.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00542/2.582, allocations: 1.379 MB / 1.011 GB, free: 25.03 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003115/2.585, allocations: 91.81 kB / 1.011 GB, free: 24.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006105/2.591, allocations: 333.9 kB / 1.012 GB, free: 24.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001536/2.593, allocations: 253.1 kB / 1.012 GB, free: 24.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007792/2.593, allocations: 102.2 kB / 1.012 GB, free: 24.28 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.3236/2.917, allocations: 4.63 MB / 1.017 GB, free: 107.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.42e-07/2.917, allocations: 4.688 kB / 1.017 GB, free: 107.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01338/2.93, allocations: 2.128 MB / 1.019 GB, free: 107.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 235 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 33,(1,100.0%) 1,(5,100.0%) 35,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008949/2.931, allocations: 218.6 kB / 1.019 GB, free: 107.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02239/2.954, allocations: 11.87 MB / 1.031 GB, free: 106.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/2.954, allocations: 0 / 1.031 GB, free: 106.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008682/2.963, allocations: 5.198 MB / 1.036 GB, free: 105.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007583/2.97, allocations: 0.9386 MB / 1.037 GB, free: 105.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03907/3.009, allocations: 16.33 MB / 1.052 GB, free: 102.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007597/3.017, allocations: 5.511 MB / 1.058 GB, free: 101.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008604/3.026, allocations: 3.173 MB / 1.061 GB, free: 101.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001693/3.027, allocations: 452.6 kB / 1.061 GB, free: 101.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.582e-06/3.027, allocations: 3.875 kB / 1.061 GB, free: 101.6 MB / 458.7 MB Notification: Performance of Templates: time 0.1564/3.184, allocations: 98.81 MB / 1.158 GB, free: 33.68 MB / 458.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe 2>&1)