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.0009574/0.0009574, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009685/0.0009686, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0005646/0.0005647, allocations: 15.98 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2207, allocations: 47.59 MB / 326.5 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.04421/0.2649, allocations: 49.64 MB / 376.1 MB, free: 1.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02516/0.2901, allocations: 11.67 MB / 387.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009876/0.3, allocations: 243.4 kB / 388 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008994/0.3091, allocations: 2.465 MB / 390.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02013/0.3292, allocations: 7.173 MB / 397.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.332, allocations: 0.6163 MB / 398.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02109/0.3531, allocations: 14.36 MB / 412.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007332/0.3604, allocations: 5.069 MB / 417.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.3628, allocations: 1.129 MB / 418.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002676/0.3655, allocations: 1.487 MB / 420.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008426/0.3664, allocations: 167.9 kB / 420.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.3687, allocations: 0.9247 MB / 421.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002365/0.3711, allocations: 1.804 MB / 423.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001662/0.3728, allocations: 0.9439 MB / 424.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007052/0.3799, allocations: 6.398 MB / 430.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3799, allocations: 0 / 430.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.3799, allocations: 0 / 430.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002714/0.3802, allocations: 0 / 430.5 MB, free: 11.13 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.01377/0.394, allocations: 4.814 MB / 435.3 MB, free: 6.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.394, allocations: 12.03 kB / 435.4 MB, free: 6.238 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02652/0.4206, allocations: 5.122 MB / 440.5 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007084/0.4277, allocations: 3.081 MB / 443.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.4279, allocations: 262.8 kB / 443.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007312/0.4287, allocations: 351.7 kB / 444.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01988/0.4486, allocations: 11.72 MB / 455.9 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.4487, allocations: 47.59 kB / 455.9 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004593/0.4492, allocations: 163.8 kB / 456.1 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1835/0.6327, allocations: 2.333 MB / 458.4 MB, free: 112.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02067/0.6534, allocations: 9.984 MB / 468.4 MB, free: 108.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04626/0.6997, allocations: 44.43 MB / 0.5008 GB, free: 64.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/0.7115, allocations: 5.412 MB / 0.5061 GB, free: 58.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0111/0.7227, allocations: 8.042 MB / 0.514 GB, free: 50.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.7227, allocations: 63.77 kB / 0.514 GB, free: 50.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=216): time 5.46e-06/0.7228, allocations: 4 kB / 0.514 GB, free: 50.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=237): time 0.04341/0.7662, allocations: 20.7 MB / 0.5342 GB, free: 29.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.7663, allocations: 176.2 kB / 0.5344 GB, free: 29.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004888/0.7712, allocations: 4.877 MB / 0.5392 GB, free: 24.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003563/0.7715, allocations: 61.64 kB / 0.5392 GB, free: 24.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.7731, allocations: 3.425 MB / 0.5426 GB, free: 20.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007114/0.7738, allocations: 0.8893 MB / 0.5434 GB, free: 20.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.7741, allocations: 128 kB / 0.5436 GB, free: 19.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002357/0.7743, allocations: 0.5871 MB / 0.5441 GB, free: 19.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002941/0.7773, allocations: 2.566 MB / 0.5466 GB, free: 16.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004367/0.7816, allocations: 6.452 MB / 0.5529 GB, free: 8.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004336/0.786, allocations: 3.995 MB / 0.5568 GB, free: 4.344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.407e-05/0.7861, allocations: 44 kB / 0.5569 GB, free: 4.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.01409/0.8002, allocations: 9.639 MB / 0.5663 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.61e-05/0.8003, allocations: 64 kB / 0.5664 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/0.8004, allocations: 136 kB / 0.5665 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002249/0.8027, allocations: 0.9613 MB / 0.5674 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005198/0.8079, allocations: 1.579 MB / 0.569 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007656/0.8156, allocations: 6.262 MB / 0.5751 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005602/0.8212, allocations: 383.5 kB / 0.5754 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007204/0.8219, allocations: 399.8 kB / 0.5758 GB, free: 0.7461 MB / 398.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 (816): * Single equations (assignments): 810 * Array equations: 5 * 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.003565/0.8255, allocations: 2.372 MB / 0.5781 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000692/0.8262, allocations: 418.5 kB / 0.5785 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00724/0.8335, allocations: 4.398 MB / 0.5828 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.731e-05/0.8335, allocations: 31.95 kB / 0.5829 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.8335, allocations: 4 kB / 0.5829 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.8336, allocations: 17.55 kB / 0.5829 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01835/0.8519, allocations: 10.54 MB / 0.5932 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/0.852, allocations: 4.656 kB / 0.5932 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/0.854, allocations: 431.3 kB / 0.5936 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00199/0.856, allocations: 0.7694 MB / 0.5944 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/0.8562, allocations: 51.55 kB / 0.5944 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007376/0.8635, allocations: 5.789 MB / 0.6001 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/0.8636, allocations: 11.94 kB / 0.6001 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.198/1.062, allocations: 8.462 MB / 0.6083 GB, free: 141.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003095/1.065, allocations: 0.8331 MB / 0.6091 GB, free: 141.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000936/1.066, allocations: 44.97 kB / 0.6092 GB, free: 141.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002046/1.068, allocations: 140.4 kB / 0.6093 GB, free: 141.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003464/1.068, allocations: 150.6 kB / 0.6095 GB, free: 141.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/1.068, allocations: 66.8 kB / 0.6095 GB, free: 141.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005842/1.074, allocations: 3.136 MB / 0.6126 GB, free: 140.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.01e-07/1.074, allocations: 1.188 kB / 0.6126 GB, free: 140.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006016/1.08, allocations: 1.173 MB / 0.6137 GB, free: 140.6 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 (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.0005282/1.081, allocations: 216.3 kB / 0.6139 GB, free: 140.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00846/1.089, allocations: 6.238 MB / 0.62 GB, free: 138.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.089, allocations: 0 / 0.62 GB, free: 138.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003181/1.092, allocations: 2.323 MB / 0.6223 GB, free: 137.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/1.095, allocations: 478.6 kB / 0.6228 GB, free: 137.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/1.112, allocations: 12.93 MB / 0.6354 GB, free: 130.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003508/1.116, allocations: 3.774 MB / 0.6391 GB, free: 127.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005047/1.121, allocations: 2.222 MB / 0.6412 GB, free: 126.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009344/1.122, allocations: 294.2 kB / 0.6415 GB, free: 126.2 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/1.122, allocations: 0 / 0.6415 GB, free: 126.2 MB / 430.1 MB Notification: Performance of Templates: time 0.06493/1.187, allocations: 42.66 MB / 0.6832 GB, free: 83.67 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: