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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 110.3 kB / 16.92 MB, free: 5.785 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.001121/0.001121, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.307/1.307, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.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.001374/0.001374, allocations: 56.39 kB / 280 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09507/0.09646, allocations: 46.63 MB / 326.6 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01866/0.1152, allocations: 12.49 MB / 339.1 MB, free: 7.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.128, allocations: 4.202 MB / 343.3 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003488/0.1316, allocations: 75.81 kB / 343.4 MB, free: 3.629 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01028/0.1419, allocations: 3.228 MB / 346.6 MB, free: 400 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.152, allocations: 2.078 MB / 348.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003478/0.1555, allocations: 0.8305 MB / 349.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009821/0.1654, allocations: 4.545 MB / 354.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00871/0.1741, allocations: 4.186 MB / 358.3 MB, free: 4.668 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004602/0.1788, allocations: 1.76 MB / 360 MB, free: 2.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006357/0.1852, allocations: 2.348 MB / 362.4 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001835/0.1871, allocations: 388 kB / 362.7 MB, free: 172 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004277/0.1914, allocations: 1.276 MB / 364 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002826/0.1943, allocations: 2.217 MB / 366.2 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004441/0.1987, allocations: 2.551 MB / 368.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.209, allocations: 7.967 MB / 376.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.209, allocations: 4 kB / 376.8 MB, free: 2.105 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.209, allocations: 0 / 376.8 MB, free: 2.105 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003178/0.2094, allocations: 0 / 376.8 MB, free: 2.105 MB / 318.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.1574/0.3667, allocations: 5.514 MB / 382.3 MB, free: 49.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3668, allocations: 9.656 kB / 382.3 MB, free: 49.63 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.3768, allocations: 2.233 MB / 384.5 MB, free: 49.22 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005629/0.3825, allocations: 2.956 MB / 387.5 MB, free: 47.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/0.3827, allocations: 263.9 kB / 387.7 MB, free: 47.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00063/0.3833, allocations: 350.8 kB / 388.1 MB, free: 47.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01533/0.3987, allocations: 11.66 MB / 399.7 MB, free: 39.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.043e-05/0.3988, allocations: 43.59 kB / 399.8 MB, free: 39.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003885/0.3992, allocations: 163.8 kB / 399.9 MB, free: 39.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002941/0.4021, allocations: 2.342 MB / 402.3 MB, free: 37 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/0.4169, allocations: 9.975 MB / 412.2 MB, free: 27.01 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04804/0.465, allocations: 44.48 MB / 456.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/0.4782, allocations: 5.342 MB / 462.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003716/0.482, allocations: 2.806 MB / 464.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01298/0.495, allocations: 8.133 MB / 473 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.681e-05/0.4951, allocations: 55.81 kB / 473.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=216): time 6.432e-06/0.4951, allocations: 0 / 473.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=237): time 0.05758/0.5527, allocations: 20.78 MB / 493.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.5528, allocations: 176.2 kB / 494 MB, free: 7.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006812/0.5597, allocations: 4.769 MB / 498.8 MB, free: 2.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005981/0.5603, allocations: 61.69 kB / 498.8 MB, free: 2.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002763/0.5631, allocations: 3.397 MB / 0.4905 GB, free: 15.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001378/0.5645, allocations: 0.8868 MB / 0.4913 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001874/0.5663, allocations: 1.384 MB / 0.4927 GB, free: 13.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5665, allocations: 301.1 kB / 0.493 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004208/0.5707, allocations: 2.699 MB / 0.4956 GB, free: 10.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007596/0.5783, allocations: 6.618 MB / 0.5021 GB, free: 1.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01297/0.5913, allocations: 10.08 MB / 0.5119 GB, free: 5.465 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/0.5915, allocations: 43.94 kB / 0.512 GB, free: 5.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.02015/0.6117, allocations: 10.17 MB / 0.5219 GB, free: 11.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.967e-05/0.6118, allocations: 64.09 kB / 0.522 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000172/0.612, allocations: 140.8 kB / 0.5221 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003138/0.6151, allocations: 1.21 MB / 0.5233 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005664/0.6208, allocations: 1.602 MB / 0.5248 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.6313, allocations: 7.286 MB / 0.5319 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007879/0.6392, allocations: 383.5 kB / 0.5323 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001575/0.6408, allocations: 408 kB / 0.5327 GB, free: 32 kB / 430.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.1594/0.8002, allocations: 2.372 MB / 0.535 GB, free: 141.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008361/0.801, allocations: 418.2 kB / 0.5354 GB, free: 141.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008756/0.8098, allocations: 4.769 MB / 0.5401 GB, free: 140.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-05/0.8099, allocations: 27.75 kB / 0.5401 GB, free: 140.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.741e-05/0.8099, allocations: 6.516 kB / 0.5401 GB, free: 140.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.531e-05/0.81, allocations: 11.25 kB / 0.5401 GB, free: 140.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/0.8281, allocations: 10.9 MB / 0.5508 GB, free: 136.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/0.8282, allocations: 7.906 kB / 0.5508 GB, free: 136.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/0.8301, allocations: 428.4 kB / 0.5512 GB, free: 136.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002382/0.8325, allocations: 1.028 MB / 0.5522 GB, free: 136 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/0.8327, allocations: 43.56 kB / 0.5522 GB, free: 136 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007412/0.8401, allocations: 6.833 MB / 0.5589 GB, free: 132.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.8401, allocations: 7.844 kB / 0.5589 GB, free: 132.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009676/0.8498, allocations: 8.156 MB / 0.5669 GB, free: 127.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/0.8516, allocations: 0.8343 MB / 0.5677 GB, free: 127.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005096/0.8521, allocations: 49.23 kB / 0.5677 GB, free: 127 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/0.8539, allocations: 147.2 kB / 0.5679 GB, free: 126.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/0.8542, allocations: 147.4 kB / 0.568 GB, free: 126.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/0.8544, allocations: 68 kB / 0.5681 GB, free: 126.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003585/0.858, allocations: 3.054 MB / 0.5711 GB, free: 123.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.858, allocations: 3.969 kB / 0.5711 GB, free: 123.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004675/0.8627, allocations: 1.182 MB / 0.5722 GB, free: 122.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.0004063/0.8631, allocations: 194.1 kB / 0.5724 GB, free: 122.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01074/0.8738, allocations: 8.321 MB / 0.5805 GB, free: 114 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.8739, allocations: 0 / 0.5805 GB, free: 114 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003206/0.8771, allocations: 2.407 MB / 0.5829 GB, free: 111.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/0.8801, allocations: 0.5171 MB / 0.5834 GB, free: 111.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/0.8948, allocations: 11.36 MB / 0.5945 GB, free: 99.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003221/0.898, allocations: 3.673 MB / 0.5981 GB, free: 95.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004742/0.9028, allocations: 2.215 MB / 0.6002 GB, free: 93.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008285/0.9036, allocations: 291.4 kB / 0.6005 GB, free: 93.47 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.9036, allocations: 4 kB / 0.6005 GB, free: 93.47 MB / 430.1 MB Notification: Performance of Templates: time 0.06469/0.9683, allocations: 46.31 MB / 0.6457 GB, free: 47.19 MB / 430.1 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)