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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000873/0.0008727, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006748/0.006748, allocations: 169 kB / 16.26 MB, free: 6.652 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.679/1.679, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.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.0004505/0.0004505, allocations: 15.98 kB / 279.4 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2735, allocations: 47.58 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.08396/0.3575, allocations: 92.32 MB / 419.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.05236/0.4099, allocations: 18.4 MB / 437.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02248/0.4325, allocations: 426.9 kB / 438.2 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004084/0.4366, allocations: 0.6646 MB / 438.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01167/0.4483, allocations: 2.997 MB / 441.8 MB, free: 168 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003579/0.4519, allocations: 1.315 MB / 443.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01854/0.4705, allocations: 14.04 MB / 457.2 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3121/0.7827, allocations: 8.654 MB / 465.8 MB, free: 5.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005378/0.7881, allocations: 2.356 MB / 468.2 MB, free: 5.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007607/0.7957, allocations: 3.876 MB / 472.1 MB, free: 5.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002277/0.798, allocations: 238.1 kB / 472.3 MB, free: 5.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004995/0.803, allocations: 1.641 MB / 473.9 MB, free: 5.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006401/0.8095, allocations: 3.366 MB / 477.3 MB, free: 4.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008133/0.8176, allocations: 3.55 MB / 480.9 MB, free: 3.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01847/0.8361, allocations: 11.92 MB / 492.8 MB, free: 0 / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.8362, allocations: 128 / 492.8 MB, free: 0 / 382.1 MB Notification: Performance of FrontEnd: time 3.918e-06/0.8362, allocations: 64 / 492.8 MB, free: 0 / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006459/0.8368, allocations: 0 / 492.8 MB, free: 0 / 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.03048/0.8673, allocations: 7.922 MB / 0.489 GB, free: 11.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.8674, allocations: 8.469 kB / 0.489 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03519/0.9026, allocations: 8.803 MB / 0.4976 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01808/0.9207, allocations: 7.249 MB / 0.5047 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003882/0.9211, allocations: 382.1 kB / 0.505 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003296/0.9244, allocations: 0.6857 MB / 0.5057 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04312/0.9676, allocations: 17.21 MB / 0.5225 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003741/0.968, allocations: 87.77 kB / 0.5226 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001335/0.9694, allocations: 242 kB / 0.5228 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006856/0.9762, allocations: 2.773 MB / 0.5255 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03909/1.015, allocations: 15.01 MB / 0.5402 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1009/1.116, allocations: 68.43 MB / 0.607 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03872/1.155, allocations: 9.277 MB / 0.6161 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01019/1.165, allocations: 4.743 MB / 0.6207 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002043/1.167, allocations: 1.041 MB / 0.6217 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.719e-05/1.168, allocations: 59.66 kB / 0.6218 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=268): time 2.878e-05/1.168, allocations: 0 / 0.6218 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=351): time 0.4336/1.601, allocations: 60 MB / 0.6804 GB, free: 213.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002015/1.603, allocations: 3.242 MB / 0.6835 GB, free: 210.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01222/1.615, allocations: 7.513 MB / 0.6909 GB, free: 202.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.00165/1.617, allocations: 75.66 kB / 0.6909 GB, free: 202.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003666/1.621, allocations: 5.024 MB / 0.6959 GB, free: 197.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002645/1.624, allocations: 1.354 MB / 0.6972 GB, free: 196.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/1.625, allocations: 0.9021 MB / 0.6981 GB, free: 195.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.048e-05/1.625, allocations: 301.1 kB / 0.6983 GB, free: 195.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007063/1.632, allocations: 5.528 MB / 0.7037 GB, free: 189.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00977/1.642, allocations: 10.84 MB / 0.7143 GB, free: 176.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01721/1.659, allocations: 17.23 MB / 0.7312 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001608/1.659, allocations: 56 kB / 0.7312 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1334) (initialization): time 0.07878/1.738, allocations: 34.82 MB / 0.7652 GB, free: 121.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/1.738, allocations: 84 kB / 0.7653 GB, free: 121.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05015/1.789, allocations: 23.7 MB / 0.7885 GB, free: 97.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.047/1.836, allocations: 17.87 MB / 0.8059 GB, free: 79.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00857/1.844, allocations: 2.398 MB / 0.8082 GB, free: 77.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0479/1.892, allocations: 37.83 MB / 0.8452 GB, free: 39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01056/1.903, allocations: 0.8211 MB / 0.846 GB, free: 38.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002227/1.905, allocations: 0.6151 MB / 0.8466 GB, free: 37.57 MB / 0.5137 GB 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.007254/1.912, allocations: 3.439 MB / 0.8499 GB, free: 34.11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001702/1.914, allocations: 0.6633 MB / 0.8506 GB, free: 33.44 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02736/1.941, allocations: 12.89 MB / 0.8632 GB, free: 20.49 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3196/2.261, allocations: 11.54 MB / 0.8744 GB, free: 215.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.711e-05/2.261, allocations: 16.72 kB / 0.8745 GB, free: 215.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.82e-05/2.261, allocations: 19.64 kB / 0.8745 GB, free: 215.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05013/2.311, allocations: 27.1 MB / 0.901 GB, free: 207 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.082e-05/2.311, allocations: 3.844 kB / 0.901 GB, free: 207 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004245/2.316, allocations: 0.7592 MB / 0.9017 GB, free: 207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01589/2.332, allocations: 5.316 MB / 0.9069 GB, free: 205.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001134/2.333, allocations: 132.6 kB / 0.907 GB, free: 205.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03012/2.363, allocations: 26.43 MB / 0.9328 GB, free: 178.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001543/2.365, allocations: 2.961 MB / 0.9357 GB, free: 175.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02848/2.393, allocations: 19.02 MB / 0.9543 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005761/2.399, allocations: 1.496 MB / 0.9558 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002756/2.402, allocations: 93.84 kB / 0.9558 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00571/2.407, allocations: 359.1 kB / 0.9562 GB, free: 155 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001223/2.409, allocations: 290 kB / 0.9565 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003837/2.409, allocations: 135.9 kB / 0.9566 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.008916/2.418, allocations: 4.774 MB / 0.9613 GB, free: 149.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.264e-06/2.418, allocations: 1.031 kB / 0.9613 GB, free: 149.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01537/2.433, allocations: 2.278 MB / 0.9635 GB, free: 147.6 MB / 0.5137 GB 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.001559/2.435, allocations: 219.6 kB / 0.9637 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0226/2.458, allocations: 14.05 MB / 0.9774 GB, free: 133.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/2.458, allocations: 5.875 kB / 0.9774 GB, free: 133.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.009917/2.468, allocations: 5.934 MB / 0.9832 GB, free: 127.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01316/2.481, allocations: 0.9246 MB / 0.9841 GB, free: 126.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0444/2.525, allocations: 23.47 MB / 1.007 GB, free: 103.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009573/2.535, allocations: 5.36 MB / 1.012 GB, free: 97.67 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00924/2.544, allocations: 3.201 MB / 1.015 GB, free: 94.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002539/2.547, allocations: 0.5576 MB / 1.016 GB, free: 93.91 MB / 0.5137 GB Notification: Performance of SimCode: time 2.394e-06/2.547, allocations: 0 / 1.016 GB, free: 93.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.4504/2.997, allocations: 113.2 MB / 1.127 GB, free: 194.8 MB / 0.5137 GB 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)