Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001065/0.001065, 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.00122/0.00122, allocations: 190.7 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.291/1.291, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001126/0.001126, allocations: 51.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2062, allocations: 46.62 MB / 324.8 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.05031/0.2565, allocations: 57.95 MB / 382.8 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02397/0.2805, allocations: 11.68 MB / 394.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00948/0.2901, allocations: 243.4 kB / 394.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005967/0.2961, allocations: 3.105 MB / 397.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005148/0.3013, allocations: 1.939 MB / 399.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.3032, allocations: 0.784 MB / 400.5 MB, free: 8.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006127/0.3093, allocations: 4.697 MB / 405.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004829/0.3142, allocations: 4.396 MB / 409.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002465/0.3167, allocations: 1.783 MB / 411.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003296/0.32, allocations: 2.617 MB / 414 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006954/0.3207, allocations: 392 kB / 414.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.3227, allocations: 1.287 MB / 415.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001829/0.3246, allocations: 2.256 MB / 418 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002133/0.3267, allocations: 2.571 MB / 420.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007315/0.3341, allocations: 8.03 MB / 428.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3341, allocations: 0 / 428.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3341, allocations: 0 / 428.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002119/0.3343, allocations: 4 kB / 428.6 MB, free: 11.98 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.01038/0.3447, allocations: 5.516 MB / 434.1 MB, free: 6.398 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3448, allocations: 12.03 kB / 434.1 MB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008764/0.3535, allocations: 2.233 MB / 436.3 MB, free: 4.145 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005459/0.359, allocations: 2.948 MB / 439.3 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.3592, allocations: 274.8 kB / 439.5 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008714/0.3601, allocations: 347.7 kB / 439.9 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01925/0.3794, allocations: 11.65 MB / 451.5 MB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/0.3795, allocations: 47.59 kB / 451.6 MB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004609/0.38, allocations: 163.8 kB / 451.7 MB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003604/0.3836, allocations: 2.346 MB / 454.1 MB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1583/0.542, allocations: 9.962 MB / 464 MB, free: 109.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03936/0.5814, allocations: 44.49 MB / 0.4966 GB, free: 67.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/0.5921, allocations: 5.338 MB / 0.5018 GB, free: 61.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002675/0.5948, allocations: 2.814 MB / 0.5046 GB, free: 59.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/0.6051, allocations: 8.128 MB / 0.5125 GB, free: 50.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.6052, allocations: 59.81 kB / 0.5126 GB, free: 50.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=216): time 5.28e-06/0.6052, allocations: 0 / 0.5126 GB, free: 50.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=237): time 0.04352/0.6487, allocations: 20.78 MB / 0.5329 GB, free: 29.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.6488, allocations: 184.2 kB / 0.533 GB, free: 29.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004807/0.6537, allocations: 4.773 MB / 0.5377 GB, free: 24.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004132/0.6541, allocations: 65.53 kB / 0.5378 GB, free: 24.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001499/0.6556, allocations: 3.379 MB / 0.5411 GB, free: 21.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008565/0.6565, allocations: 0.8946 MB / 0.5419 GB, free: 20.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001463/0.6579, allocations: 1.38 MB / 0.5433 GB, free: 19.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.658, allocations: 309.1 kB / 0.5436 GB, free: 18.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002987/0.661, allocations: 2.707 MB / 0.5462 GB, free: 16.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004215/0.6652, allocations: 6.614 MB / 0.5527 GB, free: 7.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.6753, allocations: 10.08 MB / 0.5625 GB, free: 11.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.6e-05/0.6754, allocations: 40 kB / 0.5626 GB, free: 11.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.02205/0.6975, allocations: 10.17 MB / 0.5725 GB, free: 1.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.6976, allocations: 60 kB / 0.5726 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/0.6978, allocations: 144 kB / 0.5727 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002962/0.7007, allocations: 1.199 MB / 0.5739 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005431/0.7062, allocations: 1.61 MB / 0.5754 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008891/0.7151, allocations: 7.276 MB / 0.5825 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004575/0.7197, allocations: 387.4 kB / 0.5829 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006091/0.7203, allocations: 408 kB / 0.5833 GB, free: 6.113 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.003195/0.7235, allocations: 2.366 MB / 0.5856 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006738/0.7242, allocations: 418.6 kB / 0.586 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008077/0.7323, allocations: 4.78 MB / 0.5907 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.382e-05/0.7323, allocations: 28 kB / 0.5907 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.7324, allocations: 8 kB / 0.5907 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.48e-05/0.7324, allocations: 8.438 kB / 0.5907 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01848/0.7509, allocations: 10.91 MB / 0.6014 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/0.7509, allocations: 7.984 kB / 0.6014 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/0.7529, allocations: 428 kB / 0.6018 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002624/0.7556, allocations: 1.023 MB / 0.6028 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002345/0.7558, allocations: 51.92 kB / 0.6028 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1608/0.9166, allocations: 6.829 MB / 0.6095 GB, free: 141.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.9166, allocations: 10.56 kB / 0.6095 GB, free: 141.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009655/0.9263, allocations: 8.157 MB / 0.6175 GB, free: 138.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/0.9278, allocations: 0.8356 MB / 0.6183 GB, free: 138.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005472/0.9283, allocations: 46.08 kB / 0.6183 GB, free: 138.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/0.93, allocations: 144.1 kB / 0.6185 GB, free: 138.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003444/0.9303, allocations: 150.8 kB / 0.6186 GB, free: 138.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/0.9305, allocations: 62.52 kB / 0.6187 GB, free: 138.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003388/0.9339, allocations: 3.053 MB / 0.6217 GB, free: 137.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.9339, allocations: 0 / 0.6217 GB, free: 137.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004459/0.9383, allocations: 1.184 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.0004394/0.9388, allocations: 187.4 kB / 0.623 GB, free: 137 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01027/0.9491, allocations: 8.327 MB / 0.6311 GB, free: 133.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.9491, allocations: 0 / 0.6311 GB, free: 133.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003037/0.9522, 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.002794/0.955, allocations: 0.5159 MB / 0.634 GB, free: 131 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/0.9705, allocations: 13.55 MB / 0.6472 GB, free: 118.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00338/0.9739, allocations: 3.669 MB / 0.6508 GB, free: 114.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004588/0.9785, allocations: 2.216 MB / 0.653 GB, free: 112.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008448/0.9794, allocations: 295.4 kB / 0.6532 GB, free: 112.3 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.9794, allocations: 0 / 0.6532 GB, free: 112.3 MB / 430.1 MB Notification: Performance of Templates: time 0.0627/1.042, allocations: 46.32 MB / 0.6985 GB, free: 65.96 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1)