Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.DoublePendulumInitTip,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_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.2+maint.om/package.mo): time 0.001745/0.001745, allocations: 190 kB / 8.132 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.138/1.138, 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.001749/0.001749, allocations: 116 kB / 247.7 MB, free: 6.398 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.062e-06/6.092e-06, allocations: 0 / 297.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06761/0.06763, allocations: 44.48 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/0.2698, allocations: 91.21 MB / 433.3 MB, free: 4.461 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.27, allocations: 83.45 kB / 433.4 MB, free: 4.422 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.2514/0.5214, allocations: 91.14 MB / 0.5122 GB, free: 160 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003262/0.5218, allocations: 88 kB / 0.5123 GB, free: 72 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1553 * Number of variables: 1553 Notification: Performance of Generate backend data structure: time 0.1445/0.6663, allocations: 4.439 MB / 0.5166 GB, free: 51.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.6664, allocations: 11.84 kB / 0.5166 GB, free: 51.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02605/0.6924, allocations: 6.356 MB / 0.5228 GB, free: 51.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.7063, allocations: 6.234 MB / 0.5289 GB, free: 50.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.7064, allocations: 140.8 kB / 0.5291 GB, free: 50.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/0.7076, allocations: 262.7 kB / 0.5293 GB, free: 50.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009222/0.7169, allocations: 6.418 MB / 0.5356 GB, free: 50.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01485/0.7317, allocations: 9.644 MB / 0.545 GB, free: 48.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001757/0.732, allocations: 56.28 kB / 0.545 GB, free: 48.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006211/0.7326, allocations: 34.5 kB / 0.5451 GB, free: 48.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001082/0.7337, allocations: 1.09 MB / 0.5461 GB, free: 48.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04145/0.7751, allocations: 45.25 MB / 0.5903 GB, free: 37.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003992/0.7792, allocations: 3.333 MB / 0.5936 GB, free: 35.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002619/0.7818, allocations: 2.247 MB / 0.5958 GB, free: 34.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.7924, allocations: 7.009 MB / 0.6026 GB, free: 30.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.7925, allocations: 56.03 kB / 0.6027 GB, free: 30.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=169): time 5.069e-06/0.7925, allocations: 0 / 0.6027 GB, free: 30.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=208): time 0.04169/0.8342, allocations: 19.43 MB / 0.6217 GB, free: 22.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.8343, allocations: 260.9 kB / 0.6219 GB, free: 22.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004994/0.8393, allocations: 3.292 MB / 0.6251 GB, free: 21.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004375/0.8398, allocations: 26.2 kB / 0.6251 GB, free: 21.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/0.8413, allocations: 2.999 MB / 0.6281 GB, free: 19.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007664/0.8421, allocations: 0.7722 MB / 0.6288 GB, free: 18.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.8424, allocations: 0 / 0.6288 GB, free: 18.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003789/0.8428, allocations: 0.5629 MB / 0.6294 GB, free: 18.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002854/0.8457, allocations: 2.225 MB / 0.6316 GB, free: 17.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004114/0.8498, allocations: 5.881 MB / 0.6373 GB, free: 11.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004625/0.8544, allocations: 3.614 MB / 0.6408 GB, free: 10.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.359e-05/0.8545, allocations: 42.84 kB / 0.6409 GB, free: 10.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=807) (initialization): time 0.01779/0.8723, allocations: 8.813 MB / 0.6495 GB, free: 2.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.8724, allocations: 4 kB / 0.6495 GB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001332/0.8725, allocations: 132.9 kB / 0.6496 GB, free: 2.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006458/0.879, allocations: 1.93 MB / 0.6515 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00494/0.8839, allocations: 1.35 MB / 0.6528 GB, free: 0 / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01922/0.9032, allocations: 13.49 MB / 0.666 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004904/0.9081, allocations: 196.6 kB / 0.6662 GB, free: 3.621 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009897/0.9091, allocations: 378.3 kB / 0.6665 GB, free: 3.262 MB / 426.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.0009809/0.9101, allocations: 432 kB / 0.6669 GB, free: 2.836 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006259/0.9108, allocations: 355.4 kB / 0.6673 GB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1142/1.025, allocations: 4.162 MB / 0.6713 GB, free: 134.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.34e-05/1.025, allocations: 18.03 kB / 0.6714 GB, free: 134.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.798e-05/1.025, allocations: 7.438 kB / 0.6714 GB, free: 134.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.241e-05/1.025, allocations: 13.73 kB / 0.6714 GB, free: 134.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/1.041, allocations: 8.857 MB / 0.68 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/1.041, allocations: 7.969 kB / 0.68 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/1.042, allocations: 279.2 kB / 0.6803 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003557/1.046, allocations: 1.162 MB / 0.6814 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00024/1.046, allocations: 4.406 kB / 0.6814 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008938/1.055, allocations: 6.795 MB / 0.6881 GB, free: 132.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.055, allocations: 0 / 0.6881 GB, free: 132.5 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009844/1.065, allocations: 7.178 MB / 0.6951 GB, free: 131.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/1.067, allocations: 0.6949 MB / 0.6958 GB, free: 131.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006019/1.067, allocations: 3.906 kB / 0.6958 GB, free: 131.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/1.069, allocations: 58.59 kB / 0.6958 GB, free: 131.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/1.069, allocations: 93 kB / 0.6959 GB, free: 131.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/1.069, allocations: 55.03 kB / 0.696 GB, free: 131.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002904/1.072, allocations: 2.241 MB / 0.6982 GB, free: 131.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005072/1.077, allocations: 0.9572 MB / 0.6991 GB, free: 131.7 MB / 426.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.0004114/1.078, allocations: 153.2 kB / 0.6992 GB, free: 131.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008444/1.086, allocations: 5.874 MB / 0.705 GB, free: 131.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.086, allocations: 2.719 kB / 0.705 GB, free: 131.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003396/1.09, allocations: 2.06 MB / 0.707 GB, free: 131.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/1.092, allocations: 455.5 kB / 0.7074 GB, free: 131.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/1.109, allocations: 8.691 MB / 0.7159 GB, free: 129.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004895/1.114, allocations: 3.886 MB / 0.7197 GB, free: 127.8 MB / 426.7 MB Notification: Performance of SimCode: time 9.01e-07/1.114, allocations: 0 / 0.7197 GB, free: 127.8 MB / 426.7 MB Notification: Performance of Templates: time 0.07693/1.191, allocations: 45.88 MB / 0.7645 GB, free: 111.8 MB / 426.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1)