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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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") [: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.2+maint.om/package.mo): time 0.001614/0.001614, allocations: 197.1 kB / 8.139 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.184/1.184, allocations: 194.2 MB / 202.8 MB, free: 8.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002198/0.002198, allocations: 109.6 kB / 247.7 MB, free: 6.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.416e-06/8.647e-06, allocations: 3.938 kB / 297.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07221/0.07224, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2139/0.2862, allocations: 91.75 MB / 433.8 MB, free: 3.641 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.2865, allocations: 84.7 kB / 433.9 MB, free: 3.598 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.4962/0.7827, allocations: 142.2 MB / 0.5626 GB, free: 70.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003675/0.7832, allocations: 146.1 kB / 0.5628 GB, free: 70.66 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.03357/0.8167, allocations: 8.225 MB / 0.5708 GB, free: 67.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.8168, allocations: 9.312 kB / 0.5708 GB, free: 67.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06167/0.8785, allocations: 14.76 MB / 0.5852 GB, free: 65.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03052/0.909, allocations: 13.14 MB / 0.5981 GB, free: 58.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002726/0.9093, allocations: 213.8 kB / 0.5983 GB, free: 58.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002179/0.9115, allocations: 412.5 kB / 0.5987 GB, free: 58.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0139/0.9254, allocations: 9.392 MB / 0.6078 GB, free: 52.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01903/0.9445, allocations: 14.51 MB / 0.622 GB, free: 36.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002584/0.9448, allocations: 103.1 kB / 0.6221 GB, free: 35.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008748/0.9457, allocations: 44 kB / 0.6221 GB, free: 35.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001793/0.9475, allocations: 1.587 MB / 0.6237 GB, free: 34.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1931/1.141, allocations: 76.69 MB / 0.6986 GB, free: 68.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00616/1.147, allocations: 5.589 MB / 0.704 GB, free: 67.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004896/1.152, allocations: 4.599 MB / 0.7085 GB, free: 67.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0226/1.174, allocations: 14.76 MB / 0.7229 GB, free: 62.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/1.174, allocations: 68.47 kB / 0.723 GB, free: 62.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=262): time 6.001e-06/1.174, allocations: 0 / 0.723 GB, free: 62.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=342): time 0.1086/1.283, allocations: 43.37 MB / 0.7654 GB, free: 46.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/1.283, allocations: 290.1 kB / 0.7656 GB, free: 46.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008526/1.292, allocations: 5.735 MB / 0.7712 GB, free: 44.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00076/1.292, allocations: 25.7 kB / 0.7713 GB, free: 44.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002382/1.295, allocations: 4.468 MB / 0.7756 GB, free: 41.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001669/1.296, allocations: 1.27 MB / 0.7769 GB, free: 40.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005861/1.297, allocations: 0 / 0.7769 GB, free: 40.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004504/1.298, allocations: 0.7122 MB / 0.7776 GB, free: 39.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005426/1.303, allocations: 4.39 MB / 0.7818 GB, free: 38.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00746/1.31, allocations: 9.757 MB / 0.7914 GB, free: 29.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008369/1.319, allocations: 6.473 MB / 0.7977 GB, free: 25.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.643e-05/1.319, allocations: 52 kB / 0.7977 GB, free: 25.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=1249) (initialization): time 0.06806/1.387, allocations: 24.61 MB / 0.8218 GB, free: 6.918 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/1.387, allocations: 8.219 kB / 0.8218 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1664/1.554, allocations: 16.01 MB / 0.8374 GB, free: 99.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04442/1.598, allocations: 11.4 MB / 0.8486 GB, free: 99.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0075/1.606, allocations: 2.081 MB / 0.8506 GB, free: 99.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04034/1.646, allocations: 28.91 MB / 0.8788 GB, free: 93.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009161/1.655, allocations: 448.8 kB / 0.8793 GB, free: 93.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001311/1.656, allocations: 0.5647 MB / 0.8798 GB, free: 93.77 MB / 410.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.001434/1.658, allocations: 0.5864 MB / 0.8804 GB, free: 93.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.659, allocations: 0.6209 MB / 0.881 GB, free: 93.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01813/1.677, allocations: 9.78 MB / 0.8905 GB, free: 90.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01612/1.693, allocations: 8.575 MB / 0.8989 GB, free: 87.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.713e-05/1.693, allocations: 17.59 kB / 0.8989 GB, free: 87.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.774e-05/1.693, allocations: 15.23 kB / 0.8989 GB, free: 87.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04157/1.735, allocations: 22.05 MB / 0.9205 GB, free: 79.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/1.735, allocations: 3.75 kB / 0.9205 GB, free: 79.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002952/1.738, allocations: 484.4 kB / 0.9209 GB, free: 79.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01426/1.752, allocations: 3.811 MB / 0.9247 GB, free: 79.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007138/1.753, allocations: 63.02 kB / 0.9247 GB, free: 79.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02511/1.778, allocations: 21.8 MB / 0.946 GB, free: 60.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001343/1.78, allocations: 2.773 MB / 0.9487 GB, free: 57.69 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02317/1.803, allocations: 15.21 MB / 0.9636 GB, free: 42.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003873/1.807, allocations: 1.295 MB / 0.9648 GB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/1.808, allocations: 39.81 kB / 0.9649 GB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003422/1.812, allocations: 167.8 kB / 0.965 GB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004957/1.812, allocations: 172 kB / 0.9652 GB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003388/1.812, allocations: 95.86 kB / 0.9653 GB, free: 40.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.005223/1.818, allocations: 3.967 MB / 0.9692 GB, free: 36.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009254/1.827, allocations: 1.851 MB / 0.971 GB, free: 34.8 MB / 410.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.0007319/1.828, allocations: 170.5 kB / 0.9711 GB, free: 34.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1337/1.961, allocations: 11.2 MB / 0.9821 GB, free: 97.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.961, allocations: 0 / 0.9821 GB, free: 97.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00689/1.968, allocations: 4.815 MB / 0.9868 GB, free: 96.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004708/1.973, allocations: 0.7776 MB / 0.9875 GB, free: 96.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03379/2.007, allocations: 16.12 MB / 1.003 GB, free: 93.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007786/2.015, allocations: 5.898 MB / 1.009 GB, free: 92.54 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/2.015, allocations: 2.156 kB / 1.009 GB, free: 92.54 MB / 410.7 MB Notification: Performance of Templates: time 0.1462/2.161, allocations: 95.03 MB / 1.102 GB, free: 50.27 MB / 410.7 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)