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.0009894/0.0009893, allocations: 90.67 kB / 16.65 MB, free: 6.586 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.001374/0.001375, allocations: 181.1 kB / 17.56 MB, free: 6.203 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.519/1.519, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004789/0.0004789, allocations: 16 kB / 280.7 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, allocations: 47.57 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.3338/0.4429, allocations: 92.32 MB / 420.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0542/0.4971, allocations: 18.4 MB / 439 MB, free: 7.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02798/0.5251, allocations: 428.6 kB / 439.5 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0036/0.5288, allocations: 0.6646 MB / 440.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.5397, allocations: 2.988 MB / 443.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.5431, allocations: 1.311 MB / 444.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02024/0.5634, allocations: 14.05 MB / 458.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01558/0.579, allocations: 8.674 MB / 467.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006466/0.5855, allocations: 2.358 MB / 469.5 MB, free: 9.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006442/0.592, allocations: 3.87 MB / 473.4 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001565/0.5936, allocations: 240 kB / 473.6 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004058/0.5977, allocations: 1.65 MB / 475.3 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004156/0.6018, allocations: 3.362 MB / 478.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005286/0.6071, allocations: 3.545 MB / 482.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01369/0.6209, allocations: 11.57 MB / 493.7 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.6209, allocations: 0 / 493.7 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6209, allocations: 0 / 493.7 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004433/0.6213, allocations: 0 / 493.7 MB, free: 0.7773 MB / 382.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.02695/0.6483, allocations: 7.927 MB / 0.4899 GB, free: 8.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.6484, allocations: 11.97 kB / 0.4899 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03434/0.6827, allocations: 8.8 MB / 0.4985 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01935/0.7021, allocations: 7.246 MB / 0.5056 GB, free: 8.609 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004091/0.7026, allocations: 381.8 kB / 0.506 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003281/0.7059, allocations: 0.6906 MB / 0.5066 GB, free: 7.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04038/0.7462, allocations: 17.21 MB / 0.5234 GB, free: 5.215 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003373/0.7466, allocations: 83.3 kB / 0.5235 GB, free: 5.133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009452/0.7476, allocations: 239.8 kB / 0.5237 GB, free: 4.898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004484/0.7521, allocations: 2.778 MB / 0.5265 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03368/0.7858, allocations: 15.01 MB / 0.5411 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4834/1.269, allocations: 68.43 MB / 0.6079 GB, free: 110.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02745/1.297, allocations: 9.26 MB / 0.617 GB, free: 102.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005839/1.303, allocations: 4.754 MB / 0.6216 GB, free: 97.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/1.304, allocations: 1.029 MB / 0.6226 GB, free: 96.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/1.304, allocations: 72.55 kB / 0.6227 GB, free: 96.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=268): time 6.112e-06/1.304, allocations: 0 / 0.6227 GB, free: 96.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=351): time 0.1614/1.465, allocations: 60.02 MB / 0.6813 GB, free: 35.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001784/1.467, allocations: 3.227 MB / 0.6845 GB, free: 32.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009336/1.476, allocations: 7.504 MB / 0.6918 GB, free: 24.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001353/1.478, allocations: 79.34 kB / 0.6919 GB, free: 24.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003478/1.481, allocations: 5.036 MB / 0.6968 GB, free: 19.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002472/1.484, allocations: 1.35 MB / 0.6981 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001599/1.485, allocations: 0.8949 MB / 0.699 GB, free: 17.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.163e-05/1.485, allocations: 309.1 kB / 0.6993 GB, free: 17.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00679/1.492, allocations: 5.517 MB / 0.7047 GB, free: 11.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2431/1.735, allocations: 10.83 MB / 0.7152 GB, free: 140.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02327/1.759, allocations: 17.25 MB / 0.7321 GB, free: 130.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002082/1.759, allocations: 53.03 kB / 0.7321 GB, free: 130.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=1334) (initialization): time 0.07538/1.834, allocations: 34.84 MB / 0.7662 GB, free: 115.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000154/1.834, allocations: 81.56 kB / 0.7662 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04988/1.884, allocations: 23.7 MB / 0.7894 GB, free: 91.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04716/1.931, allocations: 17.85 MB / 0.8068 GB, free: 73.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008461/1.94, allocations: 2.398 MB / 0.8092 GB, free: 71.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04635/1.986, allocations: 37.85 MB / 0.8461 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/1.996, allocations: 0.8242 MB / 0.8469 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002227/1.999, allocations: 0.6103 MB / 0.8475 GB, free: 31.53 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.008354/2.007, allocations: 3.426 MB / 0.8509 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001765/2.009, allocations: 0.6636 MB / 0.8515 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0226/2.031, allocations: 12.89 MB / 0.8641 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2625/2.294, allocations: 11.54 MB / 0.8754 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001558/2.294, allocations: 23.28 kB / 0.8754 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001931/2.294, allocations: 20.39 kB / 0.8754 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05779/2.352, allocations: 27.1 MB / 0.9019 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.944e-05/2.352, allocations: 3.906 kB / 0.9019 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003956/2.356, allocations: 0.7611 MB / 0.9026 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01624/2.373, allocations: 5.319 MB / 0.9078 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001282/2.374, allocations: 135.4 kB / 0.908 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02998/2.404, allocations: 26.42 MB / 0.9338 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001548/2.405, allocations: 2.96 MB / 0.9366 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0286/2.434, allocations: 19.02 MB / 0.9552 GB, free: 84.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00458/2.439, allocations: 1.502 MB / 0.9567 GB, free: 83.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001823/2.441, allocations: 81.06 kB / 0.9568 GB, free: 83.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005204/2.446, allocations: 363.4 kB / 0.9571 GB, free: 83.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/2.447, allocations: 290.4 kB / 0.9574 GB, free: 82.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003748/2.447, allocations: 136.6 kB / 0.9575 GB, free: 82.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.008139/2.455, allocations: 4.77 MB / 0.9622 GB, free: 77.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.61e-07/2.456, allocations: 0 / 0.9622 GB, free: 77.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01337/2.469, allocations: 2.278 MB / 0.9644 GB, free: 75.66 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.00152/2.47, allocations: 224.5 kB / 0.9646 GB, free: 75.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02046/2.491, allocations: 14.05 MB / 0.9783 GB, free: 61.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/2.491, allocations: 0 / 0.9783 GB, free: 61.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00847/2.499, allocations: 5.941 MB / 0.9841 GB, free: 55.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009576/2.509, allocations: 0.926 MB / 0.985 GB, free: 54.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03328/2.542, allocations: 23.47 MB / 1.008 GB, free: 31.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007468/2.55, allocations: 5.354 MB / 1.013 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008355/2.558, allocations: 3.205 MB / 1.016 GB, free: 22.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002315/2.561, allocations: 0.5576 MB / 1.017 GB, free: 22.05 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/2.561, allocations: 0 / 1.017 GB, free: 22.05 MB / 446.1 MB Notification: Performance of Templates: time 0.383/2.944, allocations: 113.2 MB / 1.127 GB, free: 62.56 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)