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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001016/0.001016, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.134/1.134, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001627/0.001627, allocations: 120.1 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.000325, allocations: 12 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08477/0.08511, allocations: 44.5 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2393/0.3244, allocations: 94.73 MB / 449.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.3247, allocations: 95.98 kB / 449.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.384/0.7087, allocations: 97.11 MB / 0.5342 GB, free: 83.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7088, allocations: 0 / 0.5342 GB, free: 83.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002873/0.7091, allocations: 96.94 kB / 0.5343 GB, free: 83.78 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1734 * Number of variables: 1734 Notification: Performance of Generate backend data structure: time 0.01564/0.7247, allocations: 4.972 MB / 0.5391 GB, free: 81.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.7248, allocations: 9.062 kB / 0.5391 GB, free: 81.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01803/0.7428, allocations: 4.505 MB / 0.5435 GB, free: 81.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01368/0.7566, allocations: 5.065 MB / 0.5485 GB, free: 80.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003912/0.757, allocations: 359.8 kB / 0.5488 GB, free: 80.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002427/0.7594, allocations: 471.3 kB / 0.5493 GB, free: 80.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02283/0.7823, allocations: 12.04 MB / 0.561 GB, free: 77.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002227/0.7825, allocations: 60.31 kB / 0.5611 GB, free: 77.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00132/0.7839, allocations: 237.2 kB / 0.5613 GB, free: 77.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00132/0.7852, allocations: 1.196 MB / 0.5625 GB, free: 77.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/0.8006, allocations: 9.965 MB / 0.5722 GB, free: 74.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04805/0.8487, allocations: 52.87 MB / 0.6238 GB, free: 32.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01135/0.8601, allocations: 5.243 MB / 0.629 GB, free: 28.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01266/0.8728, allocations: 8.035 MB / 0.6368 GB, free: 20.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.8729, allocations: 51.88 kB / 0.6369 GB, free: 19.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=216): time 5.26e-06/0.8729, allocations: 0 / 0.6369 GB, free: 19.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=237): time 0.04165/0.9146, allocations: 19.43 MB / 0.6558 GB, free: 348 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.9147, allocations: 180.2 kB / 0.656 GB, free: 128 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006495/0.9212, allocations: 4.199 MB / 0.6601 GB, free: 11.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004394/0.9217, allocations: 61.7 kB / 0.6602 GB, free: 11.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002383/0.9241, allocations: 3.427 MB / 0.6635 GB, free: 8.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.9251, allocations: 0.8939 MB / 0.6644 GB, free: 7.543 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002928/0.9254, allocations: 132.7 kB / 0.6645 GB, free: 7.414 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003482/0.9258, allocations: 0.5831 MB / 0.6651 GB, free: 6.824 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003428/0.9292, allocations: 2.504 MB / 0.6675 GB, free: 4.316 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1591/1.088, allocations: 6.37 MB / 0.6737 GB, free: 86.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005696/1.094, allocations: 3.929 MB / 0.6776 GB, free: 86.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.288e-05/1.094, allocations: 38.75 kB / 0.6776 GB, free: 86.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01437/1.109, allocations: 9.472 MB / 0.6869 GB, free: 86.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/1.109, allocations: 70.08 kB / 0.6869 GB, free: 86.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001669/1.109, allocations: 136.5 kB / 0.6871 GB, free: 86.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001956/1.111, allocations: 0.92 MB / 0.688 GB, free: 86.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004937/1.116, allocations: 1.598 MB / 0.6895 GB, free: 86.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008011/1.124, allocations: 5.933 MB / 0.6953 GB, free: 84.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005598/1.129, allocations: 379.3 kB / 0.6957 GB, free: 84.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/1.131, allocations: 407.1 kB / 0.6961 GB, free: 84.61 MB / 410.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 () * Number of clocked 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.004799/1.135, allocations: 2.37 MB / 0.6984 GB, free: 84.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007229/1.136, allocations: 416.6 kB / 0.6988 GB, free: 84.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007264/1.143, allocations: 4.288 MB / 0.703 GB, free: 83.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-05/1.144, allocations: 26.94 kB / 0.703 GB, free: 83.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/1.144, allocations: 8.922 kB / 0.703 GB, free: 83.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/1.144, allocations: 9.891 kB / 0.703 GB, free: 83.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/1.159, allocations: 10.39 MB / 0.7132 GB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/1.159, allocations: 14.09 kB / 0.7132 GB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001959/1.161, allocations: 475.8 kB / 0.7136 GB, free: 80.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001599/1.163, allocations: 0.7184 MB / 0.7143 GB, free: 79.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/1.163, allocations: 46.03 kB / 0.7144 GB, free: 79.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005644/1.168, allocations: 5.471 MB / 0.7197 GB, free: 77.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.168, allocations: 7.688 kB / 0.7197 GB, free: 77.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009112/1.177, allocations: 8.306 MB / 0.7278 GB, free: 72.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002086/1.18, allocations: 0.8179 MB / 0.7286 GB, free: 72.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004406/1.18, allocations: 47.19 kB / 0.7287 GB, free: 72.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/1.182, allocations: 142.9 kB / 0.7288 GB, free: 72.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/1.182, allocations: 153.5 kB / 0.729 GB, free: 72.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/1.182, allocations: 68.83 kB / 0.729 GB, free: 72.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003717/1.186, allocations: 3.008 MB / 0.732 GB, free: 71.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.3e-07/1.186, allocations: 0 / 0.732 GB, free: 71.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004685/1.19, allocations: 1.145 MB / 0.7331 GB, free: 71.19 MB / 410.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 () * 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 (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.0003902/1.191, allocations: 198.5 kB / 0.7333 GB, free: 71.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00727/1.198, allocations: 6.129 MB / 0.7393 GB, free: 68.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/1.198, allocations: 3.938 kB / 0.7393 GB, free: 68.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002823/1.201, allocations: 2.27 MB / 0.7415 GB, free: 67.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/1.203, allocations: 486.7 kB / 0.7419 GB, free: 67.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/1.218, allocations: 12.88 MB / 0.7545 GB, free: 58.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003117/1.221, allocations: 3.761 MB / 0.7582 GB, free: 55.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004736/1.226, allocations: 2.216 MB / 0.7604 GB, free: 54.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007862/1.227, allocations: 300.6 kB / 0.7606 GB, free: 53.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/1.227, allocations: 0 / 0.7606 GB, free: 53.73 MB / 410.7 MB Notification: Performance of Templates: time 0.06173/1.289, allocations: 41.8 MB / 0.8015 GB, free: 17.65 MB / 410.7 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)