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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 114.7 kB / 16.63 MB, free: 6.332 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.001174/0.001174, allocations: 187.2 kB / 17.55 MB, free: 5.805 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.451/1.451, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.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.001431/0.001432, allocations: 51.92 kB / 279.5 MB, free: 3.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09199/0.09344, allocations: 46.62 MB / 326.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.2965/0.3899, allocations: 94.52 MB / 420.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.05216/0.4421, allocations: 18.36 MB / 439 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02626/0.4685, allocations: 434.8 kB / 439.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.4795, allocations: 5.033 MB / 444.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009269/0.4888, allocations: 2.935 MB / 447.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.4923, allocations: 1.342 MB / 448.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01429/0.5066, allocations: 10.5 MB / 459.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01026/0.5169, allocations: 6.501 MB / 465.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006723/0.5236, allocations: 3.173 MB / 468.9 MB, free: 7.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007817/0.5315, allocations: 4.569 MB / 473.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002782/0.5343, allocations: 0.582 MB / 474.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005603/0.5399, allocations: 1.896 MB / 476 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00572/0.5457, allocations: 3.807 MB / 479.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007973/0.5537, allocations: 4.047 MB / 483.8 MB, free: 8.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01649/0.5702, allocations: 12.15 MB / 496 MB, free: 11.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.5702, allocations: 3.984 kB / 496 MB, free: 11.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5702, allocations: 0 / 496 MB, free: 11.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003979/0.5706, allocations: 0 / 496 MB, free: 11.9 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.03229/0.6029, allocations: 9.521 MB / 0.4937 GB, free: 2.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.603, allocations: 11.89 kB / 0.4937 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0327/0.6357, allocations: 8.71 MB / 0.5022 GB, free: 9.539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01749/0.6532, allocations: 7.254 MB / 0.5093 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005047/0.6538, allocations: 377.8 kB / 0.5096 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003328/0.6571, allocations: 0.6828 MB / 0.5103 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0409/0.698, allocations: 17.16 MB / 0.527 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004529/0.6985, allocations: 87.2 kB / 0.5271 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002363/0.7009, allocations: 239.8 kB / 0.5274 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00481/0.7058, allocations: 2.77 MB / 0.5301 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3641/1.07, allocations: 14.95 MB / 0.5447 GB, free: 157.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0864/1.156, allocations: 68.37 MB / 0.6114 GB, free: 106.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02693/1.183, allocations: 9.226 MB / 0.6204 GB, free: 97.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005476/1.189, allocations: 4.755 MB / 0.6251 GB, free: 92.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/1.19, allocations: 1.036 MB / 0.6261 GB, free: 91.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.768e-05/1.19, allocations: 68.5 kB / 0.6262 GB, free: 91.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=268): time 7.794e-06/1.19, allocations: 0 / 0.6262 GB, free: 91.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=351): time 0.1733/1.364, allocations: 59.88 MB / 0.6846 GB, free: 30.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002098/1.366, allocations: 3.415 MB / 0.688 GB, free: 27.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01177/1.377, allocations: 7.504 MB / 0.6953 GB, free: 19.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001434/1.379, allocations: 81.55 kB / 0.6954 GB, free: 19.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003102/1.382, allocations: 5.03 MB / 0.7003 GB, free: 14.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002355/1.384, allocations: 1.348 MB / 0.7016 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003147/1.388, allocations: 2.175 MB / 0.7037 GB, free: 11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.864e-05/1.388, allocations: 305.2 kB / 0.704 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006166/1.394, allocations: 5.521 MB / 0.7094 GB, free: 5.172 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2497/1.643, allocations: 10.84 MB / 0.72 GB, free: 141.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02123/1.665, allocations: 17.25 MB / 0.7368 GB, free: 130.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000297/1.665, allocations: 53.81 kB / 0.7369 GB, free: 130.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=1334) (initialization): time 0.07317/1.738, allocations: 34.83 MB / 0.7709 GB, free: 114.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/1.739, allocations: 80 kB / 0.771 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04685/1.785, allocations: 23.7 MB / 0.7941 GB, free: 91.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04398/1.829, allocations: 17.88 MB / 0.8116 GB, free: 73.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008292/1.838, allocations: 2.398 MB / 0.8139 GB, free: 70.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04694/1.885, allocations: 41.48 MB / 0.8544 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01196/1.897, allocations: 0.8113 MB / 0.8552 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003043/1.9, allocations: 0.6167 MB / 0.8558 GB, free: 27.54 MB / 446.1 MB 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.007558/1.907, allocations: 3.437 MB / 0.8592 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001795/1.909, allocations: 0.6554 MB / 0.8598 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2387/2.148, allocations: 12.87 MB / 0.8724 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02377/2.172, allocations: 11.54 MB / 0.8837 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.434e-05/2.172, allocations: 19.47 kB / 0.8837 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-05/2.172, allocations: 16.94 kB / 0.8837 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04613/2.218, allocations: 27.1 MB / 0.9102 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.977e-05/2.218, allocations: 3.906 kB / 0.9102 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006036/2.224, allocations: 0.7554 MB / 0.9109 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02335/2.248, allocations: 5.339 MB / 0.9161 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001684/2.249, allocations: 127.1 kB / 0.9162 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04567/2.295, allocations: 28.35 MB / 0.9439 GB, free: 95.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002026/2.297, allocations: 3.133 MB / 0.947 GB, free: 91.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04306/2.34, allocations: 19.03 MB / 0.9656 GB, free: 72.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006257/2.347, allocations: 1.494 MB / 0.967 GB, free: 71.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003216/2.35, allocations: 82.89 kB / 0.9671 GB, free: 71.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007765/2.358, allocations: 354.2 kB / 0.9674 GB, free: 71.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001843/2.359, allocations: 286.1 kB / 0.9677 GB, free: 71.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006163/2.36, allocations: 145.8 kB / 0.9679 GB, free: 70.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.01167/2.372, allocations: 4.77 MB / 0.9725 GB, free: 66.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.31e-07/2.372, allocations: 0 / 0.9725 GB, free: 66.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0184/2.39, allocations: 2.283 MB / 0.9747 GB, free: 63.91 MB / 446.1 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],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.001635/2.392, allocations: 227 kB / 0.975 GB, free: 63.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.03706/2.429, allocations: 16.51 MB / 0.9911 GB, free: 47.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/2.429, allocations: 0 / 0.9911 GB, free: 47.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01251/2.442, allocations: 5.944 MB / 0.9969 GB, free: 41.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01088/2.452, allocations: 0.9789 MB / 0.9978 GB, free: 40.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0496/2.502, allocations: 23.29 MB / 1.021 GB, free: 17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01158/2.514, allocations: 5.356 MB / 1.026 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.01458/2.528, allocations: 3.209 MB / 1.029 GB, free: 8.398 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004498/2.533, allocations: 0.5537 MB / 1.029 GB, free: 7.844 MB / 446.1 MB Notification: Performance of SimCode: time 2.585e-06/2.533, allocations: 0 / 1.029 GB, free: 7.844 MB / 446.1 MB Notification: Performance of Templates: time 0.4015/2.935, allocations: 120.2 MB / 1.147 GB, free: 42.71 MB / 446.1 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)