Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0007802/0.0007802, allocations: 92 kB / 15.06 MB, free: 1.098 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.000815/0.000815, allocations: 172.7 kB / 15.95 MB, free: 208 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.348/1.348, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.0004763/0.0004763, allocations: 8 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.231, allocations: 47.59 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.05094/0.2819, allocations: 52.55 MB / 379 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02419/0.3062, allocations: 11.18 MB / 390.2 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009469/0.3157, allocations: 243.4 kB / 390.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008259/0.324, allocations: 2.725 MB / 393.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02253/0.3466, allocations: 8.113 MB / 401.3 MB, free: 8.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003602/0.3502, allocations: 0.6319 MB / 401.9 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02596/0.3762, allocations: 19.43 MB / 421.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008457/0.3847, allocations: 5.107 MB / 426.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002914/0.3876, allocations: 1.401 MB / 427.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003553/0.3912, allocations: 2.15 MB / 430 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009652/0.3922, allocations: 164 kB / 430.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002475/0.3947, allocations: 0.9557 MB / 431.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002329/0.397, allocations: 1.928 MB / 433 MB, free: 8.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.3983, allocations: 0.944 MB / 434 MB, free: 7.633 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007067/0.4054, allocations: 6.332 MB / 440.3 MB, free: 1.285 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4054, allocations: 3.938 kB / 440.3 MB, free: 1.281 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4054, allocations: 4 kB / 440.3 MB, free: 1.277 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000232/0.4056, allocations: 0 / 440.3 MB, free: 1.277 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.008971/0.4146, allocations: 4.576 MB / 444.9 MB, free: 12.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.4147, allocations: 8.031 kB / 444.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008897/0.4236, allocations: 2.29 MB / 447.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006043/0.4297, allocations: 2.901 MB / 450.1 MB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.4299, allocations: 270.7 kB / 450.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007905/0.4307, allocations: 347.7 kB / 450.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1896/0.6204, allocations: 11.63 MB / 462.3 MB, free: 111.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/0.6205, allocations: 51.75 kB / 462.4 MB, free: 111.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000435/0.621, allocations: 166 kB / 462.5 MB, free: 111.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003534/0.6245, allocations: 2.341 MB / 464.9 MB, free: 110.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01653/0.641, allocations: 9.932 MB / 474.8 MB, free: 105.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07001/0.7111, allocations: 44.5 MB / 0.5072 GB, free: 59.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02241/0.7336, allocations: 5.347 MB / 0.5124 GB, free: 54.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005867/0.7395, allocations: 2.802 MB / 0.5151 GB, free: 51.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01465/0.7542, allocations: 8.121 MB / 0.523 GB, free: 43.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.7543, allocations: 63.77 kB / 0.5231 GB, free: 43.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=216): time 5.62e-06/0.7543, allocations: 7.922 kB / 0.5231 GB, free: 43.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=237): time 0.04808/0.8024, allocations: 20.76 MB / 0.5434 GB, free: 22.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.8025, allocations: 176.2 kB / 0.5435 GB, free: 22.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005986/0.8085, allocations: 4.742 MB / 0.5482 GB, free: 17.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004451/0.8089, allocations: 57.7 kB / 0.5482 GB, free: 17.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001547/0.8105, allocations: 3.395 MB / 0.5515 GB, free: 14.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007921/0.8113, allocations: 0.8907 MB / 0.5524 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/0.8116, allocations: 139.9 kB / 0.5525 GB, free: 13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002572/0.8119, allocations: 0.5953 MB / 0.5531 GB, free: 12.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003156/0.815, allocations: 2.68 MB / 0.5557 GB, free: 9.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004676/0.8197, allocations: 6.587 MB / 0.5622 GB, free: 1.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005883/0.8256, allocations: 4.119 MB / 0.5662 GB, free: 13.08 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/0.8258, allocations: 40 kB / 0.5662 GB, free: 13.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01928/0.8451, allocations: 10.12 MB / 0.5761 GB, free: 2.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.8452, allocations: 60 kB / 0.5762 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000181/0.8454, allocations: 144.1 kB / 0.5763 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002939/0.8484, allocations: 1.23 MB / 0.5775 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005578/0.854, allocations: 1.61 MB / 0.5791 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009588/0.8636, allocations: 6.753 MB / 0.5857 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004931/0.8686, allocations: 391.1 kB / 0.5861 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/0.8697, allocations: 404 kB / 0.5864 GB, free: 8.195 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 (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 {(3,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00471/0.8744, allocations: 2.383 MB / 0.5888 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008953/0.8753, allocations: 410.7 kB / 0.5892 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009161/0.8845, allocations: 4.76 MB / 0.5938 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.108e-05/0.8846, allocations: 27.94 kB / 0.5938 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.816e-05/0.8846, allocations: 4 kB / 0.5938 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.543e-05/0.8847, allocations: 11.97 kB / 0.5939 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02142/0.9061, allocations: 10.91 MB / 0.6045 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/0.9061, allocations: 8 kB / 0.6045 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00218/0.9083, allocations: 424 kB / 0.6049 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00274/0.9111, allocations: 1.027 MB / 0.6059 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004553/0.9116, allocations: 51.98 kB / 0.606 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2114/1.123, allocations: 6.357 MB / 0.6122 GB, free: 141.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.123, allocations: 6.625 kB / 0.6122 GB, free: 141.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/1.134, allocations: 8.135 MB / 0.6201 GB, free: 139.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/1.136, allocations: 0.8419 MB / 0.621 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005712/1.137, allocations: 47.12 kB / 0.621 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/1.138, allocations: 157.5 kB / 0.6212 GB, free: 138.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003196/1.139, allocations: 141.2 kB / 0.6213 GB, free: 138.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/1.139, allocations: 72.27 kB / 0.6214 GB, free: 138.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003887/1.143, allocations: 3.024 MB / 0.6243 GB, free: 137.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/1.143, allocations: 0 / 0.6243 GB, free: 137.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004814/1.148, allocations: 1.185 MB / 0.6255 GB, free: 137.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.000438/1.148, allocations: 194.6 kB / 0.6256 GB, free: 137.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008722/1.157, allocations: 6.494 MB / 0.632 GB, free: 135.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/1.157, allocations: 3.906 kB / 0.632 GB, free: 135.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003454/1.16, allocations: 2.401 MB / 0.6343 GB, free: 134.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003264/1.164, allocations: 0.4919 MB / 0.6348 GB, free: 134.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/1.179, allocations: 13.11 MB / 0.6476 GB, free: 122.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003194/1.182, allocations: 3.683 MB / 0.6512 GB, free: 119.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005023/1.187, allocations: 2.208 MB / 0.6534 GB, free: 116.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009887/1.188, allocations: 295.4 kB / 0.6537 GB, free: 116.6 MB / 430.1 MB Notification: Performance of SimCode: time 2.164e-06/1.188, allocations: 0 / 0.6537 GB, free: 116.6 MB / 430.1 MB Notification: Performance of Templates: time 0.06404/1.252, allocations: 42.91 MB / 0.6956 GB, free: 73.68 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1)