Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.2.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.2.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/Complex 3.2.1+maint.om/package.mo): time 0.004041/0.004041, allocations: 175.2 kB / 7.451 MB, free: 2.34 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.443/1.443, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001725/0.001725, allocations: 112.9 kB / 217.7 MB, free: 8.223 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.504e-06, allocations: 0 / 261.7 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09976/0.09978, allocations: 38.77 MB / 300.5 MB, free: 3.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3304/0.4302, allocations: 95.2 MB / 395.7 MB, free: 5.625 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.4306, allocations: 85.39 kB / 395.8 MB, free: 5.582 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.008/1.439, allocations: 225.4 MB / 0.6066 GB, free: 22.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.00103/1.44, allocations: 233.8 kB / 0.6068 GB, free: 22.28 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.05042/1.49, allocations: 12.16 MB / 0.6187 GB, free: 18.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/1.49, allocations: 11.16 kB / 0.6187 GB, free: 18.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02366/1.514, allocations: 3.468 MB / 0.6221 GB, free: 17.6 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0378/1.552, allocations: 12.15 MB / 0.634 GB, free: 16.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008916/1.553, allocations: 384.4 kB / 0.6343 GB, free: 16.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00912/1.562, allocations: 0.7004 MB / 0.635 GB, free: 16.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05438/1.616, allocations: 22.01 MB / 0.6565 GB, free: 16.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08362/1.7, allocations: 26.89 MB / 0.6828 GB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008727/1.701, allocations: 98.84 kB / 0.6829 GB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009125/1.71, allocations: 55.94 kB / 0.6829 GB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004432/1.715, allocations: 2.726 MB / 0.6856 GB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4278/2.142, allocations: 119.7 MB / 0.8025 GB, free: 49.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01353/2.156, allocations: 10.29 MB / 0.8125 GB, free: 48.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01223/2.168, allocations: 9.146 MB / 0.8214 GB, free: 47.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07599/2.244, allocations: 32.72 MB / 0.8534 GB, free: 28.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/2.245, allocations: 90.56 kB / 0.8535 GB, free: 28.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=483): time 1.426e-05/2.245, allocations: 0 / 0.8535 GB, free: 28.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=708): time 0.6065/2.851, allocations: 107.7 MB / 0.9587 GB, free: 96.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.008e-05/2.851, allocations: 200.4 kB / 0.9589 GB, free: 96.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01413/2.866, allocations: 6.174 MB / 0.9649 GB, free: 95.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003018/2.869, allocations: 25.7 kB / 0.9649 GB, free: 95.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006736/2.875, allocations: 6.645 MB / 0.9714 GB, free: 91.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005584/2.881, allocations: 2.428 MB / 0.9738 GB, free: 90.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004217/2.885, allocations: 4.109 kB / 0.9738 GB, free: 90.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001602/2.887, allocations: 0.9131 MB / 0.9747 GB, free: 89.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01711/2.904, allocations: 9.962 MB / 0.9844 GB, free: 87.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02324/2.927, allocations: 16.8 MB / 1.001 GB, free: 74.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02642/2.954, allocations: 12.99 MB / 1.014 GB, free: 69.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003657/2.954, allocations: 73.03 kB / 1.014 GB, free: 69.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=1887) (initialization): time 0.0561/3.01, allocations: 26.23 MB / 1.039 GB, free: 53.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/3.01, allocations: 8 kB / 1.039 GB, free: 53.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004444/3.011, allocations: 236 kB / 1.039 GB, free: 53.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003536/3.011, allocations: 369.9 kB / 1.04 GB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02318/3.034, allocations: 3.939 MB / 1.044 GB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005745/3.035, allocations: 482.8 kB / 1.044 GB, free: 49.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01887/3.054, allocations: 0.6923 MB / 1.045 GB, free: 48.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006012/3.06, allocations: 0.7676 MB / 1.046 GB, free: 47.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1086 * Number of states: 0 () * Number of discrete variables: 99 (body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[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.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[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.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[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.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR3.jointUSR.revolute.positiveBranch,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 (1857): * Single equations (assignments): 1851 * Array equations: 6 * 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.2353/3.295, allocations: 0.7589 MB / 1.046 GB, free: 91.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004028/3.299, allocations: 0.7452 MB / 1.047 GB, free: 91.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03527/3.335, allocations: 19.17 MB / 1.066 GB, free: 91.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001402/3.335, allocations: 66.31 kB / 1.066 GB, free: 91.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.653e-05/3.335, allocations: 2.812 kB / 1.066 GB, free: 91.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000163/3.335, allocations: 37.72 kB / 1.066 GB, free: 91.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08415/3.419, allocations: 39.21 MB / 1.104 GB, free: 84.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-05/3.419, allocations: 2.75 kB / 1.104 GB, free: 84.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01594/3.435, allocations: 1.766 MB / 1.106 GB, free: 83.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001259/3.435, allocations: 23.53 kB / 1.106 GB, free: 83.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002566/3.438, allocations: 17.84 kB / 1.106 GB, free: 83.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.086e-05/3.438, allocations: 23.06 kB / 1.106 GB, free: 83.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/3.438, allocations: 5.406 kB / 1.106 GB, free: 83.98 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05436/3.492, allocations: 33.07 MB / 1.138 GB, free: 69.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008589/3.501, allocations: 2.634 MB / 1.141 GB, free: 68.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004609/3.506, allocations: 4 kB / 1.141 GB, free: 68.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01064/3.516, allocations: 416.1 kB / 1.141 GB, free: 68.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003036/3.52, allocations: 319.2 kB / 1.141 GB, free: 68.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001853/3.521, allocations: 171.5 kB / 1.142 GB, free: 68.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.009991/3.531, allocations: 4.138 MB / 1.146 GB, free: 66.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.02141/3.553, allocations: 2.745 MB / 1.148 GB, free: 66.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (692): * Single equations (assignments): 689 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003623/3.556, allocations: 300.5 kB / 1.149 GB, free: 66.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.03546/3.592, allocations: 22.65 MB / 1.171 GB, free: 48.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/3.592, allocations: 0 / 1.171 GB, free: 48.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2306/3.823, allocations: 11.45 MB / 1.182 GB, free: 90.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007342/3.83, allocations: 0.6138 MB / 1.183 GB, free: 90.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08365/3.914, allocations: 28.78 MB / 1.211 GB, free: 87.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02832/3.942, allocations: 8.972 MB / 1.219 GB, free: 86.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.693e-06/3.942, allocations: 0 / 1.219 GB, free: 86.29 MB / 410.7 MB Notification: Performance of Templates: time 0.4919/4.434, allocations: 153.6 MB / 1.369 GB, free: 86.31 MB / 410.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1)