Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.00111/0.001109, allocations: 101.6 kB / 16.5 MB, free: 6.688 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.001171/0.001171, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.281/1.281, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001084/0.001084, allocations: 43.94 kB / 279.3 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07978/0.08087, allocations: 46.63 MB / 326 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.223/0.3039, allocations: 57.94 MB / 383.9 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02508/0.329, allocations: 11.77 MB / 395.7 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01087/0.34, allocations: 245.2 kB / 395.9 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005912/0.3459, allocations: 3.219 MB / 399.1 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005307/0.3513, allocations: 1.949 MB / 401.1 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.3533, allocations: 0.7816 MB / 401.9 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007767/0.361, allocations: 6.713 MB / 408.6 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005166/0.3662, allocations: 4.125 MB / 412.7 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003336/0.3696, allocations: 1.565 MB / 414.3 MB, free: 44 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003918/0.3735, allocations: 2.507 MB / 416.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001192/0.3748, allocations: 274.8 kB / 417 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/0.3779, allocations: 1.233 MB / 418.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002967/0.3809, allocations: 2.139 MB / 420.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0034/0.3843, allocations: 2.456 MB / 422.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008711/0.393, allocations: 7.885 MB / 430.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3931, allocations: 4 kB / 430.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3931, allocations: 0 / 430.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001478/0.3932, allocations: 0 / 430.8 MB, free: 1.348 MB / 334.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.01033/0.4036, allocations: 5.511 MB / 436.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.4036, allocations: 8.031 kB / 436.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008997/0.4126, allocations: 2.231 MB / 438.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00574/0.4184, allocations: 2.956 MB / 441.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.4186, allocations: 273.9 kB / 441.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006739/0.4193, allocations: 350.7 kB / 442.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01864/0.4379, allocations: 11.65 MB / 453.7 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001098/0.4381, allocations: 39.59 kB / 453.8 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004359/0.4385, allocations: 172.4 kB / 453.9 MB, free: 9.734 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003658/0.4422, allocations: 2.339 MB / 456.3 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01786/0.4601, allocations: 9.973 MB / 466.2 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05299/0.5131, allocations: 44.49 MB / 0.4988 GB, free: 0 / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/0.5256, allocations: 5.338 MB / 0.504 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003559/0.5292, allocations: 2.824 MB / 0.5067 GB, free: 7.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01163/0.5409, allocations: 8.126 MB / 0.5147 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.5409, allocations: 51.88 kB / 0.5147 GB, free: 15.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=216): time 4.208e-06/0.541, allocations: 0 / 0.5147 GB, free: 15.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=237): time 0.2014/0.7423, allocations: 20.77 MB / 0.535 GB, free: 164.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.748e-05/0.7425, allocations: 181.1 kB / 0.5352 GB, free: 164.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00772/0.7502, allocations: 4.763 MB / 0.5398 GB, free: 162.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004549/0.7507, allocations: 61.11 kB / 0.5399 GB, free: 162.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001932/0.7526, allocations: 3.392 MB / 0.5432 GB, free: 160.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008854/0.7535, allocations: 0.896 MB / 0.5441 GB, free: 159.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001624/0.7551, allocations: 1.373 MB / 0.5454 GB, free: 158.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.653e-05/0.7552, allocations: 308.6 kB / 0.5457 GB, free: 158.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003746/0.759, allocations: 2.705 MB / 0.5484 GB, free: 157.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00462/0.7636, allocations: 6.621 MB / 0.5548 GB, free: 151.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008903/0.7725, allocations: 10.08 MB / 0.5647 GB, free: 143.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-05/0.7726, allocations: 38.34 kB / 0.5647 GB, free: 143.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01432/0.787, allocations: 10.17 MB / 0.5746 GB, free: 136.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.323e-05/0.787, allocations: 64 kB / 0.5747 GB, free: 136.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-05/0.7872, allocations: 136 kB / 0.5748 GB, free: 136.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002507/0.7897, allocations: 1.211 MB / 0.576 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004461/0.7941, allocations: 1.599 MB / 0.5776 GB, free: 133.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006715/0.8009, allocations: 6.808 MB / 0.5842 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004885/0.8058, allocations: 387.4 kB / 0.5846 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006234/0.8064, allocations: 407.6 kB / 0.585 GB, free: 126 MB / 446.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.00306/0.8095, allocations: 2.377 MB / 0.5873 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007234/0.8102, allocations: 414.6 kB / 0.5877 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00669/0.8169, allocations: 4.768 MB / 0.5923 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/0.8169, allocations: 27.98 kB / 0.5924 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.817, allocations: 8 kB / 0.5924 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.817, allocations: 7.969 kB / 0.5924 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/0.8322, allocations: 10.89 MB / 0.603 GB, free: 107.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/0.8323, allocations: 4.75 kB / 0.603 GB, free: 107.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/0.834, allocations: 424 kB / 0.6034 GB, free: 107 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002383/0.8364, allocations: 1.029 MB / 0.6044 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002239/0.8367, allocations: 51.98 kB / 0.6045 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006696/0.8434, allocations: 6.358 MB / 0.6107 GB, free: 99.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.8434, allocations: 7.938 kB / 0.6107 GB, free: 99.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009604/0.853, allocations: 8.158 MB / 0.6187 GB, free: 91.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/0.8547, allocations: 0.8364 MB / 0.6195 GB, free: 90.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008738/0.8556, allocations: 51.94 kB / 0.6195 GB, free: 90.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002057/0.8576, allocations: 147.8 kB / 0.6197 GB, free: 90.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003746/0.858, allocations: 149.3 kB / 0.6198 GB, free: 89.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/0.8582, allocations: 68 kB / 0.6199 GB, free: 89.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004483/0.8627, allocations: 3.058 MB / 0.6229 GB, free: 86.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.8627, allocations: 0 / 0.6229 GB, free: 86.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005519/0.8682, allocations: 1.178 MB / 0.624 GB, free: 85.64 MB / 446.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.0006156/0.8689, allocations: 185.2 kB / 0.6242 GB, free: 85.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0087/0.8776, allocations: 6.494 MB / 0.6305 GB, free: 78.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.8776, allocations: 0 / 0.6305 GB, free: 78.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003148/0.8808, allocations: 2.414 MB / 0.6329 GB, free: 76.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003831/0.8846, allocations: 0.4972 MB / 0.6334 GB, free: 76.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/0.9009, allocations: 13.56 MB / 0.6466 GB, free: 62.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004055/0.905, allocations: 3.673 MB / 0.6502 GB, free: 58.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004927/0.9099, allocations: 2.219 MB / 0.6524 GB, free: 56.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/0.9109, allocations: 295.4 kB / 0.6527 GB, free: 56.19 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.9109, allocations: 0 / 0.6527 GB, free: 56.19 MB / 446.1 MB Notification: Performance of Templates: time 0.2363/1.147, allocations: 44.61 MB / 0.6962 GB, free: 149.9 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1)