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.001359/0.001359, allocations: 111 kB / 17.06 MB, free: 5.969 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.001118/0.001118, allocations: 200 kB / 18.01 MB, free: 5.055 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.524/1.524, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001296/0.001296, allocations: 51.86 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1088, allocations: 46.61 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.2592/0.3681, allocations: 17.6 MB / 392.1 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01455/0.3827, allocations: 5.718 MB / 397.8 MB, free: 15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005655/0.3884, allocations: 141.3 kB / 397.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01254/0.401, allocations: 5.22 MB / 403.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01214/0.4132, allocations: 3.133 MB / 406.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004446/0.4177, allocations: 1.421 MB / 407.7 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01902/0.4367, allocations: 10.08 MB / 417.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01063/0.4474, allocations: 6.18 MB / 424 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008023/0.4555, allocations: 3.072 MB / 427 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008223/0.4637, allocations: 4.066 MB / 431.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003387/0.4672, allocations: 0.5898 MB / 431.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006859/0.4741, allocations: 1.892 MB / 433.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006401/0.4805, allocations: 3.788 MB / 437.4 MB, free: 492 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01017/0.4907, allocations: 4.012 MB / 441.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01947/0.5102, allocations: 12.4 MB / 453.8 MB, free: 8 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.5102, allocations: 0 / 453.8 MB, free: 8 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5102, allocations: 0 / 453.8 MB, free: 8 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004981/0.5107, allocations: 0 / 453.8 MB, free: 8 kB / 366.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.03202/0.5428, allocations: 9.514 MB / 463.3 MB, free: 6.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.5428, allocations: 15.83 kB / 463.3 MB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03576/0.5786, allocations: 8.706 MB / 472 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02074/0.5994, allocations: 7.41 MB / 479.4 MB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004518/0.5999, allocations: 381.8 kB / 479.8 MB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003005/0.6029, allocations: 0.6789 MB / 480.5 MB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03769/0.6406, allocations: 17.15 MB / 497.6 MB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003689/0.6411, allocations: 87.2 kB / 497.7 MB, free: 2.762 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001265/0.6423, allocations: 243.8 kB / 498 MB, free: 2.523 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004448/0.6468, allocations: 2.77 MB / 0.489 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03337/0.6802, allocations: 14.96 MB / 0.5036 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5689/1.249, allocations: 68.06 MB / 0.5701 GB, free: 104.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03188/1.281, allocations: 9.231 MB / 0.5791 GB, free: 103.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006389/1.287, allocations: 4.764 MB / 0.5837 GB, free: 101.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/1.289, allocations: 1.035 MB / 0.5848 GB, free: 100.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/1.289, allocations: 58.22 kB / 0.5848 GB, free: 100.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=268): time 5.491e-06/1.289, allocations: 1.156 kB / 0.5848 GB, free: 100.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=351): time 0.1695/1.458, allocations: 59.86 MB / 0.6433 GB, free: 57.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00184/1.46, allocations: 3.411 MB / 0.6466 GB, free: 54.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/1.471, allocations: 7.519 MB / 0.6539 GB, free: 46.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001289/1.473, allocations: 80.83 kB / 0.654 GB, free: 46.53 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003267/1.476, allocations: 5.032 MB / 0.6589 GB, free: 41.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002195/1.478, allocations: 1.347 MB / 0.6602 GB, free: 40.17 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004447/1.483, allocations: 2.171 MB / 0.6624 GB, free: 37.99 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.917e-05/1.483, allocations: 301.1 kB / 0.6627 GB, free: 37.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006802/1.489, allocations: 5.525 MB / 0.668 GB, free: 32.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01045/1.5, allocations: 10.84 MB / 0.6786 GB, free: 18.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01939/1.519, allocations: 17.25 MB / 0.6955 GB, free: 15.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001958/1.52, allocations: 52 kB / 0.6955 GB, free: 15.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=1334) (initialization): time 0.0876/1.607, allocations: 34.82 MB / 0.7295 GB, free: 12.19 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001664/1.607, allocations: 88.98 kB / 0.7296 GB, free: 12.11 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05677/1.664, allocations: 23.7 MB / 0.7528 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3038/1.968, allocations: 17.85 MB / 0.7702 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009028/1.977, allocations: 2.396 MB / 0.7725 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05103/2.028, allocations: 41.45 MB / 0.813 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009331/2.038, allocations: 0.811 MB / 0.8138 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0018/2.039, allocations: 0.6186 MB / 0.8144 GB, free: 164.4 MB / 0.5294 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.006486/2.046, allocations: 3.442 MB / 0.8178 GB, free: 162 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001484/2.047, allocations: 0.6545 MB / 0.8184 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02111/2.068, allocations: 12.88 MB / 0.831 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01893/2.087, allocations: 11.53 MB / 0.8422 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.141e-05/2.087, allocations: 25.5 kB / 0.8423 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.359e-05/2.088, allocations: 15.94 kB / 0.8423 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04601/2.134, allocations: 27.03 MB / 0.8687 GB, free: 110.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-05/2.134, allocations: 7.75 kB / 0.8687 GB, free: 110.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004111/2.138, allocations: 0.7565 MB / 0.8694 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01594/2.154, allocations: 5.31 MB / 0.8746 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001352/2.155, allocations: 135.8 kB / 0.8747 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02982/2.185, allocations: 28.34 MB / 0.9024 GB, free: 75.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001608/2.187, allocations: 3.138 MB / 0.9055 GB, free: 72 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03002/2.217, allocations: 19.03 MB / 0.9241 GB, free: 53.19 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005759/2.222, allocations: 1.492 MB / 0.9255 GB, free: 51.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002484/2.225, allocations: 79.92 kB / 0.9256 GB, free: 51.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00566/2.231, allocations: 355.5 kB / 0.9259 GB, free: 51.24 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00159/2.232, allocations: 297.3 kB / 0.9262 GB, free: 50.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000462/2.233, allocations: 137.7 kB / 0.9263 GB, free: 50.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008288/2.241, allocations: 4.766 MB / 0.931 GB, free: 46.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.72e-07/2.241, allocations: 0 / 0.931 GB, free: 46.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01211/2.253, allocations: 2.281 MB / 0.9332 GB, free: 43.82 MB / 0.5294 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.001419/2.255, allocations: 234 kB / 0.9335 GB, free: 43.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02112/2.276, allocations: 14.11 MB / 0.9472 GB, free: 29.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/2.276, allocations: 0 / 0.9472 GB, free: 29.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009602/2.285, allocations: 5.947 MB / 0.953 GB, free: 23.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01126/2.297, allocations: 0.9729 MB / 0.954 GB, free: 22.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2528/2.55, allocations: 19.78 MB / 0.9733 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009443/2.559, allocations: 5.358 MB / 0.9785 GB, free: 179 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.009276/2.568, allocations: 3.21 MB / 0.9817 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002546/2.571, allocations: 0.5548 MB / 0.9822 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/2.571, allocations: 1.203 kB / 0.9822 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.1688/2.74, allocations: 115.8 MB / 1.095 GB, free: 84.68 MB / 0.5294 GB 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)