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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001746/0.001746, allocations: 191.6 kB / 8.135 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.176/1.176, allocations: 194.2 MB / 202.8 MB, free: 8.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001801/0.001801, allocations: 121.3 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.364e-06/7.404e-06, allocations: 0 / 297.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07232/0.07235, allocations: 44.5 MB / 342.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2039/0.2763, allocations: 93.9 MB / 436 MB, free: 1.477 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.2766, allocations: 78.33 kB / 436 MB, free: 1.438 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.3971/0.6736, allocations: 93.88 MB / 0.5175 GB, free: 72.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001807/0.6738, allocations: 93.42 kB / 0.5176 GB, free: 72.85 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1734 * Number of variables: 1734 Notification: Performance of Generate backend data structure: time 0.01105/0.6849, allocations: 4.636 MB / 0.5221 GB, free: 71.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.685, allocations: 9.906 kB / 0.5221 GB, free: 71.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01774/0.7027, allocations: 4.147 MB / 0.5262 GB, free: 70.69 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01268/0.7154, allocations: 5.095 MB / 0.5312 GB, free: 70.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.7157, allocations: 153.8 kB / 0.5313 GB, free: 70.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001564/0.7172, allocations: 274.8 kB / 0.5316 GB, free: 70.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01134/0.7286, allocations: 7.166 MB / 0.5386 GB, free: 70.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01713/0.7457, allocations: 10.77 MB / 0.5491 GB, free: 67.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00023/0.746, allocations: 59.19 kB / 0.5491 GB, free: 67.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001339/0.7474, allocations: 32.81 kB / 0.5492 GB, free: 67.26 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001492/0.7489, allocations: 1.266 MB / 0.5504 GB, free: 67.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05165/0.8005, allocations: 51.28 MB / 0.6005 GB, free: 32.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005011/0.8056, allocations: 4.213 MB / 0.6046 GB, free: 30.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003399/0.809, allocations: 2.575 MB / 0.6071 GB, free: 29.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01095/0.82, allocations: 7.274 MB / 0.6142 GB, free: 25.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.8201, allocations: 59.53 kB / 0.6143 GB, free: 25.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=192): time 4.859e-06/0.8201, allocations: 0 / 0.6143 GB, free: 25.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=213): time 0.0322/0.8523, allocations: 15.37 MB / 0.6293 GB, free: 19.13 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.8524, allocations: 176.8 kB / 0.6294 GB, free: 18.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005596/0.858, allocations: 3.448 MB / 0.6328 GB, free: 16.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003978/0.8584, allocations: 25.7 kB / 0.6328 GB, free: 16.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001619/0.86, allocations: 3.303 MB / 0.6361 GB, free: 13.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007329/0.8608, allocations: 0.7903 MB / 0.6368 GB, free: 12.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004865/0.8613, allocations: 3.938 kB / 0.6368 GB, free: 12.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003709/0.8616, allocations: 0.5901 MB / 0.6374 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003136/0.8648, allocations: 2.434 MB / 0.6398 GB, free: 10.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00421/0.869, allocations: 6.438 MB / 0.6461 GB, free: 2.102 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005741/0.8748, allocations: 3.982 MB / 0.65 GB, free: 14.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-05/0.8748, allocations: 44 kB / 0.65 GB, free: 14.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.01663/0.8915, allocations: 8.646 MB / 0.6585 GB, free: 7.141 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.8915, allocations: 11.8 kB / 0.6585 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001891/0.8917, allocations: 144 kB / 0.6586 GB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002405/0.8942, allocations: 0.883 MB / 0.6595 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006296/0.9005, allocations: 1.605 MB / 0.661 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007963/0.9085, allocations: 5.318 MB / 0.6662 GB, free: 108 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005805/0.9143, allocations: 255.9 kB / 0.6665 GB, free: 0 / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003412/0.9178, allocations: 0.5887 MB / 0.667 GB, free: 0 / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 39 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (843): * Single equations (assignments): 839 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.1075/1.025, allocations: 470.6 kB / 0.6675 GB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007062/1.026, allocations: 362.2 kB / 0.6678 GB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006225/1.032, allocations: 3.888 MB / 0.6716 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.363e-05/1.032, allocations: 24.47 kB / 0.6717 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/1.032, allocations: 3.844 kB / 0.6717 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/1.032, allocations: 13.31 kB / 0.6717 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/1.046, allocations: 8.474 MB / 0.68 GB, free: 115.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.046, allocations: 3.812 kB / 0.68 GB, free: 115.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/1.049, allocations: 369.2 kB / 0.6803 GB, free: 115.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001821/1.05, allocations: 0.6658 MB / 0.681 GB, free: 115.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002231/1.051, allocations: 6.984 kB / 0.681 GB, free: 115.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005732/1.056, allocations: 4.82 MB / 0.6857 GB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/1.056, allocations: 0 / 0.6857 GB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00884/1.065, allocations: 7.046 MB / 0.6926 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/1.067, allocations: 0.7215 MB / 0.6933 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006872/1.068, allocations: 2.5 kB / 0.6933 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/1.069, allocations: 69.09 kB / 0.6933 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002538/1.07, allocations: 92.48 kB / 0.6934 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/1.07, allocations: 56.19 kB / 0.6935 GB, free: 113.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.003152/1.073, allocations: 2.318 MB / 0.6957 GB, free: 113.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005436/1.079, allocations: 0.9728 MB / 0.6967 GB, free: 113.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (174): * Single equations (assignments): 170 * 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.0004491/1.079, allocations: 149.2 kB / 0.6968 GB, free: 113.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007916/1.087, allocations: 5.896 MB / 0.7026 GB, free: 113.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.087, allocations: 0 / 0.7026 GB, free: 113.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002988/1.09, allocations: 2.058 MB / 0.7046 GB, free: 113.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/1.092, allocations: 328.8 kB / 0.7049 GB, free: 113.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/1.108, allocations: 8.978 MB / 0.7137 GB, free: 110.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005115/1.113, allocations: 4.059 MB / 0.7176 GB, free: 108.8 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/1.113, allocations: 3.609 kB / 0.7176 GB, free: 108.8 MB / 410.7 MB Notification: Performance of Templates: time 0.07899/1.192, allocations: 41.81 MB / 0.7585 GB, free: 97.49 MB / 410.7 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)