Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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.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.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6888/0.6888, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001705/0.001705, allocations: 142.7 kB / 151.8 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002676/0.0002676, allocations: 4 kB / 184.9 MB, free: 3.926 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.126, allocations: 25.16 MB / 210.1 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06114/0.1872, allocations: 51.51 MB / 261.6 MB, free: 14.29 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003582/0.1877, allocations: 76.75 kB / 261.6 MB, free: 14.21 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.987/1.175, allocations: 265.7 MB / 0.515 GB, free: 20.42 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.175, allocations: 0 / 0.515 GB, free: 20.42 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0005541/1.175, allocations: 181.7 kB / 0.5151 GB, free: 20.42 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2972 * Number of variables: 2972 Notification: Performance of Generate backend data structure: time 0.05612/1.231, allocations: 13.79 MB / 0.5286 GB, free: 16.42 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.232, allocations: 9.25 kB / 0.5286 GB, free: 16.42 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1711/1.403, allocations: 42.42 MB / 0.57 GB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1784/1.581, allocations: 15.55 MB / 0.5852 GB, free: 31.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008143/1.582, allocations: 0.6392 MB / 0.5858 GB, free: 31.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006554/1.588, allocations: 0.8414 MB / 0.5867 GB, free: 31.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1179/1.706, allocations: 40.06 MB / 0.6258 GB, free: 28.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006401/1.707, allocations: 77.34 kB / 0.6259 GB, free: 28.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006753/1.714, allocations: 388.1 kB / 0.6262 GB, free: 28.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04672/1.761, allocations: 11.8 MB / 0.6378 GB, free: 28.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1094/1.87, allocations: 41.42 MB / 0.6782 GB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8086/2.679, allocations: 171.3 MB / 0.8454 GB, free: 26.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04226/2.721, allocations: 15.15 MB / 0.8602 GB, free: 25.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001694/2.723, allocations: 1.37 MB / 0.8616 GB, free: 24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.405e-05/2.723, allocations: 95.5 kB / 0.8617 GB, free: 23.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=449): time 1.496e-05/2.723, allocations: 0 / 0.8617 GB, free: 23.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=552): time 0.3837/3.106, allocations: 100.1 MB / 0.9594 GB, free: 83.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001737/3.108, allocations: 3.516 MB / 0.9628 GB, free: 80.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01521/3.123, allocations: 8.04 MB / 0.9707 GB, free: 79.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001526/3.125, allocations: 100.4 kB / 0.9708 GB, free: 79.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004538/3.13, allocations: 6.229 MB / 0.9769 GB, free: 76.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00295/3.133, allocations: 2.026 MB / 0.9788 GB, free: 75.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001775/3.134, allocations: 245.6 kB / 0.9791 GB, free: 75.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0006754/3.135, allocations: 0.833 MB / 0.9799 GB, free: 75.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02557/3.161, allocations: 10.45 MB / 0.9901 GB, free: 75.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02971/3.19, allocations: 17 MB / 1.007 GB, free: 64.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02509/3.216, allocations: 11.72 MB / 1.018 GB, free: 60.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003095/3.216, allocations: 65.16 kB / 1.018 GB, free: 60.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.1/3.316, allocations: 43.68 MB / 1.061 GB, free: 34.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/3.316, allocations: 104 kB / 1.061 GB, free: 34.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1929/3.509, allocations: 23.97 MB / 1.084 GB, free: 71.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04255/3.552, allocations: 16.66 MB / 1.101 GB, free: 71.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01118/3.563, allocations: 2.91 MB / 1.103 GB, free: 71.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04247/3.605, allocations: 35.45 MB / 1.138 GB, free: 63.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01928/3.625, allocations: 2.451 MB / 1.14 GB, free: 63.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003861/3.629, allocations: 0.9145 MB / 1.141 GB, free: 62.94 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1037 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1456): * Single equations (assignments): 1425 * Array equations: 25 * 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,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01197/3.641, allocations: 4.206 MB / 1.145 GB, free: 61.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002716/3.643, allocations: 0.813 MB / 1.146 GB, free: 61.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02708/3.67, allocations: 13.49 MB / 1.159 GB, free: 53.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03381/3.704, allocations: 14.78 MB / 1.174 GB, free: 38.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-05/3.704, allocations: 26.86 kB / 1.174 GB, free: 38.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001333/3.704, allocations: 33.81 kB / 1.174 GB, free: 38.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2571/3.962, allocations: 45.86 MB / 1.219 GB, free: 69.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.985e-05/3.962, allocations: 17.42 kB / 1.219 GB, free: 69.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004436/3.966, allocations: 0.8809 MB / 1.22 GB, free: 69.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01089/3.977, allocations: 3.552 MB / 1.223 GB, free: 69.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001361/3.978, allocations: 218 kB / 1.223 GB, free: 69.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02361/4.002, allocations: 22.28 MB / 1.245 GB, free: 59.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001462/4.004, allocations: 3.018 MB / 1.248 GB, free: 56.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07386/4.077, allocations: 35.07 MB / 1.282 GB, free: 42.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006733/4.084, allocations: 2.089 MB / 1.284 GB, free: 41.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002083/4.086, allocations: 127.8 kB / 1.284 GB, free: 41.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01212/4.098, allocations: 1.77 MB / 1.286 GB, free: 40.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001581/4.1, allocations: 397.9 kB / 1.286 GB, free: 39.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009025/4.101, allocations: 334.4 kB / 1.287 GB, free: 39.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.01239/4.113, allocations: 5.761 MB / 1.292 GB, free: 34.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.21e-07/4.113, allocations: 0 / 1.292 GB, free: 34.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.01409/4.127, allocations: 2.739 MB / 1.295 GB, free: 32.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],rotor1D.phi,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],rotor1D.rotorWith3DEffects.w,$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyCylinder1.body.w_a[1],bodyCylinder1.body.w_a[2],bodyCylinder1.body.w_a[3],revolute.phi,revolute.w) * 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 (426): * Single equations (assignments): 406 * Array equations: 13 * 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 {(3,100.0%) 33,(1,100.0%) 1,(5,100.0%) 34} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001422/4.129, allocations: 305.8 kB / 1.295 GB, free: 31.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.1967/4.326, allocations: 23.88 MB / 1.319 GB, free: 70.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.788e-05/4.326, allocations: 0 / 1.319 GB, free: 70.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02578/4.352, allocations: 10.52 MB / 1.329 GB, free: 69.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007524/4.359, allocations: 1.012 MB / 1.33 GB, free: 69.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06318/4.422, allocations: 31.87 MB / 1.361 GB, free: 60.15 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01084/4.433, allocations: 6.68 MB / 1.368 GB, free: 59.19 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.01669/4.45, allocations: 4.594 MB / 1.372 GB, free: 58.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005828/4.456, allocations: 0.9454 MB / 1.373 GB, free: 58.59 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/4.456, allocations: 3.438 kB / 1.373 GB, free: 58.59 MB / 330.7 MB Notification: Performance of Templates: time 0.3696/4.825, allocations: 144.4 MB / 1.514 GB, free: 40.56 MB / 330.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe 2>&1)