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.0007737/0.0007738, allocations: 93.88 kB / 16.65 MB, free: 6.547 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.0007863/0.0007864, allocations: 178.7 kB / 17.56 MB, free: 6.18 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.29/1.29, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0004701/0.00047, allocations: 12 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08281/0.08329, allocations: 47.58 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.2334/0.3167, allocations: 56.49 MB / 384.8 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02584/0.3426, allocations: 11.71 MB / 396.5 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0116/0.3542, allocations: 244.1 kB / 396.8 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.3565, allocations: 473.3 kB / 397.2 MB, free: 8.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006609/0.3631, allocations: 1.956 MB / 399.2 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.3654, allocations: 0.6578 MB / 399.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00928/0.3747, allocations: 6.705 MB / 406.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008396/0.3832, allocations: 5.843 MB / 412.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003448/0.3867, allocations: 1.292 MB / 413.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003412/0.3901, allocations: 2.167 MB / 415.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007058/0.3908, allocations: 160.8 kB / 416 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.3933, allocations: 1.134 MB / 417.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002154/0.3955, allocations: 1.979 MB / 419.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002628/0.3982, allocations: 2.275 MB / 421.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00774/0.4059, allocations: 7.655 MB / 429 MB, free: 4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.406, allocations: 0 / 429 MB, free: 4 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.406, allocations: 0 / 429 MB, free: 4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002207/0.4062, allocations: 0 / 429 MB, free: 4 MB / 334.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.009479/0.4157, allocations: 4.532 MB / 433.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4157, allocations: 8.031 kB / 433.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.426, allocations: 2.282 MB / 435.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006187/0.4322, allocations: 2.956 MB / 438.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.4325, allocations: 272.6 kB / 439.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008837/0.4333, allocations: 351.3 kB / 439.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02102/0.4544, allocations: 11.66 MB / 451.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001268/0.4545, allocations: 43.59 kB / 451.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004581/0.455, allocations: 167.6 kB / 451.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003997/0.459, allocations: 2.341 MB / 453.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02009/0.4791, allocations: 9.993 MB / 463.6 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05812/0.5373, allocations: 44.52 MB / 0.4962 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01347/0.5508, allocations: 5.361 MB / 0.5015 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00399/0.5549, allocations: 2.808 MB / 0.5042 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01336/0.5683, allocations: 8.123 MB / 0.5121 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/0.5684, allocations: 63.81 kB / 0.5122 GB, free: 2.773 MB / 430.1 MB Notification: Performance of pre-optimization done (n=216): time 6.162e-06/0.5684, allocations: 0 / 0.5122 GB, free: 2.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=237): time 0.2196/0.788, allocations: 20.76 MB / 0.5325 GB, free: 165.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.7881, allocations: 186 kB / 0.5327 GB, free: 165.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007022/0.7951, allocations: 4.77 MB / 0.5373 GB, free: 164.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004652/0.7956, allocations: 57.67 kB / 0.5374 GB, free: 164.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001931/0.7976, allocations: 3.391 MB / 0.5407 GB, free: 162 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008969/0.7985, allocations: 0.8929 MB / 0.5416 GB, free: 161.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007147/0.7992, allocations: 0.5865 MB / 0.5421 GB, free: 161.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.617e-05/0.7993, allocations: 308.7 kB / 0.5424 GB, free: 160.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003697/0.803, allocations: 2.701 MB / 0.5451 GB, free: 159.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004635/0.8076, allocations: 6.618 MB / 0.5515 GB, free: 153.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008918/0.8165, allocations: 10.09 MB / 0.5614 GB, free: 145.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/0.8167, allocations: 38.88 kB / 0.5614 GB, free: 145.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01758/0.8343, allocations: 10.17 MB / 0.5713 GB, free: 140.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.265e-05/0.8344, allocations: 64.94 kB / 0.5714 GB, free: 140 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001313/0.8345, allocations: 136 kB / 0.5715 GB, free: 139.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002703/0.8373, allocations: 1.207 MB / 0.5727 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005173/0.8424, allocations: 1.606 MB / 0.5743 GB, free: 137.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007129/0.8496, allocations: 6.805 MB / 0.5809 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005054/0.8547, allocations: 384.4 kB / 0.5813 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008137/0.8555, allocations: 409.1 kB / 0.5817 GB, free: 129.4 MB / 446.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.003313/0.8588, allocations: 2.366 MB / 0.584 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006732/0.8595, allocations: 410.7 kB / 0.5844 GB, free: 126.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007219/0.8667, allocations: 4.787 MB / 0.5891 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/0.8668, allocations: 28 kB / 0.5891 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.8668, allocations: 9.375 kB / 0.5891 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/0.8668, allocations: 11.95 kB / 0.5891 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/0.8823, allocations: 10.89 MB / 0.5997 GB, free: 110.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/0.8823, allocations: 4 kB / 0.5998 GB, free: 110.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/0.8842, allocations: 427.4 kB / 0.6002 GB, free: 110.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00237/0.8866, allocations: 1.023 MB / 0.6012 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002359/0.8868, allocations: 47.98 kB / 0.6012 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007185/0.894, allocations: 6.373 MB / 0.6074 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.8941, allocations: 7.938 kB / 0.6074 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/0.9047, allocations: 8.16 MB / 0.6154 GB, free: 94.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001731/0.9065, allocations: 0.8431 MB / 0.6162 GB, free: 93.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005373/0.907, allocations: 47.94 kB / 0.6163 GB, free: 93.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/0.9088, allocations: 148.4 kB / 0.6164 GB, free: 93.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003447/0.9091, allocations: 145.7 kB / 0.6166 GB, free: 93.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/0.9093, allocations: 69.23 kB / 0.6166 GB, free: 93.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003598/0.9129, allocations: 3.05 MB / 0.6196 GB, free: 90.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9129, allocations: 0 / 0.6196 GB, free: 90.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004922/0.9178, allocations: 1.191 MB / 0.6208 GB, free: 89.04 MB / 446.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.0004629/0.9183, allocations: 191.7 kB / 0.6209 GB, free: 88.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008336/0.9267, allocations: 6.494 MB / 0.6273 GB, free: 82.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.9267, allocations: 0 / 0.6273 GB, free: 82.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003164/0.9299, allocations: 2.412 MB / 0.6296 GB, free: 79.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00613/0.936, allocations: 0.4918 MB / 0.6301 GB, free: 79.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/0.9521, allocations: 13.66 MB / 0.6435 GB, free: 65.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003989/0.9561, allocations: 3.681 MB / 0.6471 GB, free: 61.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005233/0.9614, allocations: 2.215 MB / 0.6492 GB, free: 59.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/0.9625, allocations: 287.4 kB / 0.6495 GB, free: 59.46 MB / 446.1 MB Notification: Performance of SimCode: time 9.51e-07/0.9625, allocations: 0 / 0.6495 GB, free: 59.46 MB / 446.1 MB Notification: Performance of Templates: time 0.0678/1.03, allocations: 43.82 MB / 0.6923 GB, free: 15.66 MB / 446.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)