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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002794/0.002794, allocations: 173.3 kB / 7.449 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.541/1.541, allocations: 170.6 MB / 178.4 MB, free: 15.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001763/0.001763, allocations: 104.8 kB / 217.7 MB, free: 8.504 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.695e-06/7.805e-06, allocations: 0 / 261.8 MB, free: 26.7 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1001, allocations: 38.76 MB / 300.5 MB, free: 3.945 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3324/0.4325, allocations: 85.99 MB / 386.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/0.4329, allocations: 78.27 kB / 386.6 MB, free: 14.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.6333/1.066, allocations: 142.2 MB / 0.5164 GB, free: 66.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.001021/1.067, allocations: 146.2 kB / 0.5166 GB, free: 66.34 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.0474/1.115, allocations: 8.223 MB / 0.5246 GB, free: 62.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/1.115, allocations: 13.09 kB / 0.5246 GB, free: 62.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06203/1.177, allocations: 14.77 MB / 0.539 GB, free: 50.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03915/1.216, allocations: 13.14 MB / 0.5519 GB, free: 37.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006389/1.217, allocations: 219.9 kB / 0.5521 GB, free: 37.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005404/1.222, allocations: 403.7 kB / 0.5525 GB, free: 36.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02396/1.246, allocations: 9.384 MB / 0.5616 GB, free: 27.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04035/1.287, allocations: 14.51 MB / 0.5758 GB, free: 11.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001228/1.288, allocations: 107 kB / 0.5759 GB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006164/1.294, allocations: 51.94 kB / 0.5759 GB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00334/1.297, allocations: 1.589 MB / 0.5775 GB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3213/1.619, allocations: 76.67 MB / 0.6524 GB, free: 42.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007181/1.626, allocations: 5.587 MB / 0.6578 GB, free: 39.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005946/1.632, allocations: 4.598 MB / 0.6623 GB, free: 37.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02993/1.662, allocations: 14.76 MB / 0.6767 GB, free: 30.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.161e-05/1.662, allocations: 64.69 kB / 0.6768 GB, free: 30.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=262): time 7.244e-06/1.662, allocations: 0 / 0.6768 GB, free: 30.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=342): time 0.1231/1.785, allocations: 43.37 MB / 0.7191 GB, free: 2.609 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.541e-05/1.785, allocations: 295.3 kB / 0.7194 GB, free: 2.262 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2154/2.001, allocations: 6.153 MB / 0.7254 GB, free: 85.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001189/2.002, allocations: 29.12 kB / 0.7255 GB, free: 85.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004435/2.007, allocations: 4.458 MB / 0.7298 GB, free: 83.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002626/2.009, allocations: 1.278 MB / 0.7311 GB, free: 83.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/2.01, allocations: 0 / 0.7311 GB, free: 83.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0006179/2.011, allocations: 0.713 MB / 0.7318 GB, free: 82.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006606/2.018, allocations: 4.391 MB / 0.736 GB, free: 82.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01102/2.029, allocations: 9.746 MB / 0.7456 GB, free: 75.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01177/2.041, allocations: 6.48 MB / 0.7519 GB, free: 75.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003356/2.041, allocations: 52.69 kB / 0.7519 GB, free: 75.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=1249) (initialization): time 0.07276/2.114, allocations: 24.62 MB / 0.776 GB, free: 72.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/2.114, allocations: 3.844 kB / 0.776 GB, free: 72.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0458/2.16, allocations: 16.02 MB / 0.7916 GB, free: 70.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04278/2.202, allocations: 11.4 MB / 0.8028 GB, free: 62.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009972/2.212, allocations: 2.088 MB / 0.8048 GB, free: 61.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04147/2.254, allocations: 28.91 MB / 0.833 GB, free: 33.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01268/2.267, allocations: 443.1 kB / 0.8335 GB, free: 33.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003106/2.27, allocations: 0.5735 MB / 0.834 GB, free: 32.99 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 866 * Number of states: 0 () * Number of discrete variables: 60 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1103): * Single equations (assignments): 1090 * Array equations: 7 * 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 {(3,100.0%) 38,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.003389/2.273, allocations: 0.5818 MB / 0.8346 GB, free: 32.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001946/2.275, allocations: 0.6248 MB / 0.8352 GB, free: 31.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2049/2.48, allocations: 9.771 MB / 0.8447 GB, free: 75.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0175/2.498, allocations: 8.568 MB / 0.8531 GB, free: 75.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.377e-05/2.498, allocations: 19.38 kB / 0.8531 GB, free: 75.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.161e-05/2.498, allocations: 18.7 kB / 0.8531 GB, free: 75.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04504/2.543, allocations: 22.05 MB / 0.8747 GB, free: 72.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.679e-05/2.543, allocations: 0 / 0.8747 GB, free: 72.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0032/2.546, allocations: 489.3 kB / 0.8751 GB, free: 72.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01378/2.56, allocations: 3.815 MB / 0.8789 GB, free: 71.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009724/2.561, allocations: 57.31 kB / 0.8789 GB, free: 71.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02663/2.588, allocations: 21.79 MB / 0.9002 GB, free: 58.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001699/2.589, allocations: 2.772 MB / 0.9029 GB, free: 56.27 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02868/2.618, allocations: 15.21 MB / 0.9178 GB, free: 48.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005545/2.624, allocations: 1.292 MB / 0.919 GB, free: 47.26 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003157/2.627, allocations: 44.48 kB / 0.9191 GB, free: 47.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005596/2.632, allocations: 164.8 kB / 0.9192 GB, free: 47.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/2.634, allocations: 169.9 kB / 0.9194 GB, free: 47.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008226/2.634, allocations: 92.75 kB / 0.9195 GB, free: 46.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.009966/2.644, allocations: 3.977 MB / 0.9234 GB, free: 43.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01561/2.66, allocations: 1.843 MB / 0.9252 GB, free: 41.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (234): * Single equations (assignments): 223 * 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: 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: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,100.0%) 35,(1,100.0%) 1,(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.001541/2.662, allocations: 176.1 kB / 0.9253 GB, free: 41.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.02275/2.684, allocations: 11.22 MB / 0.9363 GB, free: 31.9 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/2.684, allocations: 0 / 0.9363 GB, free: 31.9 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008779/2.693, allocations: 4.802 MB / 0.941 GB, free: 27.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007946/2.701, allocations: 0.7845 MB / 0.9417 GB, free: 26.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2587/2.96, allocations: 16.12 MB / 0.9575 GB, free: 67.26 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01179/2.972, allocations: 5.906 MB / 0.9632 GB, free: 66.37 MB / 346.7 MB Notification: Performance of SimCode: time 2.354e-06/2.972, allocations: 0 / 0.9632 GB, free: 66.37 MB / 346.7 MB Notification: Performance of Templates: time 0.1819/3.154, allocations: 95.02 MB / 1.056 GB, free: 21.42 MB / 346.7 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)