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.008902/0.008902, allocations: 101.4 kB / 15.73 MB, free: 6.039 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.001934/0.001934, allocations: 202 kB / 16.68 MB, free: 5.965 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.531/1.531, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001475/0.001475, allocations: 53.84 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1145, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.02051/0.1351, allocations: 17.59 MB / 390.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01604/0.1512, allocations: 5.725 MB / 396.5 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004854/0.1561, allocations: 143.5 kB / 396.6 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.1667, allocations: 5.21 MB / 401.8 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00945/0.1762, allocations: 3.143 MB / 405 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003501/0.1797, allocations: 1.42 MB / 406.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01438/0.1941, allocations: 10.08 MB / 416.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01432/0.2085, allocations: 6.169 MB / 422.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007593/0.2162, allocations: 3.084 MB / 425.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008355/0.2245, allocations: 4.042 MB / 429.8 MB, free: 8.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002816/0.2274, allocations: 0.5859 MB / 430.4 MB, free: 7.871 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005932/0.2333, allocations: 1.888 MB / 432.3 MB, free: 5.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006245/0.2396, allocations: 3.737 MB / 436 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009946/0.2496, allocations: 4.008 MB / 440 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01946/0.2691, allocations: 12.44 MB / 452.4 MB, free: 1.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.2691, allocations: 0 / 452.4 MB, free: 1.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2691, allocations: 3.938 kB / 452.4 MB, free: 1.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005834/0.2697, allocations: 0 / 452.4 MB, free: 1.715 MB / 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.3022/0.572, allocations: 9.753 MB / 462.2 MB, free: 65.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.572, allocations: 13.41 kB / 462.2 MB, free: 65.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03601/0.6081, allocations: 8.759 MB / 471 MB, free: 61.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01826/0.6264, allocations: 7.433 MB / 478.4 MB, free: 56.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004009/0.6268, allocations: 385.3 kB / 478.8 MB, free: 56.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003441/0.6303, allocations: 0.6902 MB / 479.5 MB, free: 55.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03346/0.6638, allocations: 17.15 MB / 496.6 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005335/0.6643, allocations: 91.34 kB / 496.7 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002723/0.6671, allocations: 239.8 kB / 496.9 MB, free: 36.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004598/0.6717, allocations: 2.771 MB / 499.7 MB, free: 34.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03404/0.7058, allocations: 14.96 MB / 0.5026 GB, free: 19.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1156/0.8215, allocations: 68.19 MB / 0.5692 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03034/0.8519, allocations: 9.228 MB / 0.5782 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007155/0.8591, allocations: 4.754 MB / 0.5828 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/0.8608, allocations: 1.031 MB / 0.5839 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.8609, allocations: 80.42 kB / 0.5839 GB, free: 13.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=268): time 9.168e-06/0.8609, allocations: 5.969 kB / 0.5839 GB, free: 13.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=351): time 0.7104/1.571, allocations: 60.35 MB / 0.6429 GB, free: 157.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002408/1.574, allocations: 3.418 MB / 0.6462 GB, free: 153.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01099/1.585, allocations: 7.522 MB / 0.6536 GB, free: 151.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001252/1.586, allocations: 76.8 kB / 0.6536 GB, free: 151.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003404/1.589, allocations: 5.22 MB / 0.6587 GB, free: 147.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001963/1.591, allocations: 1.408 MB / 0.6601 GB, free: 146.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002911/1.594, allocations: 2.193 MB / 0.6622 GB, free: 145.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.369e-05/1.594, allocations: 304.7 kB / 0.6625 GB, free: 145 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006301/1.601, allocations: 5.525 MB / 0.6679 GB, free: 143.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008656/1.609, allocations: 10.83 MB / 0.6785 GB, free: 133.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01606/1.625, allocations: 17.25 MB / 0.6954 GB, free: 114 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001333/1.626, allocations: 52 kB / 0.6954 GB, free: 113.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=1334) (initialization): time 0.07393/1.7, allocations: 34.86 MB / 0.7295 GB, free: 79.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003036/1.7, allocations: 84 kB / 0.7295 GB, free: 78.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05039/1.75, allocations: 23.69 MB / 0.7527 GB, free: 55.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04558/1.796, allocations: 17.85 MB / 0.7701 GB, free: 37.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008218/1.804, allocations: 2.402 MB / 0.7724 GB, free: 34.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3067/2.111, allocations: 41.48 MB / 0.8129 GB, free: 155.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01244/2.123, allocations: 0.821 MB / 0.8137 GB, free: 155.7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002956/2.126, allocations: 0.6129 MB / 0.8143 GB, free: 155.7 MB / 0.4982 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.008984/2.135, allocations: 3.437 MB / 0.8177 GB, free: 155.6 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002554/2.138, allocations: 0.6899 MB / 0.8184 GB, free: 155.6 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02235/2.16, allocations: 12.88 MB / 0.8309 GB, free: 152.8 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01895/2.179, allocations: 11.54 MB / 0.8422 GB, free: 149.3 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.895e-05/2.18, allocations: 18.44 kB / 0.8422 GB, free: 149.3 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.723e-05/2.18, allocations: 20.83 kB / 0.8423 GB, free: 149.3 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0526/2.232, allocations: 27.01 MB / 0.8686 GB, free: 130.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.628e-05/2.232, allocations: 7.984 kB / 0.8686 GB, free: 130.1 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004051/2.236, allocations: 0.7565 MB / 0.8694 GB, free: 129.3 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01588/2.252, allocations: 5.326 MB / 0.8746 GB, free: 124.1 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001316/2.254, allocations: 136.9 kB / 0.8747 GB, free: 123.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03142/2.285, allocations: 28.35 MB / 0.9024 GB, free: 95.18 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00209/2.287, allocations: 3.134 MB / 0.9055 GB, free: 91.77 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03699/2.324, allocations: 19.06 MB / 0.9241 GB, free: 72.97 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006118/2.33, allocations: 1.535 MB / 0.9256 GB, free: 71.67 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003802/2.334, allocations: 81.08 kB / 0.9257 GB, free: 71.59 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006604/2.341, allocations: 356.2 kB / 0.926 GB, free: 71.25 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001763/2.343, allocations: 286.1 kB / 0.9263 GB, free: 70.97 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009576/2.344, allocations: 139.5 kB / 0.9264 GB, free: 70.84 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.00982/2.353, allocations: 4.774 MB / 0.9311 GB, free: 66.1 MB / 0.4982 GB Notification: Performance of sort global known variables: time 6.91e-07/2.353, allocations: 0 / 0.9311 GB, free: 66.1 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01532/2.369, allocations: 2.283 MB / 0.9333 GB, free: 63.82 MB / 0.4982 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.001662/2.371, allocations: 223.1 kB / 0.9335 GB, free: 63.6 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.02172/2.392, allocations: 14.12 MB / 0.9473 GB, free: 49.42 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/2.392, allocations: 0.875 kB / 0.9473 GB, free: 49.42 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.008998/2.401, allocations: 5.955 MB / 0.9531 GB, free: 43.36 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01117/2.413, allocations: 0.9723 MB / 0.9541 GB, free: 42.4 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03639/2.449, allocations: 20.06 MB / 0.9736 GB, free: 22.24 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009396/2.458, allocations: 5.36 MB / 0.9789 GB, free: 16.84 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.00863/2.467, allocations: 3.201 MB / 0.982 GB, free: 13.64 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003091/2.47, allocations: 0.5615 MB / 0.9826 GB, free: 13.07 MB / 0.4982 GB Notification: Performance of SimCode: time 8.92e-07/2.47, allocations: 0 / 0.9826 GB, free: 13.07 MB / 0.4982 GB Notification: Performance of Templates: time 0.4715/2.942, allocations: 114.5 MB / 1.094 GB, free: 97.88 MB / 0.5138 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)