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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 196.4 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 43.94 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3201, allocations: 46.63 MB / 324.7 MB, free: 2.043 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.09244/0.4125, allocations: 94.51 MB / 419.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.05682/0.4694, allocations: 18.47 MB / 437.7 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02692/0.4964, allocations: 434.9 kB / 438.1 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01083/0.5073, allocations: 5.202 MB / 443.3 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01283/0.5202, allocations: 2.99 MB / 446.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004192/0.5245, allocations: 1.303 MB / 447.6 MB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3285/0.853, allocations: 14.05 MB / 461.6 MB, free: 4.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008445/0.8615, allocations: 6.074 MB / 467.7 MB, free: 3.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006697/0.8682, allocations: 2.757 MB / 470.5 MB, free: 3.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008103/0.8763, allocations: 4.385 MB / 474.9 MB, free: 3.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003206/0.8796, allocations: 403.7 kB / 475.2 MB, free: 3.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006278/0.8859, allocations: 1.801 MB / 477.1 MB, free: 3.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006412/0.8923, allocations: 3.608 MB / 480.7 MB, free: 3.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008207/0.9006, allocations: 3.829 MB / 484.5 MB, free: 1.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01682/0.9174, allocations: 11.91 MB / 496.4 MB, free: 13.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.9175, allocations: 0 / 496.4 MB, free: 13.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.9175, allocations: 0 / 496.4 MB, free: 13.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006092/0.9181, allocations: 7.094 kB / 496.4 MB, free: 13.71 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.04224/0.9604, allocations: 9.526 MB / 0.4941 GB, free: 8.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.9604, allocations: 10.66 kB / 0.4941 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03259/0.993, allocations: 8.706 MB / 0.5026 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01946/1.013, allocations: 7.241 MB / 0.5097 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005391/1.013, allocations: 384.1 kB / 0.51 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004299/1.017, allocations: 0.6907 MB / 0.5107 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04387/1.061, allocations: 17.15 MB / 0.5274 GB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003983/1.062, allocations: 91.39 kB / 0.5275 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001382/1.063, allocations: 239.2 kB / 0.5278 GB, free: 9.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004405/1.068, allocations: 2.778 MB / 0.5305 GB, free: 6.984 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03686/1.105, allocations: 14.96 MB / 0.5451 GB, free: 8.281 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1089/1.214, allocations: 68.37 MB / 0.6119 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03084/1.244, allocations: 9.23 MB / 0.6209 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007838/1.252, allocations: 4.755 MB / 0.6255 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001686/1.254, allocations: 1.036 MB / 0.6265 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.034e-05/1.254, allocations: 62.81 kB / 0.6266 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=268): time 6.913e-06/1.254, allocations: 0 / 0.6266 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of matching and sorting (n=351): time 0.4287/1.683, allocations: 59.85 MB / 0.685 GB, free: 206.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001794/1.685, allocations: 3.245 MB / 0.6882 GB, free: 203 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01144/1.696, allocations: 7.508 MB / 0.6955 GB, free: 195.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001523/1.698, allocations: 81.45 kB / 0.6956 GB, free: 195.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002902/1.701, allocations: 5.033 MB / 0.7005 GB, free: 190.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00235/1.703, allocations: 1.347 MB / 0.7018 GB, free: 189 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003116/1.706, allocations: 2.173 MB / 0.704 GB, free: 186.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.564e-05/1.706, allocations: 301.1 kB / 0.7042 GB, free: 186.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006488/1.713, allocations: 5.525 MB / 0.7096 GB, free: 181 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00904/1.722, allocations: 10.83 MB / 0.7202 GB, free: 167.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.019/1.741, allocations: 17.25 MB / 0.7371 GB, free: 147.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001954/1.741, allocations: 52 kB / 0.7371 GB, free: 147.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1334) (initialization): time 0.06998/1.811, allocations: 34.83 MB / 0.7711 GB, free: 112.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/1.811, allocations: 84 kB / 0.7712 GB, free: 112.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04662/1.858, allocations: 23.7 MB / 0.7944 GB, free: 89.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04329/1.901, allocations: 17.86 MB / 0.8118 GB, free: 71.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008643/1.91, allocations: 2.398 MB / 0.8141 GB, free: 68.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04544/1.955, allocations: 37.86 MB / 0.8511 GB, free: 30.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01048/1.966, allocations: 0.8093 MB / 0.8519 GB, free: 29.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002394/1.968, allocations: 0.6103 MB / 0.8525 GB, free: 28.96 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 833 * Number of states: 0 () * Number of discrete variables: 63 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1168): * Single equations (assignments): 1151 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,39,91.7%), (3,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,9), (4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.007509/1.976, allocations: 3.428 MB / 0.8558 GB, free: 25.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001696/1.977, allocations: 0.6634 MB / 0.8565 GB, free: 24.85 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2316/2.209, allocations: 12.88 MB / 0.8691 GB, free: 216.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02339/2.232, allocations: 11.54 MB / 0.8803 GB, free: 214.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.906e-05/2.233, allocations: 20.62 kB / 0.8804 GB, free: 214.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.369e-05/2.233, allocations: 21.06 kB / 0.8804 GB, free: 214.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04488/2.277, allocations: 27.1 MB / 0.9068 GB, free: 204 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/2.278, allocations: 0 / 0.9068 GB, free: 204 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003509/2.281, allocations: 0.7604 MB / 0.9076 GB, free: 203.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01509/2.296, allocations: 5.316 MB / 0.9128 GB, free: 198 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008932/2.297, allocations: 135.8 kB / 0.9129 GB, free: 197.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02813/2.325, allocations: 26.38 MB / 0.9387 GB, free: 171.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001537/2.327, allocations: 2.97 MB / 0.9416 GB, free: 167.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0294/2.356, allocations: 19.02 MB / 0.9601 GB, free: 149.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006261/2.363, allocations: 1.492 MB / 0.9616 GB, free: 148 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0037/2.366, allocations: 75.98 kB / 0.9617 GB, free: 147.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007205/2.374, allocations: 357 kB / 0.962 GB, free: 147.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002768/2.376, allocations: 286.1 kB / 0.9623 GB, free: 147.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001482/2.378, allocations: 139.8 kB / 0.9624 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.008807/2.387, allocations: 4.77 MB / 0.9671 GB, free: 142.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.11e-07/2.387, allocations: 0 / 0.9671 GB, free: 142.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01315/2.4, allocations: 2.279 MB / 0.9693 GB, free: 140.1 MB / 0.5137 GB 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],bodyCylinder1.body.w_a[1],bodyCylinder1.body.w_a[2],bodyCylinder1.body.w_a[3],revolute.phi,revolute.w,$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * 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 (245): * Single equations (assignments): 235 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(6,33,91.7%), (3,33,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/2.401, allocations: 227.6 kB / 0.9695 GB, free: 139.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01984/2.421, allocations: 14.05 MB / 0.9832 GB, free: 125.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/2.421, allocations: 0 / 0.9832 GB, free: 125.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.008533/2.43, allocations: 5.929 MB / 0.989 GB, free: 119.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008911/2.439, allocations: 0.922 MB / 0.9899 GB, free: 119 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03566/2.474, allocations: 23.29 MB / 1.013 GB, free: 95.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006864/2.481, allocations: 5.364 MB / 1.018 GB, free: 90.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.009177/2.49, allocations: 3.201 MB / 1.021 GB, free: 87.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002324/2.493, allocations: 0.5537 MB / 1.022 GB, free: 86.62 MB / 0.5137 GB Notification: Performance of SimCode: time 1.643e-06/2.493, allocations: 4 kB / 1.022 GB, free: 86.62 MB / 0.5137 GB Notification: Performance of Templates: time 0.6135/3.106, allocations: 115.7 MB / 1.135 GB, free: 186.5 MB / 0.5138 GB 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)