Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") [: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/Modelica 3.1.0+maint.om/package.mo): time 0.8834/0.8834, allocations: 110.8 MB / 118 MB, free: 14.55 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001951/0.001951, allocations: 156 kB / 143.7 MB, free: 4.879 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.753e-06/6.783e-06, allocations: 0 / 173.5 MB, free: 23.04 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05451/0.05453, allocations: 25.17 MB / 198.6 MB, free: 13.93 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.2382, allocations: 58.45 MB / 257.1 MB, free: 13.57 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.2384, allocations: 75.08 kB / 257.2 MB, free: 13.54 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.49/1.729, allocations: 399.6 MB / 0.6414 GB, free: 12.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0007174/1.73, allocations: 283.3 kB / 0.6416 GB, free: 12.66 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5034 * Number of variables: 5034 Notification: Performance of Generate backend data structure: time 0.06389/1.793, allocations: 17.47 MB / 0.6587 GB, free: 7.406 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/1.793, allocations: 8.719 kB / 0.6587 GB, free: 7.406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2186/2.012, allocations: 36.37 MB / 0.6942 GB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04634/2.059, allocations: 15.5 MB / 0.7094 GB, free: 10.19 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00123/2.06, allocations: 493.5 kB / 0.7098 GB, free: 9.715 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01263/2.072, allocations: 0.8445 MB / 0.7106 GB, free: 8.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2326/2.305, allocations: 39.25 MB / 0.749 GB, free: 38.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09268/2.398, allocations: 41.66 MB / 0.7897 GB, free: 30.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007738/2.399, allocations: 71.69 kB / 0.7897 GB, free: 30.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01027/2.409, allocations: 39.16 kB / 0.7898 GB, free: 30.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0801/2.489, allocations: 15.34 MB / 0.8047 GB, free: 29.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.221/3.71, allocations: 241.4 MB / 1.04 GB, free: 19.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0213/3.731, allocations: 10.83 MB / 1.051 GB, free: 17.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02191/3.753, allocations: 9.617 MB / 1.06 GB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2927/4.046, allocations: 52.44 MB / 1.112 GB, free: 49.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/4.046, allocations: 88.75 kB / 1.112 GB, free: 49.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=547): time 1.721e-05/4.046, allocations: 0 / 1.112 GB, free: 49.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=789): time 0.3699/4.416, allocations: 85.6 MB / 1.195 GB, free: 46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/4.416, allocations: 212.6 kB / 1.196 GB, free: 45.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01369/4.43, allocations: 8.048 MB / 1.203 GB, free: 45.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002268/4.432, allocations: 28.64 kB / 1.203 GB, free: 45.09 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR3.n_b[3] has fixed = false and a binding equation jointRRR3.n_b[3] = 1.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR3.n_b[2] has fixed = false and a binding equation jointRRR3.n_b[2] = 0.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR3.n_b[1] has fixed = false and a binding equation jointRRR3.n_b[1] = 0.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR2.n_b[3] has fixed = false and a binding equation jointRRR2.n_b[3] = 1.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR2.n_b[2] has fixed = false and a binding equation jointRRR2.n_b[2] = 0.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR2.n_b[1] has fixed = false and a binding equation jointRRR2.n_b[1] = 0.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR1.n_b[3] has fixed = false and a binding equation jointRRR1.n_b[3] = 1.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR1.n_b[2] has fixed = false and a binding equation jointRRR1.n_b[2] = 0.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR1.n_b[1] has fixed = false and a binding equation jointRRR1.n_b[1] = 0.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. Notification: Performance of collectInitialEqns (initialization): time 0.005634/4.438, allocations: 8.752 MB / 1.212 GB, free: 39.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004649/4.442, allocations: 2.76 MB / 1.215 GB, free: 37.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003576/4.446, allocations: 3.906 kB / 1.215 GB, free: 37.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.001567/4.448, allocations: 1.082 MB / 1.216 GB, free: 37.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01654/4.464, allocations: 9.727 MB / 1.225 GB, free: 37.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02139/4.485, allocations: 19.6 MB / 1.244 GB, free: 21.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02102/4.507, allocations: 12.96 MB / 1.257 GB, free: 17.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003996/4.507, allocations: 102.7 kB / 1.257 GB, free: 17.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=2425) (initialization): time 0.1914/4.698, allocations: 27.65 MB / 1.284 GB, free: 37.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/4.698, allocations: 5.781 kB / 1.284 GB, free: 37.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005643/4.699, allocations: 350.2 kB / 1.284 GB, free: 37.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004798/4.699, allocations: 0.515 MB / 1.285 GB, free: 37.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02447/4.724, allocations: 4.925 MB / 1.29 GB, free: 36.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006577/4.725, allocations: 0.6841 MB / 1.29 GB, free: 36.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02483/4.749, allocations: 1.7 MB / 1.292 GB, free: 36.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006051/4.756, allocations: 1.234 MB / 1.293 GB, free: 36.49 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1595 * Number of states: 0 () * Number of discrete variables: 99 (jointRRR1.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR3.jointUSR.revolute.positiveBranch,body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2379): * Single equations (assignments): 2365 * Array equations: 14 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006426/4.762, allocations: 0.9969 MB / 1.294 GB, free: 35.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002912/4.765, allocations: 0.9127 MB / 1.295 GB, free: 35.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02239/4.787, allocations: 15.32 MB / 1.31 GB, free: 35.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01046/4.798, allocations: 1.783 MB / 1.312 GB, free: 35.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.497e-05/4.798, allocations: 2.688 kB / 1.312 GB, free: 35.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002548/4.798, allocations: 37.97 kB / 1.312 GB, free: 35.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09805/4.896, allocations: 41.52 MB / 1.352 GB, free: 21.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.62e-05/4.896, allocations: 12 kB / 1.352 GB, free: 21.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01201/4.908, allocations: 1.73 MB / 1.354 GB, free: 20.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/4.909, allocations: 40 kB / 1.354 GB, free: 20.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001624/4.91, allocations: 105.9 kB / 1.354 GB, free: 20.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.15e-05/4.91, allocations: 51.44 kB / 1.354 GB, free: 20.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/4.91, allocations: 23.56 kB / 1.354 GB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1802/5.09, allocations: 30.7 MB / 1.384 GB, free: 33.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008795/5.099, allocations: 2.597 MB / 1.387 GB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004312/5.104, allocations: 22.06 kB / 1.387 GB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01533/5.119, allocations: 1.205 MB / 1.388 GB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002613/5.122, allocations: 388.1 kB / 1.388 GB, free: 33.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001408/5.123, allocations: 344.7 kB / 1.389 GB, free: 33.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.01207/5.135, allocations: 5.348 MB / 1.394 GB, free: 33.47 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.02196/5.157, allocations: 3.032 MB / 1.397 GB, free: 33.45 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (751): * Single equations (assignments): 740 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00254/5.16, allocations: 329.8 kB / 1.397 GB, free: 33.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.03679/5.197, allocations: 22.08 MB / 1.419 GB, free: 31.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-05/5.197, allocations: 6.094 kB / 1.419 GB, free: 31.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01555/5.212, allocations: 8.552 MB / 1.427 GB, free: 27.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007197/5.219, allocations: 0.7586 MB / 1.428 GB, free: 27.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07048/5.29, allocations: 29.78 MB / 1.457 GB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02822/5.318, allocations: 11.39 MB / 1.468 GB, free: 3.152 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/5.318, allocations: 336 / 1.468 GB, free: 3.152 MB / 298.7 MB Notification: Performance of Templates: time 0.5354/5.854, allocations: 162.6 MB / 1.627 GB, free: 40.98 MB / 314.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1)