Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002049/0.002049, allocations: 192 kB / 16.25 MB, free: 6.617 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.367/1.367, allocations: 205.1 MB / 222.1 MB, free: 4.75 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.001117/0.001117, allocations: 51.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1982, allocations: 46.62 MB / 324.8 MB, free: 1.887 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.04869/0.2469, allocations: 57.96 MB / 382.8 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02781/0.2748, allocations: 11.67 MB / 394.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0119/0.2868, allocations: 243.4 kB / 394.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006476/0.2933, allocations: 3.105 MB / 397.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005858/0.2992, allocations: 1.943 MB / 399.8 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.3013, allocations: 0.7762 MB / 400.5 MB, free: 8.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006616/0.308, allocations: 4.697 MB / 405.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005563/0.3135, allocations: 4.396 MB / 409.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003896/0.3175, allocations: 1.783 MB / 411.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003873/0.3214, allocations: 2.605 MB / 414 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001243/0.3226, allocations: 392 kB / 414.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.3256, allocations: 1.291 MB / 415.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003181/0.3288, allocations: 2.26 MB / 418 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005841/0.3347, allocations: 2.575 MB / 420.5 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009013/0.3437, allocations: 8.03 MB / 428.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.3438, allocations: 4 kB / 428.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3438, allocations: 0 / 428.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002105/0.344, allocations: 4 kB / 428.6 MB, free: 11.97 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.01057/0.3546, allocations: 5.516 MB / 434.1 MB, free: 6.387 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.3547, allocations: 8.031 kB / 434.1 MB, free: 6.379 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008983/0.3636, allocations: 2.233 MB / 436.3 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006083/0.3698, allocations: 2.952 MB / 439.3 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.37, allocations: 266.8 kB / 439.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008284/0.3708, allocations: 351.7 kB / 439.9 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/0.3887, allocations: 11.65 MB / 451.5 MB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/0.3889, allocations: 43.58 kB / 451.6 MB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000418/0.3893, allocations: 171.8 kB / 451.7 MB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003741/0.393, allocations: 2.338 MB / 454.1 MB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1714/0.5644, allocations: 9.977 MB / 464.1 MB, free: 109.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03762/0.6021, allocations: 44.5 MB / 0.4966 GB, free: 67.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/0.613, allocations: 5.333 MB / 0.5018 GB, free: 61.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002662/0.6157, allocations: 2.814 MB / 0.5046 GB, free: 59.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009295/0.625, allocations: 8.129 MB / 0.5125 GB, free: 50.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.6251, allocations: 55.81 kB / 0.5126 GB, free: 50.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=216): time 4.529e-06/0.6251, allocations: 0 / 0.5126 GB, free: 50.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=237): time 0.04405/0.6692, allocations: 20.77 MB / 0.5329 GB, free: 29.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.394e-05/0.6693, allocations: 188.2 kB / 0.533 GB, free: 29.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005401/0.6747, allocations: 4.769 MB / 0.5377 GB, free: 24.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004382/0.6752, allocations: 65.61 kB / 0.5378 GB, free: 24.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001429/0.6766, allocations: 3.384 MB / 0.5411 GB, free: 21.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008235/0.6775, allocations: 0.8907 MB / 0.5419 GB, free: 20.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/0.6788, allocations: 1.38 MB / 0.5433 GB, free: 19.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.768e-05/0.6789, allocations: 301.1 kB / 0.5436 GB, free: 18.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002969/0.6818, allocations: 2.715 MB / 0.5462 GB, free: 16.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004187/0.686, allocations: 6.606 MB / 0.5527 GB, free: 7.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009893/0.6959, allocations: 10.09 MB / 0.5625 GB, free: 11.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/0.6961, allocations: 40 kB / 0.5626 GB, free: 11.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.02064/0.7168, allocations: 10.17 MB / 0.5725 GB, free: 1.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.54e-05/0.7169, allocations: 68.95 kB / 0.5726 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/0.717, allocations: 140 kB / 0.5727 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00307/0.7201, allocations: 1.199 MB / 0.5739 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005466/0.7256, allocations: 1.614 MB / 0.5754 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009254/0.7349, allocations: 7.279 MB / 0.5825 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005002/0.7399, allocations: 383.4 kB / 0.5829 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009823/0.7409, allocations: 408 kB / 0.5833 GB, free: 6.109 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (835): * Single equations (assignments): 829 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003715/0.7446, allocations: 2.37 MB / 0.5856 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007851/0.7454, allocations: 410.7 kB / 0.586 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008121/0.7536, allocations: 4.784 MB / 0.5907 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-05/0.7536, allocations: 31.98 kB / 0.5907 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.7537, allocations: 4 kB / 0.5907 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/0.7537, allocations: 7.969 kB / 0.5907 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/0.7724, allocations: 10.91 MB / 0.6014 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/0.7724, allocations: 4 kB / 0.6014 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/0.7745, allocations: 424 kB / 0.6018 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002756/0.7773, allocations: 1.023 MB / 0.6028 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002484/0.7775, allocations: 51.98 kB / 0.6028 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2247/1.002, allocations: 6.84 MB / 0.6095 GB, free: 141.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/1.002, allocations: 6.719 kB / 0.6095 GB, free: 141.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/1.013, allocations: 8.154 MB / 0.6175 GB, free: 138.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/1.015, allocations: 0.8299 MB / 0.6183 GB, free: 138.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005821/1.015, allocations: 50.52 kB / 0.6183 GB, free: 138.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/1.017, allocations: 149.2 kB / 0.6185 GB, free: 138.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003585/1.017, allocations: 147.6 kB / 0.6186 GB, free: 138.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/1.018, allocations: 69.45 kB / 0.6187 GB, free: 138.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003429/1.021, allocations: 3.049 MB / 0.6217 GB, free: 137.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.021, allocations: 0 / 0.6217 GB, free: 137.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004271/1.025, allocations: 1.182 MB / 0.6228 GB, free: 137.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198): * Single equations (assignments): 194 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003868/1.026, allocations: 192.3 kB / 0.623 GB, free: 137.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01119/1.037, allocations: 8.321 MB / 0.6311 GB, free: 133.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.037, allocations: 0 / 0.6311 GB, free: 133.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003135/1.04, allocations: 2.408 MB / 0.6335 GB, free: 131.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/1.043, allocations: 0.5179 MB / 0.634 GB, free: 131 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/1.057, allocations: 13.54 MB / 0.6472 GB, free: 118.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002811/1.06, allocations: 3.673 MB / 0.6508 GB, free: 114.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004516/1.065, allocations: 2.219 MB / 0.653 GB, free: 112.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008672/1.066, allocations: 295.4 kB / 0.6532 GB, free: 112.3 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/1.066, allocations: 0 / 0.6532 GB, free: 112.3 MB / 430.1 MB Notification: Performance of Templates: time 0.06237/1.128, allocations: 46.31 MB / 0.6985 GB, free: 65.98 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1)