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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001558/0.001558, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004566/0.0004567, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2448, allocations: 47.58 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.07472/0.3196, allocations: 85.82 MB / 412.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04537/0.365, allocations: 17.66 MB / 430 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01802/0.383, allocations: 430.8 kB / 430.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01426/0.3973, allocations: 4.506 MB / 434.9 MB, free: 6.797 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03919/0.4365, allocations: 13.42 MB / 448.3 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006224/0.4428, allocations: 1.276 MB / 449.6 MB, free: 8.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2987/0.7415, allocations: 67.56 MB / 0.505 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01218/0.7537, allocations: 7.824 MB / 0.5127 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005559/0.7593, allocations: 2.567 MB / 0.5152 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005978/0.7653, allocations: 3.859 MB / 0.5189 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001599/0.7669, allocations: 236 kB / 0.5192 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004356/0.7713, allocations: 1.378 MB / 0.5205 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004675/0.776, allocations: 3.331 MB / 0.5238 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002878/0.7789, allocations: 1.44 MB / 0.5252 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.7895, allocations: 9.542 MB / 0.5345 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7896, allocations: 0 / 0.5345 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.7896, allocations: 0 / 0.5345 GB, free: 2.043 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004288/0.79, allocations: 0 / 0.5345 GB, free: 2.043 MB / 414.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.02568/0.8157, allocations: 8.02 MB / 0.5423 GB, free: 10.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.8158, allocations: 12.03 kB / 0.5423 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0316/0.8474, allocations: 8.805 MB / 0.5509 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01693/0.8643, allocations: 7.107 MB / 0.5579 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003823/0.8647, allocations: 380.3 kB / 0.5582 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003018/0.8678, allocations: 0.6839 MB / 0.5589 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04087/0.9087, allocations: 17.17 MB / 0.5757 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006893/0.9094, allocations: 85.89 kB / 0.5757 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003361/0.9128, allocations: 243.6 kB / 0.576 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004676/0.9175, allocations: 2.782 MB / 0.5787 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03219/0.9497, allocations: 14.94 MB / 0.5933 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4507/1.4, allocations: 68.39 MB / 0.6601 GB, free: 166.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02551/1.426, allocations: 9.255 MB / 0.6691 GB, free: 165.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005157/1.431, allocations: 4.739 MB / 0.6737 GB, free: 164.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/1.432, allocations: 1.047 MB / 0.6748 GB, free: 163.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/1.432, allocations: 56.06 kB / 0.6748 GB, free: 163.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=268): time 6.853e-06/1.433, allocations: 0 / 0.6748 GB, free: 163.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=351): time 0.1563/1.589, allocations: 60.08 MB / 0.7335 GB, free: 110.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001654/1.59, allocations: 3.23 MB / 0.7366 GB, free: 106.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008888/1.599, allocations: 7.467 MB / 0.7439 GB, free: 99.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001091/1.601, allocations: 80.12 kB / 0.744 GB, free: 99.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002869/1.603, allocations: 5.036 MB / 0.7489 GB, free: 94.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001836/1.605, allocations: 1.349 MB / 0.7502 GB, free: 93.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008815/1.606, allocations: 199.4 kB / 0.7504 GB, free: 92.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003921/1.607, allocations: 0.7438 MB / 0.7512 GB, free: 92.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007744/1.614, allocations: 5.489 MB / 0.7565 GB, free: 86.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01067/1.625, allocations: 10.8 MB / 0.7671 GB, free: 73.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009734/1.635, allocations: 7.522 MB / 0.7744 GB, free: 65.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/1.635, allocations: 59.94 kB / 0.7745 GB, free: 65.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=1334) (initialization): time 0.07009/1.705, allocations: 34.72 MB / 0.8084 GB, free: 31.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/1.705, allocations: 84 kB / 0.8085 GB, free: 31.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04479/1.75, allocations: 23.67 MB / 0.8316 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2293/1.979, allocations: 17.88 MB / 0.849 GB, free: 183.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007795/1.987, allocations: 2.393 MB / 0.8514 GB, free: 183.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0475/2.035, allocations: 37.88 MB / 0.8884 GB, free: 165.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01107/2.046, allocations: 0.816 MB / 0.8892 GB, free: 165 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002674/2.048, allocations: 0.6142 MB / 0.8898 GB, free: 164.4 MB / 494.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 (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 {(6,91.7%) 39,(3,100.0%) 38} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.008529/2.057, allocations: 3.435 MB / 0.8931 GB, free: 161 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002258/2.059, allocations: 0.6573 MB / 0.8938 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0234/2.083, allocations: 12.87 MB / 0.9063 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01948/2.102, allocations: 11.52 MB / 0.9176 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.039e-05/2.102, allocations: 23.8 kB / 0.9176 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.914e-05/2.102, allocations: 19.94 kB / 0.9176 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04622/2.149, allocations: 27.07 MB / 0.9441 GB, free: 109.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-05/2.149, allocations: 4 kB / 0.9441 GB, free: 109.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003577/2.152, allocations: 0.7604 MB / 0.9448 GB, free: 108.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01413/2.166, allocations: 5.31 MB / 0.95 GB, free: 103.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001019/2.167, allocations: 132.5 kB / 0.9501 GB, free: 103.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02854/2.196, allocations: 26.41 MB / 0.9759 GB, free: 76.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001484/2.198, allocations: 2.961 MB / 0.9788 GB, free: 73.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03075/2.228, allocations: 18.99 MB / 0.9973 GB, free: 54.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004274/2.233, allocations: 1.504 MB / 0.9988 GB, free: 52.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002523/2.235, allocations: 85.22 kB / 0.9989 GB, free: 52.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005146/2.24, allocations: 355.5 kB / 0.9992 GB, free: 52.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001352/2.242, allocations: 287.6 kB / 0.9995 GB, free: 51.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000905/2.243, allocations: 139.8 kB / 0.9996 GB, free: 51.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01062/2.253, allocations: 4.731 MB / 1.004 GB, free: 47.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.71e-07/2.253, allocations: 1.594 kB / 1.004 GB, free: 47.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01302/2.266, allocations: 2.286 MB / 1.006 GB, free: 44.77 MB / 494.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 (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 {(6,91.7%) 33,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001415/2.268, allocations: 211.1 kB / 1.007 GB, free: 44.55 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02113/2.289, allocations: 14 MB / 1.02 GB, free: 30.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/2.289, allocations: 0 / 1.02 GB, free: 30.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008773/2.298, allocations: 5.932 MB / 1.026 GB, free: 24.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009024/2.307, allocations: 0.9302 MB / 1.027 GB, free: 23.61 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2149/2.522, allocations: 22.6 MB / 1.049 GB, free: 182.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006148/2.528, allocations: 5.357 MB / 1.054 GB, free: 181.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007799/2.536, allocations: 3.203 MB / 1.058 GB, free: 181.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002189/2.538, allocations: 0.5597 MB / 1.058 GB, free: 181.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.392e-06/2.538, allocations: 0 / 1.058 GB, free: 181.8 MB / 494.1 MB Notification: Performance of Templates: time 0.1607/2.699, allocations: 111 MB / 1.166 GB, free: 80.06 MB / 494.1 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)