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.00139/0.00139, allocations: 99.19 kB / 16.5 MB, free: 6.641 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.001241/0.001241, allocations: 193.3 kB / 17.42 MB, free: 6.066 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.1 MB / 223.3 MB, free: 12.46 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.001255/0.001255, allocations: 43.94 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1238, allocations: 46.64 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.3104/0.4342, allocations: 94.52 MB / 420.5 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.05253/0.4868, allocations: 18.47 MB / 439 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03321/0.5201, allocations: 430.9 kB / 439.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01062/0.5307, allocations: 5.208 MB / 444.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01084/0.5416, allocations: 2.978 MB / 447.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.5455, allocations: 1.311 MB / 448.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01907/0.5646, allocations: 14.05 MB / 462.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009629/0.5743, allocations: 6.064 MB / 469 MB, free: 6.902 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006597/0.5809, allocations: 2.752 MB / 471.7 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00838/0.5893, allocations: 4.397 MB / 476.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002587/0.592, allocations: 404 kB / 476.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005884/0.5979, allocations: 1.802 MB / 478.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006053/0.604, allocations: 3.6 MB / 481.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008659/0.6126, allocations: 3.832 MB / 485.8 MB, free: 6.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01786/0.6305, allocations: 11.92 MB / 497.7 MB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.6306, allocations: 0 / 497.7 MB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.849e-06/0.6306, allocations: 4 kB / 497.7 MB, free: 10.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006504/0.6313, allocations: 3.938 kB / 497.7 MB, free: 10.1 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.03485/0.6662, allocations: 9.513 MB / 0.4953 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.6662, allocations: 12.03 kB / 0.4953 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03144/0.6977, allocations: 8.706 MB / 0.5038 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01714/0.7149, allocations: 7.254 MB / 0.5109 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003591/0.7153, allocations: 377.8 kB / 0.5113 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003031/0.7183, allocations: 0.6867 MB / 0.512 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03564/0.754, allocations: 17.15 MB / 0.5287 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002226/0.7542, allocations: 91.14 kB / 0.5288 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006553/0.7549, allocations: 247.8 kB / 0.529 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004122/0.759, allocations: 2.77 MB / 0.5317 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.421/1.18, allocations: 14.95 MB / 0.5463 GB, free: 157.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08526/1.265, allocations: 68.37 MB / 0.6131 GB, free: 104.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02648/1.292, allocations: 9.225 MB / 0.6221 GB, free: 95.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005328/1.297, allocations: 4.751 MB / 0.6268 GB, free: 90.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/1.298, allocations: 1.036 MB / 0.6278 GB, free: 89.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/1.298, allocations: 64.5 kB / 0.6278 GB, free: 89.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=268): time 4.789e-06/1.299, allocations: 0 / 0.6278 GB, free: 89.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=351): time 0.1657/1.464, allocations: 59.86 MB / 0.6863 GB, free: 29.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001809/1.466, allocations: 3.237 MB / 0.6894 GB, free: 25.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009564/1.476, allocations: 7.508 MB / 0.6968 GB, free: 18.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001336/1.477, allocations: 81.53 kB / 0.6969 GB, free: 17.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003471/1.48, allocations: 5.031 MB / 0.7018 GB, free: 12.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002816/1.483, allocations: 1.348 MB / 0.7031 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003368/1.487, allocations: 2.175 MB / 0.7052 GB, free: 9.426 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.603e-05/1.487, allocations: 313.1 kB / 0.7055 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00663/1.493, allocations: 5.521 MB / 0.7109 GB, free: 3.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.257/1.75, allocations: 10.84 MB / 0.7215 GB, free: 141.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02231/1.773, allocations: 17.24 MB / 0.7383 GB, free: 130.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002748/1.773, allocations: 59.47 kB / 0.7384 GB, free: 130.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=1334) (initialization): time 0.07296/1.846, allocations: 34.82 MB / 0.7724 GB, free: 113.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/1.846, allocations: 84.94 kB / 0.7725 GB, free: 113.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04577/1.892, allocations: 23.69 MB / 0.7956 GB, free: 89.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04242/1.934, allocations: 17.86 MB / 0.813 GB, free: 71.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008091/1.943, allocations: 2.394 MB / 0.8154 GB, free: 69.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04474/1.987, allocations: 37.86 MB / 0.8524 GB, free: 31.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01056/1.998, allocations: 0.8154 MB / 0.8531 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002349/2, allocations: 0.6129 MB / 0.8537 GB, free: 29.7 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.01088/2.011, allocations: 3.434 MB / 0.8571 GB, free: 26.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002732/2.014, allocations: 0.6543 MB / 0.8577 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03846/2.052, allocations: 12.88 MB / 0.8703 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2947/2.347, allocations: 11.54 MB / 0.8816 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001272/2.347, allocations: 20.09 kB / 0.8816 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.004e-05/2.348, allocations: 16.28 kB / 0.8816 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05588/2.403, allocations: 27.09 MB / 0.9081 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.487e-05/2.404, allocations: 3.938 kB / 0.9081 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00408/2.408, allocations: 0.755 MB / 0.9088 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01642/2.424, allocations: 5.314 MB / 0.914 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001391/2.425, allocations: 138.4 kB / 0.9141 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03138/2.457, allocations: 26.38 MB / 0.9399 GB, free: 99.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001716/2.459, allocations: 2.961 MB / 0.9428 GB, free: 96.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0303/2.489, allocations: 19.03 MB / 0.9614 GB, free: 77.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004845/2.494, allocations: 1.487 MB / 0.9628 GB, free: 76.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003052/2.497, allocations: 82.23 kB / 0.9629 GB, free: 76.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006989/2.504, allocations: 355.4 kB / 0.9632 GB, free: 75.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002204/2.506, allocations: 289.2 kB / 0.9635 GB, free: 75.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001089/2.507, allocations: 135.9 kB / 0.9637 GB, free: 75.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.01049/2.518, allocations: 4.77 MB / 0.9683 GB, free: 70.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.11e-07/2.518, allocations: 1.969 kB / 0.9683 GB, free: 70.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01785/2.536, allocations: 2.282 MB / 0.9705 GB, free: 68.36 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.001946/2.538, allocations: 216.8 kB / 0.9707 GB, free: 68.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02353/2.561, allocations: 14.06 MB / 0.9845 GB, free: 54.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/2.561, allocations: 0 / 0.9845 GB, free: 54.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009905/2.571, allocations: 5.94 MB / 0.9903 GB, free: 48.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01301/2.584, allocations: 0.9171 MB / 0.9912 GB, free: 47.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04558/2.63, allocations: 23.29 MB / 1.014 GB, free: 23.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008083/2.638, allocations: 5.356 MB / 1.019 GB, free: 18.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008634/2.647, allocations: 3.209 MB / 1.022 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002653/2.649, allocations: 0.5498 MB / 1.023 GB, free: 14.84 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/2.649, allocations: 4 kB / 1.023 GB, free: 14.84 MB / 446.1 MB Notification: Performance of Templates: time 0.4012/3.051, allocations: 115.7 MB / 1.136 GB, free: 53.08 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)