Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7366/0.7366, allocations: 110.8 MB / 118.3 MB, free: 14.48 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001643/0.001643, allocations: 163.4 kB / 144 MB, free: 4.793 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.581e-05/1.575e-05, allocations: 4 kB / 173.9 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04046/0.0405, allocations: 25.18 MB / 199 MB, free: 13.69 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.1968, allocations: 45.65 MB / 244.7 MB, free: 18.28 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001829/0.197, allocations: 75.03 kB / 244.8 MB, free: 18.28 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5347/0.7317, allocations: 156.5 MB / 401.2 MB, free: 33.94 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.7318, allocations: 0 / 401.2 MB, free: 33.94 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003169/0.7321, allocations: 95.94 kB / 401.3 MB, free: 33.84 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1772 * Number of variables: 1772 Notification: Performance of Generate backend data structure: time 0.02586/0.758, allocations: 7.026 MB / 408.4 MB, free: 26.75 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.758, allocations: 12.02 kB / 408.4 MB, free: 26.73 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1108/0.8688, allocations: 24.82 MB / 433.2 MB, free: 1.871 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1457/1.015, allocations: 7.48 MB / 440.7 MB, free: 35.49 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004305/1.015, allocations: 167.8 kB / 440.8 MB, free: 35.49 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004297/1.019, allocations: 285.4 kB / 441.1 MB, free: 35.49 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0242/1.044, allocations: 13.69 MB / 454.8 MB, free: 35.46 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03448/1.078, allocations: 15.41 MB / 470.2 MB, free: 29.95 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004146/1.079, allocations: 45.38 kB / 470.3 MB, free: 29.95 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00367/1.082, allocations: 17.69 kB / 470.3 MB, free: 29.95 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03515/1.117, allocations: 8.266 MB / 478.5 MB, free: 29.75 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5068/1.624, allocations: 107.5 MB / 0.5723 GB, free: 30.55 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005627/1.63, allocations: 4.925 MB / 0.5771 GB, free: 28.33 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003618/1.634, allocations: 3.231 MB / 0.5802 GB, free: 26.3 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004297/1.634, allocations: 342.8 kB / 0.5806 GB, free: 25.93 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/1.634, allocations: 72.7 kB / 0.5806 GB, free: 25.88 MB / 250.7 MB Notification: Performance of pre-optimization done (n=265): time 8.426e-06/1.634, allocations: 0 / 0.5806 GB, free: 25.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=301): time 0.04991/1.684, allocations: 28.67 MB / 0.6086 GB, free: 15.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002111/1.684, allocations: 477 kB / 0.6091 GB, free: 14.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006089/1.69, allocations: 3.708 MB / 0.6127 GB, free: 11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008332/1.691, allocations: 25.7 kB / 0.6127 GB, free: 10.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002604/1.694, allocations: 3.569 MB / 0.6162 GB, free: 7.457 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001622/1.695, allocations: 1.067 MB / 0.6173 GB, free: 6.375 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005623/1.696, allocations: 0.8438 kB / 0.6173 GB, free: 6.375 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004223/1.696, allocations: 0.6203 MB / 0.6179 GB, free: 5.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004926/1.701, allocations: 3.566 MB / 0.6214 GB, free: 2.184 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1497/1.851, allocations: 7.718 MB / 0.6289 GB, free: 52.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007717/1.859, allocations: 4.539 MB / 0.6333 GB, free: 52.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002747/1.859, allocations: 43.38 kB / 0.6334 GB, free: 52.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.0232/1.882, allocations: 11.18 MB / 0.6443 GB, free: 52.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001544/1.883, allocations: 69.19 kB / 0.6443 GB, free: 52.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003943/1.883, allocations: 267.4 kB / 0.6446 GB, free: 52.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003715/1.887, allocations: 1.417 MB / 0.646 GB, free: 52.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006304/1.893, allocations: 1.759 MB / 0.6477 GB, free: 52.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/1.905, allocations: 7.902 MB / 0.6554 GB, free: 50.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01375/1.918, allocations: 1.57 MB / 0.657 GB, free: 50.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002495/1.921, allocations: 0.609 MB / 0.6576 GB, free: 50.21 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 671 * Number of states: 0 () * Number of discrete variables: 27 (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 (897): * Single equations (assignments): 882 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 34} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002845/1.924, allocations: 483.4 kB / 0.658 GB, free: 49.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001459/1.925, allocations: 397.5 kB / 0.6584 GB, free: 49.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007945/1.933, allocations: 4.644 MB / 0.6629 GB, free: 48.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01753/1.951, allocations: 6.51 MB / 0.6693 GB, free: 47.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.622e-05/1.951, allocations: 11.59 kB / 0.6693 GB, free: 47.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-05/1.951, allocations: 15.39 kB / 0.6693 GB, free: 47.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05883/2.01, allocations: 20.58 MB / 0.6894 GB, free: 38.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.648e-05/2.01, allocations: 8 kB / 0.6894 GB, free: 38.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/2.012, allocations: 436.1 kB / 0.6898 GB, free: 37.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003134/2.015, allocations: 1.187 MB / 0.691 GB, free: 37.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005936/2.016, allocations: 88.67 kB / 0.6911 GB, free: 36.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00785/2.023, allocations: 6.946 MB / 0.6979 GB, free: 30.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/2.023, allocations: 11.94 kB / 0.6979 GB, free: 30.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/2.037, allocations: 11.81 MB / 0.7094 GB, free: 20.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002876/2.04, allocations: 1.127 MB / 0.7105 GB, free: 19.35 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008282/2.041, allocations: 16 kB / 0.7105 GB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008128/2.049, allocations: 1.35 MB / 0.7118 GB, free: 18.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006147/2.05, allocations: 184.9 kB / 0.712 GB, free: 18.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004656/2.05, allocations: 241 kB / 0.7122 GB, free: 17.78 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.003904/2.054, allocations: 2.499 MB / 0.7147 GB, free: 15.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.054, allocations: 0 / 0.7147 GB, free: 15.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.008536/2.063, allocations: 1.201 MB / 0.7159 GB, free: 14.07 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (229): * Single equations (assignments): 216 * Array equations: 12 * 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,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006936/2.063, allocations: 164.3 kB / 0.716 GB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.1415/2.205, allocations: 8.267 MB / 0.7241 GB, free: 53.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/2.205, allocations: 1.062 kB / 0.7241 GB, free: 53.03 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005492/2.21, allocations: 3.225 MB / 0.7272 GB, free: 52.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/2.214, allocations: 435.5 kB / 0.7277 GB, free: 52.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0177/2.231, allocations: 10.69 MB / 0.7381 GB, free: 50.87 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004365/2.236, allocations: 3.989 MB / 0.742 GB, free: 50.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.008717/2.244, allocations: 2.883 MB / 0.7448 GB, free: 49.92 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002566/2.247, allocations: 0.6154 MB / 0.7454 GB, free: 49.87 MB / 266.7 MB Notification: Performance of SimCode: time 1.432e-06/2.247, allocations: 0 / 0.7454 GB, free: 49.87 MB / 266.7 MB Notification: Performance of Templates: time 0.09645/2.344, allocations: 67.7 MB / 0.8115 GB, free: 10.8 MB / 266.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1)