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.001051/0.001051, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001123/0.001123, allocations: 194.3 kB / 16.14 MB, free: 6.66 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.295/1.295, allocations: 205.1 MB / 222 MB, free: 4.73 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.001208/0.001208, allocations: 51.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1904, allocations: 46.64 MB / 324.7 MB, free: 1.957 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.04914/0.2395, allocations: 57.94 MB / 382.6 MB, free: 10 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02578/0.2654, allocations: 11.77 MB / 394.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01134/0.2768, allocations: 243.4 kB / 394.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006629/0.2835, allocations: 3.23 MB / 397.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00557/0.2891, allocations: 1.943 MB / 399.8 MB, free: 8.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.2911, allocations: 0.7723 MB / 400.6 MB, free: 8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007731/0.2989, allocations: 6.71 MB / 407.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004834/0.3037, allocations: 4.132 MB / 411.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.3062, allocations: 1.553 MB / 413 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003268/0.3095, allocations: 2.512 MB / 415.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007966/0.3103, allocations: 276 kB / 415.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.3127, allocations: 1.233 MB / 417 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002057/0.3148, allocations: 2.147 MB / 419.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002588/0.3174, allocations: 2.45 MB / 421.6 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008141/0.3256, allocations: 7.885 MB / 429.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.3256, allocations: 0 / 429.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3256, allocations: 3.984 kB / 429.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002628/0.3259, allocations: 0 / 429.5 MB, free: 10.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.01178/0.3377, allocations: 5.516 MB / 435 MB, free: 5.383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.3377, allocations: 8.031 kB / 435 MB, free: 5.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009297/0.3471, allocations: 2.229 MB / 437.2 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006276/0.3534, allocations: 2.956 MB / 440.2 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.3536, allocations: 270.8 kB / 440.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008084/0.3544, allocations: 351.7 kB / 440.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01807/0.3725, allocations: 11.65 MB / 452.4 MB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.3727, allocations: 43.59 kB / 452.5 MB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000439/0.3731, allocations: 167.8 kB / 452.6 MB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003684/0.3768, allocations: 2.35 MB / 455 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1701/0.5469, allocations: 9.972 MB / 465 MB, free: 109.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04129/0.5882, allocations: 44.48 MB / 0.4975 GB, free: 66.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/0.5996, allocations: 5.341 MB / 0.5027 GB, free: 60.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002958/0.6026, allocations: 2.815 MB / 0.5055 GB, free: 58.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009765/0.6124, allocations: 8.126 MB / 0.5134 GB, free: 49.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.6124, allocations: 51.88 kB / 0.5135 GB, free: 49.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=216): time 4.538e-06/0.6124, allocations: 3.188 kB / 0.5135 GB, free: 49.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=237): time 0.04573/0.6582, allocations: 20.78 MB / 0.5338 GB, free: 28.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.6583, allocations: 184.2 kB / 0.5339 GB, free: 28.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005203/0.6635, allocations: 4.762 MB / 0.5386 GB, free: 23.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005069/0.664, allocations: 65.64 kB / 0.5386 GB, free: 23.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001482/0.6655, allocations: 3.387 MB / 0.5419 GB, free: 20.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007796/0.6663, allocations: 0.8907 MB / 0.5428 GB, free: 19.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001437/0.6677, allocations: 1.384 MB / 0.5442 GB, free: 18.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.937e-05/0.6678, allocations: 305.1 kB / 0.5445 GB, free: 17.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003077/0.6709, allocations: 2.699 MB / 0.5471 GB, free: 15.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004184/0.6751, allocations: 6.618 MB / 0.5536 GB, free: 6.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009953/0.685, allocations: 10.08 MB / 0.5634 GB, free: 10.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/0.6852, allocations: 40 kB / 0.5634 GB, free: 10.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01945/0.7046, allocations: 10.17 MB / 0.5734 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.7048, allocations: 65.41 kB / 0.5734 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002068/0.705, allocations: 136 kB / 0.5736 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003183/0.7082, allocations: 1.199 MB / 0.5747 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00573/0.714, allocations: 1.606 MB / 0.5763 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009516/0.7235, allocations: 6.8 MB / 0.583 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005219/0.7288, allocations: 391.3 kB / 0.5833 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/0.73, allocations: 408 kB / 0.5837 GB, free: 5.586 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.005075/0.7351, allocations: 2.377 MB / 0.586 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009734/0.7361, allocations: 410.7 kB / 0.5864 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009462/0.7456, allocations: 4.78 MB / 0.5911 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.284e-05/0.7457, allocations: 24 kB / 0.5911 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/0.7457, allocations: 4 kB / 0.5911 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.25e-05/0.7457, allocations: 15.95 kB / 0.5911 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02146/0.7672, allocations: 10.91 MB / 0.6018 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.213e-05/0.7672, allocations: 11.98 kB / 0.6018 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002133/0.7694, allocations: 424 kB / 0.6022 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002876/0.7723, allocations: 1.031 MB / 0.6032 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003089/0.7726, allocations: 47.94 kB / 0.6033 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1815/0.9541, allocations: 6.349 MB / 0.6095 GB, free: 142 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.9542, allocations: 14.19 kB / 0.6095 GB, free: 142 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/0.9647, allocations: 8.153 MB / 0.6174 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/0.9663, allocations: 0.8329 MB / 0.6182 GB, free: 138.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000522/0.9668, allocations: 47.12 kB / 0.6183 GB, free: 138.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/0.9685, allocations: 143.7 kB / 0.6184 GB, free: 138.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000393/0.9689, allocations: 150.9 kB / 0.6186 GB, free: 138.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/0.9691, allocations: 66.53 kB / 0.6186 GB, free: 138.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003992/0.9731, allocations: 3.052 MB / 0.6216 GB, free: 137.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9731, allocations: 0 / 0.6216 GB, free: 137.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004806/0.9779, allocations: 1.184 MB / 0.6228 GB, free: 137.4 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.0004269/0.9783, allocations: 191.6 kB / 0.623 GB, free: 137.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00798/0.9863, allocations: 6.501 MB / 0.6293 GB, free: 135 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.9864, allocations: 0 / 0.6293 GB, free: 135 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003258/0.9896, allocations: 2.41 MB / 0.6317 GB, free: 133.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003313/0.993, allocations: 0.4922 MB / 0.6321 GB, free: 132.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/1.008, allocations: 13.56 MB / 0.6454 GB, free: 120.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002871/1.011, allocations: 3.667 MB / 0.649 GB, free: 116.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004614/1.015, allocations: 2.212 MB / 0.6511 GB, free: 114.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009478/1.016, allocations: 295.4 kB / 0.6514 GB, free: 114.1 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/1.016, allocations: 0 / 0.6514 GB, free: 114.1 MB / 430.1 MB Notification: Performance of Templates: time 0.06274/1.079, allocations: 44.62 MB / 0.695 GB, free: 69.49 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)