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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001091/0.001091, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.174/1.174, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001624/0.001624, allocations: 110.2 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.895e-05/2.897e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06984/0.06989, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2706/0.3405, allocations: 88.91 MB / 396.6 MB, free: 3.586 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.3408, allocations: 86.52 kB / 396.6 MB, free: 3.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4149/0.7557, allocations: 97.11 MB / 493.7 MB, free: 72.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.7558, allocations: 0 / 493.7 MB, free: 72.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001604/0.7559, allocations: 88.09 kB / 493.8 MB, free: 72.52 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1732 * Number of variables: 1732 Notification: Performance of Generate backend data structure: time 0.009895/0.7658, allocations: 4.664 MB / 498.5 MB, free: 70.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.7659, allocations: 6.719 kB / 498.5 MB, free: 70.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/0.7836, allocations: 4.502 MB / 0.4912 GB, free: 70.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.7968, allocations: 5.036 MB / 0.4961 GB, free: 69.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/0.7972, allocations: 364.3 kB / 0.4965 GB, free: 69.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001655/0.7989, allocations: 472.6 kB / 0.4969 GB, free: 69.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01947/0.8183, allocations: 11.95 MB / 0.5086 GB, free: 65.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001332/0.8185, allocations: 58.88 kB / 0.5087 GB, free: 65.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005982/0.8191, allocations: 233.6 kB / 0.5089 GB, free: 65.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001317/0.8205, allocations: 1.195 MB / 0.5101 GB, free: 65.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01852/0.839, allocations: 9.821 MB / 0.5196 GB, free: 61.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04818/0.8872, allocations: 52.83 MB / 0.5712 GB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.898, allocations: 5.191 MB / 0.5763 GB, free: 5.855 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002647/0.9007, allocations: 2.618 MB / 0.5789 GB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/0.912, allocations: 8.045 MB / 0.5867 GB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.9121, allocations: 55.83 kB / 0.5868 GB, free: 10.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=216): time 4.769e-06/0.9121, allocations: 0 / 0.5868 GB, free: 10.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=237): time 0.2339/1.146, allocations: 16.68 MB / 0.6031 GB, free: 79.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/1.146, allocations: 179.9 kB / 0.6032 GB, free: 79.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006797/1.153, allocations: 4.158 MB / 0.6073 GB, free: 79.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004171/1.153, allocations: 57.92 kB / 0.6073 GB, free: 79.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002115/1.155, allocations: 3.417 MB / 0.6107 GB, free: 77.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000976/1.156, allocations: 0.8895 MB / 0.6115 GB, free: 77.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/1.157, allocations: 133.3 kB / 0.6117 GB, free: 77.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003577/1.157, allocations: 0.5817 MB / 0.6122 GB, free: 76.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003291/1.16, allocations: 2.453 MB / 0.6146 GB, free: 76.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004736/1.165, allocations: 6.319 MB / 0.6208 GB, free: 71.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004757/1.17, allocations: 3.913 MB / 0.6246 GB, free: 71.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.078e-05/1.17, allocations: 40.78 kB / 0.6247 GB, free: 71.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01483/1.185, allocations: 9.369 MB / 0.6338 GB, free: 69.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.856e-05/1.185, allocations: 65.09 kB / 0.6339 GB, free: 69.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001795/1.185, allocations: 136.8 kB / 0.634 GB, free: 69.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00195/1.187, allocations: 0.9169 MB / 0.6349 GB, free: 69.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005423/1.193, allocations: 1.6 MB / 0.6365 GB, free: 69.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00615/1.199, allocations: 5.774 MB / 0.6421 GB, free: 66.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005993/1.205, allocations: 378.9 kB / 0.6425 GB, free: 66.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/1.206, allocations: 396.1 kB / 0.6428 GB, free: 66.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 39 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 812 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001113/1.207, allocations: 0.6156 MB / 0.6434 GB, free: 65.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000844/1.208, allocations: 422.8 kB / 0.6438 GB, free: 65.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006538/1.214, allocations: 4.232 MB / 0.648 GB, free: 63.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/1.214, allocations: 30.66 kB / 0.648 GB, free: 63.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/1.215, allocations: 7.812 kB / 0.648 GB, free: 63.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/1.215, allocations: 11.3 kB / 0.648 GB, free: 63.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/1.229, allocations: 10.34 MB / 0.6581 GB, free: 60.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.229, allocations: 6.688 kB / 0.6581 GB, free: 60.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/1.231, allocations: 479.2 kB / 0.6586 GB, free: 59.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001637/1.233, allocations: 0.714 MB / 0.6593 GB, free: 59.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/1.233, allocations: 56.2 kB / 0.6593 GB, free: 59.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005694/1.239, allocations: 5.308 MB / 0.6645 GB, free: 56.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.239, allocations: 7.375 kB / 0.6645 GB, free: 56.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009132/1.248, allocations: 8.224 MB / 0.6726 GB, free: 51.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002508/1.251, allocations: 0.8213 MB / 0.6734 GB, free: 50.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006287/1.251, allocations: 50.86 kB / 0.6734 GB, free: 50.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/1.253, allocations: 145.8 kB / 0.6735 GB, free: 50.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003467/1.253, allocations: 150.7 kB / 0.6737 GB, free: 50.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/1.253, allocations: 68 kB / 0.6738 GB, free: 50.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004102/1.258, allocations: 2.968 MB / 0.6767 GB, free: 47.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.258, allocations: 0 / 0.6767 GB, free: 47.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005242/1.263, allocations: 1.146 MB / 0.6778 GB, free: 46.34 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000447/1.263, allocations: 184.8 kB / 0.678 GB, free: 46.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007258/1.271, allocations: 6.043 MB / 0.6839 GB, free: 40.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.271, allocations: 0 / 0.6839 GB, free: 40.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002723/1.273, allocations: 2.24 MB / 0.686 GB, free: 38.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/1.275, allocations: 475.9 kB / 0.6865 GB, free: 38.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/1.288, allocations: 9.228 MB / 0.6955 GB, free: 29.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003173/1.291, allocations: 3.764 MB / 0.6992 GB, free: 27.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005053/1.296, allocations: 2.217 MB / 0.7013 GB, free: 25.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008265/1.297, allocations: 288.5 kB / 0.7016 GB, free: 25.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.342e-06/1.297, allocations: 0 / 0.7016 GB, free: 25.39 MB / 362.7 MB Notification: Performance of Templates: time 0.2573/1.554, allocations: 41.82 MB / 0.7425 GB, free: 68.57 MB / 362.7 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)