Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7698/0.7698, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001768/0.001769, allocations: 163.3 kB / 144 MB, free: 4.793 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.177e-05/2.179e-05, allocations: 4 kB / 173.9 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04608/0.04612, allocations: 25.18 MB / 199 MB, free: 13.69 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.229, allocations: 50.74 MB / 249.8 MB, free: 20.44 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.2293, allocations: 71.42 kB / 249.8 MB, free: 20.44 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.992/1.221, allocations: 261.7 MB / 0.4996 GB, free: 9.762 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.593e-06/1.221, allocations: 0 / 0.4996 GB, free: 9.762 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0007443/1.222, allocations: 180 kB / 0.4998 GB, free: 9.586 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2972 * Number of variables: 2972 Notification: Performance of Generate backend data structure: time 0.0571/1.279, allocations: 12.85 MB / 0.5123 GB, free: 12.67 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/1.279, allocations: 8.031 kB / 0.5123 GB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3847/1.664, allocations: 42.38 MB / 0.5537 GB, free: 26.39 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03576/1.7, allocations: 15.48 MB / 0.5688 GB, free: 25.67 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006028/1.7, allocations: 289.4 kB / 0.5691 GB, free: 25.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006859/1.707, allocations: 0.4984 MB / 0.5696 GB, free: 25.65 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03608/1.743, allocations: 20.95 MB / 0.59 GB, free: 17.35 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06105/1.805, allocations: 24.52 MB / 0.614 GB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005538/1.805, allocations: 76.5 kB / 0.6141 GB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005486/1.811, allocations: 37.95 kB / 0.6141 GB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2254/2.036, allocations: 11.79 MB / 0.6256 GB, free: 36.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7558/2.792, allocations: 168.5 MB / 0.7901 GB, free: 22.21 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009971/2.802, allocations: 8.542 MB / 0.7985 GB, free: 20.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007357/2.809, allocations: 6.065 MB / 0.8044 GB, free: 20.62 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001587/2.811, allocations: 1.366 MB / 0.8057 GB, free: 19.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.052e-05/2.811, allocations: 92.41 kB / 0.8058 GB, free: 19.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=449): time 9.247e-06/2.811, allocations: 0 / 0.8058 GB, free: 19.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=559): time 0.3128/3.124, allocations: 67.7 MB / 0.8719 GB, free: 76.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/3.124, allocations: 0.535 MB / 0.8725 GB, free: 75.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/3.136, allocations: 6.69 MB / 0.879 GB, free: 74.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00189/3.138, allocations: 25.7 kB / 0.879 GB, free: 74.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004196/3.142, allocations: 6.266 MB / 0.8851 GB, free: 71.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00304/3.145, allocations: 1.991 MB / 0.8871 GB, free: 70.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/3.146, allocations: 0 / 0.8871 GB, free: 70.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0005724/3.147, allocations: 0.8496 MB / 0.8879 GB, free: 69.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008382/3.155, allocations: 6.921 MB / 0.8947 GB, free: 69.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.012/3.167, allocations: 13.54 MB / 0.9079 GB, free: 59.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01224/3.18, allocations: 8.783 MB / 0.9165 GB, free: 56.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001938/3.18, allocations: 69.12 kB / 0.9165 GB, free: 56.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=1669) (initialization): time 0.07859/3.258, allocations: 36.06 MB / 0.9517 GB, free: 46.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000155/3.259, allocations: 108 kB / 0.9518 GB, free: 46.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04701/3.306, allocations: 22.99 MB / 0.9743 GB, free: 28.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2492/3.555, allocations: 16.58 MB / 0.9905 GB, free: 65.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01127/3.566, allocations: 2.963 MB / 0.9934 GB, free: 65.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04/3.606, allocations: 31.61 MB / 1.024 GB, free: 60.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0206/3.627, allocations: 2.214 MB / 1.026 GB, free: 60.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00382/3.631, allocations: 0.9346 MB / 1.027 GB, free: 60.33 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1061 * 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 (1487): * Single equations (assignments): 1456 * Array equations: 25 * 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,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.003751/3.635, allocations: 0.698 MB / 1.028 GB, free: 60.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002387/3.637, allocations: 0.743 MB / 1.029 GB, free: 60.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02089/3.658, allocations: 12.52 MB / 1.041 GB, free: 55.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03455/3.692, allocations: 13.92 MB / 1.055 GB, free: 52.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-05/3.693, allocations: 19.06 kB / 1.055 GB, free: 52.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001247/3.693, allocations: 28.97 kB / 1.055 GB, free: 52.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3729/4.066, allocations: 41.53 MB / 1.095 GB, free: 61.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.986e-05/4.066, allocations: 14.62 kB / 1.095 GB, free: 61.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004853/4.071, allocations: 0.885 MB / 1.096 GB, free: 61.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01293/4.084, allocations: 3.871 MB / 1.1 GB, free: 61.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001592/4.085, allocations: 149.5 kB / 1.1 GB, free: 61.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02403/4.109, allocations: 22.37 MB / 1.122 GB, free: 54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001365/4.111, allocations: 2.865 MB / 1.125 GB, free: 51.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03238/4.143, allocations: 25.24 MB / 1.149 GB, free: 42.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005745/4.149, allocations: 2.03 MB / 1.151 GB, free: 41.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00295/4.152, allocations: 60.17 kB / 1.151 GB, free: 41.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01313/4.165, allocations: 1.693 MB / 1.153 GB, free: 41.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001444/4.166, allocations: 401.5 kB / 1.153 GB, free: 41.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007883/4.167, allocations: 335.2 kB / 1.154 GB, free: 41.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.007667/4.175, allocations: 4.577 MB / 1.158 GB, free: 39.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.51e-07/4.175, allocations: 3.781 kB / 1.158 GB, free: 39.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.01365/4.189, allocations: 2.437 MB / 1.161 GB, free: 39.81 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * Number of states: 16 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],rotor1D.phi,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],rotor1D.rotorWith3DEffects.w,$STATESET3.x[3],$STATESET3.x[2],$STATESET3.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 (431): * Single equations (assignments): 410 * Array equations: 13 * 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.001173/4.19, allocations: 206.4 kB / 1.161 GB, free: 39.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.02149/4.211, allocations: 16.75 MB / 1.177 GB, free: 33.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/4.211, allocations: 3.844 kB / 1.177 GB, free: 33.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008778/4.22, allocations: 7.218 MB / 1.184 GB, free: 27.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006099/4.226, allocations: 0.8844 MB / 1.185 GB, free: 26.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2031/4.429, allocations: 21.52 MB / 1.206 GB, free: 57.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01313/4.443, allocations: 6.695 MB / 1.213 GB, free: 56.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.01562/4.458, allocations: 4.629 MB / 1.217 GB, free: 56.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004933/4.463, allocations: 0.9172 MB / 1.218 GB, free: 56.87 MB / 314.7 MB Notification: Performance of SimCode: time 9.21e-07/4.463, allocations: 0.625 kB / 1.218 GB, free: 56.87 MB / 314.7 MB Notification: Performance of Templates: time 0.4494/4.913, allocations: 136 MB / 1.351 GB, free: 50.52 MB / 314.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe 2>&1)