Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [: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.002868/0.002868, allocations: 177.5 kB / 7.451 MB, free: 2.508 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.299/1.299, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001839/0.001839, allocations: 115.8 kB / 217.7 MB, free: 8.145 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.105e-06/8.125e-06, allocations: 4 kB / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.082/0.08202, allocations: 38.77 MB / 300.5 MB, free: 3.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2967/0.3788, allocations: 85.45 MB / 386 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.3791, allocations: 82.33 kB / 386.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.4396/0.8187, allocations: 91.08 MB / 477.1 MB, free: 43.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002476/0.819, allocations: 85.72 kB / 477.2 MB, free: 43.71 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: 1552 * Number of variables: 1552 Notification: Performance of Generate backend data structure: time 0.01213/0.8312, allocations: 4.444 MB / 481.7 MB, free: 41.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.8312, allocations: 10.88 kB / 481.7 MB, free: 41.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02414/0.8554, allocations: 6.355 MB / 488 MB, free: 41.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01546/0.8709, allocations: 6.223 MB / 494.3 MB, free: 40.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/0.8712, allocations: 144.7 kB / 494.4 MB, free: 40.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001962/0.8732, allocations: 262.8 kB / 494.6 MB, free: 40.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01346/0.8866, allocations: 6.412 MB / 0.4893 GB, free: 40.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02024/0.9069, allocations: 9.647 MB / 0.4987 GB, free: 38.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002636/0.9073, allocations: 62.12 kB / 0.4988 GB, free: 38.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001001/0.9083, allocations: 25.31 kB / 0.4988 GB, free: 38.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001185/0.9095, allocations: 1.09 MB / 0.4999 GB, free: 38.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05044/0.9599, allocations: 45.22 MB / 0.544 GB, free: 9.785 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/0.9637, allocations: 3.326 MB / 0.5473 GB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002137/0.9659, allocations: 2.247 MB / 0.5495 GB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009524/0.9754, allocations: 7.021 MB / 0.5563 GB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.9755, allocations: 47.38 kB / 0.5564 GB, free: 3.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=169): time 5.14e-06/0.9755, allocations: 4 kB / 0.5564 GB, free: 3.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=208): time 0.0468/1.022, allocations: 19.46 MB / 0.5754 GB, free: 10.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/1.022, allocations: 256.2 kB / 0.5756 GB, free: 9.836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005997/1.028, allocations: 3.282 MB / 0.5788 GB, free: 6.969 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004907/1.029, allocations: 25.7 kB / 0.5789 GB, free: 6.938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002216/1.031, allocations: 3.005 MB / 0.5818 GB, free: 4.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001083/1.032, allocations: 0.7681 MB / 0.5826 GB, free: 3.543 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/1.033, allocations: 0 / 0.5826 GB, free: 3.543 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000427/1.033, allocations: 0.561 MB / 0.5831 GB, free: 3.047 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003944/1.037, allocations: 2.22 MB / 0.5853 GB, free: 1.051 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01106/1.048, allocations: 6.272 MB / 0.5914 GB, free: 10.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00585/1.054, allocations: 3.621 MB / 0.5949 GB, free: 7.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.17e-05/1.054, allocations: 39.91 kB / 0.595 GB, free: 7.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=807) (initialization): time 0.1764/1.23, allocations: 8.822 MB / 0.6036 GB, free: 119.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/1.23, allocations: 11.64 kB / 0.6036 GB, free: 119.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002408/1.231, allocations: 129.6 kB / 0.6037 GB, free: 119.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005901/1.237, allocations: 1.913 MB / 0.6056 GB, free: 119.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004897/1.242, allocations: 1.33 MB / 0.6069 GB, free: 119.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/1.26, allocations: 13.49 MB / 0.6201 GB, free: 116.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006415/1.266, allocations: 198.4 kB / 0.6203 GB, free: 116.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002914/1.269, allocations: 378.7 kB / 0.6206 GB, free: 116.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 30 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (719): * Single equations (assignments): 713 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(4,87.5%) 10} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.002805/1.272, allocations: 435.2 kB / 0.621 GB, free: 116 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001557/1.274, allocations: 358.9 kB / 0.6214 GB, free: 116 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009543/1.283, allocations: 4.11 MB / 0.6254 GB, free: 115.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-05/1.284, allocations: 22.3 kB / 0.6254 GB, free: 115.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.826e-05/1.284, allocations: 7 kB / 0.6254 GB, free: 115.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/1.284, allocations: 6.797 kB / 0.6254 GB, free: 115.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01893/1.303, allocations: 8.867 MB / 0.6341 GB, free: 115.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/1.303, allocations: 2.953 kB / 0.6341 GB, free: 115.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/1.304, allocations: 285 kB / 0.6344 GB, free: 115.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003549/1.308, allocations: 1.159 MB / 0.6355 GB, free: 115.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002701/1.308, allocations: 3.312 kB / 0.6355 GB, free: 115.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009123/1.317, allocations: 6.793 MB / 0.6421 GB, free: 114.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.317, allocations: 0 / 0.6421 GB, free: 114.2 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01115/1.328, allocations: 7.176 MB / 0.6491 GB, free: 111.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/1.331, allocations: 0.6972 MB / 0.6498 GB, free: 111.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/1.332, allocations: 2.562 kB / 0.6498 GB, free: 111.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002372/1.334, allocations: 62.41 kB / 0.6499 GB, free: 111.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003096/1.335, allocations: 86.95 kB / 0.65 GB, free: 111.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/1.335, allocations: 59.2 kB / 0.65 GB, free: 111.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.004784/1.34, allocations: 2.239 MB / 0.6522 GB, free: 110.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007168/1.347, allocations: 0.9621 MB / 0.6531 GB, free: 110.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 151 * 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 {(5,72.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005393/1.348, allocations: 145.2 kB / 0.6533 GB, free: 110.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009455/1.357, allocations: 5.885 MB / 0.659 GB, free: 108.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/1.357, allocations: 3.562 kB / 0.659 GB, free: 108.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003469/1.361, allocations: 2.057 MB / 0.661 GB, free: 108 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/1.363, allocations: 442.8 kB / 0.6615 GB, free: 107.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01992/1.383, allocations: 8.696 MB / 0.67 GB, free: 103.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006227/1.39, allocations: 3.876 MB / 0.6737 GB, free: 100.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.064e-06/1.39, allocations: 0 / 0.6737 GB, free: 100.9 MB / 378.7 MB Notification: Performance of Templates: time 0.08646/1.476, allocations: 45.89 MB / 0.7185 GB, free: 64.9 MB / 378.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1)