Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.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.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009258/0.009258, allocations: 166.5 kB / 15.11 MB, free: 5.98 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.398/1.398, allocations: 170.8 MB / 186.6 MB, free: 0.9688 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.001596/0.001596, allocations: 102.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.000363, allocations: 8 kB / 274.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2165, allocations: 38.77 MB / 312.9 MB, free: 38.96 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1108/0.3274, allocations: 86.82 MB / 399.7 MB, free: 3.664 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.3277, allocations: 91.94 kB / 399.8 MB, free: 3.574 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5386/0.8663, allocations: 147 MB / 0.534 GB, free: 8.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.65e-06/0.8664, allocations: 4 kB / 0.534 GB, free: 8.773 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006004/0.867, allocations: 147.9 kB / 0.5341 GB, free: 8.629 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: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.4841/1.351, allocations: 9.47 MB / 0.5434 GB, free: 37.3 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/1.351, allocations: 7.906 kB / 0.5434 GB, free: 37.3 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05723/1.408, allocations: 16.66 MB / 0.5596 GB, free: 36.79 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03361/1.442, allocations: 13.2 MB / 0.5725 GB, free: 36.25 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006479/1.443, allocations: 497.7 kB / 0.573 GB, free: 36.23 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004334/1.447, allocations: 0.6685 MB / 0.5737 GB, free: 36.22 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04011/1.487, allocations: 16.87 MB / 0.5901 GB, free: 32.14 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000372/1.488, allocations: 111.2 kB / 0.5902 GB, free: 32.13 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001382/1.489, allocations: 322.1 kB / 0.5905 GB, free: 32.13 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001911/1.491, allocations: 1.474 MB / 0.592 GB, free: 32.11 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02936/1.52, allocations: 13.66 MB / 0.6053 GB, free: 30.61 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09316/1.613, allocations: 76.85 MB / 0.6804 GB, free: 13.48 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02646/1.64, allocations: 8.573 MB / 0.6887 GB, free: 6.641 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002019/1.642, allocations: 1.343 MB / 0.69 GB, free: 5.199 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.052e-05/1.642, allocations: 64.03 kB / 0.6901 GB, free: 5.129 MB / 394.8 MB Notification: Performance of pre-optimization done (n=268): time 7.133e-06/1.642, allocations: 0 / 0.6901 GB, free: 5.129 MB / 394.8 MB Notification: Performance of matching and sorting (n=354): time 0.4043/2.046, allocations: 53.14 MB / 0.742 GB, free: 74.78 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002047/2.049, allocations: 3.259 MB / 0.7452 GB, free: 71.73 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01547/2.064, allocations: 6.569 MB / 0.7516 GB, free: 71.23 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001249/2.065, allocations: 77.89 kB / 0.7517 GB, free: 71.2 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004476/2.07, allocations: 5.196 MB / 0.7568 GB, free: 68.86 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002291/2.072, allocations: 1.343 MB / 0.7581 GB, free: 68.08 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/2.073, allocations: 191.2 kB / 0.7582 GB, free: 68.08 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0004598/2.074, allocations: 0.7117 MB / 0.7589 GB, free: 67.76 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006331/2.08, allocations: 4.574 MB / 0.7634 GB, free: 66.61 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009615/2.09, allocations: 9.858 MB / 0.773 GB, free: 57.97 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00983/2.1, allocations: 6.559 MB / 0.7794 GB, free: 55.63 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002917/2.1, allocations: 59.72 kB / 0.7795 GB, free: 55.63 MB / 394.8 MB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.07412/2.174, allocations: 31.62 MB / 0.8104 GB, free: 37.8 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004359/2.175, allocations: 86.81 kB / 0.8105 GB, free: 37.72 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04724/2.222, allocations: 20.7 MB / 0.8307 GB, free: 17.71 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2984/2.52, allocations: 16.61 MB / 0.8469 GB, free: 65.62 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008253/2.528, allocations: 2.119 MB / 0.849 GB, free: 65.62 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0452/2.574, allocations: 35.35 MB / 0.8835 GB, free: 60.43 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/2.585, allocations: 0.7761 MB / 0.8842 GB, free: 60.43 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002736/2.588, allocations: 0.5618 MB / 0.8848 GB, free: 60.43 MB / 394.8 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 () * Number of clocked 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.009116/2.597, allocations: 3.424 MB / 0.8881 GB, free: 59.63 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002486/2.6, allocations: 0.67 MB / 0.8888 GB, free: 59.63 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02024/2.62, allocations: 10.22 MB / 0.8988 GB, free: 56.02 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01644/2.636, allocations: 8.912 MB / 0.9075 GB, free: 53.01 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.574e-05/2.636, allocations: 18.28 kB / 0.9075 GB, free: 53.01 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.329e-05/2.636, allocations: 14.25 kB / 0.9075 GB, free: 53.01 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04973/2.686, allocations: 23.66 MB / 0.9306 GB, free: 42.81 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.232e-05/2.686, allocations: 0 / 0.9306 GB, free: 42.81 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00312/2.689, allocations: 0.5723 MB / 0.9312 GB, free: 42.4 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01148/2.701, allocations: 3.636 MB / 0.9347 GB, free: 39.99 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001162/2.702, allocations: 94.3 kB / 0.9348 GB, free: 39.92 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02593/2.728, allocations: 22.75 MB / 0.957 GB, free: 17.47 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001797/2.73, allocations: 2.989 MB / 0.96 GB, free: 14.24 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2626/2.993, allocations: 15.81 MB / 0.9754 GB, free: 62.28 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006145/2.999, allocations: 1.386 MB / 0.9767 GB, free: 62.19 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003223/3.002, allocations: 87.14 kB / 0.9768 GB, free: 62.19 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00584/3.008, allocations: 322.1 kB / 0.9771 GB, free: 62.19 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001464/3.009, allocations: 249.6 kB / 0.9774 GB, free: 62.19 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007872/3.01, allocations: 101.5 kB / 0.9775 GB, free: 62.19 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.01024/3.02, allocations: 4.707 MB / 0.9821 GB, free: 61.97 MB / 394.8 MB Notification: Performance of sort global known variables: time 7.51e-07/3.02, allocations: 3.625 kB / 0.9821 GB, free: 61.97 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01286/3.033, allocations: 2.123 MB / 0.9841 GB, free: 61.97 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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],bodyCylinder1.body.w_a[1],bodyCylinder1.body.w_a[2],bodyCylinder1.body.w_a[3],revolute.phi,revolute.w) * 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 (248): * Single equations (assignments): 238 * 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: 3 * 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: 3 {(3,100.0%) 33,(1,100.0%) 1,(5,100.0%) 34} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001226/3.035, allocations: 226.4 kB / 0.9844 GB, free: 61.89 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.02295/3.057, allocations: 12.03 MB / 0.9961 GB, free: 61.11 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/3.058, allocations: 0.7812 kB / 0.9961 GB, free: 61.11 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009573/3.067, allocations: 5.139 MB / 1.001 GB, free: 60.25 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008202/3.075, allocations: 0.9433 MB / 1.002 GB, free: 60.23 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05539/3.131, allocations: 21.94 MB / 1.023 GB, free: 52.75 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01323/3.144, allocations: 5.51 MB / 1.029 GB, free: 51.85 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.01152/3.156, allocations: 3.183 MB / 1.032 GB, free: 51.59 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002728/3.158, allocations: 451.7 kB / 1.032 GB, free: 51.58 MB / 394.8 MB Notification: Performance of SimCode: time 1.864e-06/3.158, allocations: 0 / 1.032 GB, free: 51.58 MB / 394.8 MB Notification: Performance of Templates: time 0.4078/3.566, allocations: 98.9 MB / 1.129 GB, free: 81.73 MB / 410.8 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe 2>&1)