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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001768/0.001768, allocations: 156.1 kB / 7.633 MB, free: 1.445 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.208/1.208, allocations: 170.7 MB / 178.7 MB, free: 7.035 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.001627/0.001627, allocations: 105.8 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.669e-05, allocations: 4 kB / 262.2 MB, free: 3.051 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2294, allocations: 38.76 MB / 301 MB, free: 39.11 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.3417, allocations: 85.53 MB / 386.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.342, allocations: 79.95 kB / 386.6 MB, free: 9.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4272/0.7692, allocations: 92.46 MB / 479 MB, free: 70.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7693, allocations: 0 / 479 MB, free: 70.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003173/0.7696, allocations: 91.84 kB / 479.1 MB, free: 70.52 MB / 330.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.0148/0.7844, allocations: 4.492 MB / 483.6 MB, free: 65.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.7845, allocations: 12.03 kB / 483.6 MB, free: 65.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02479/0.8093, allocations: 6.733 MB / 490.4 MB, free: 59.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01529/0.8246, allocations: 6.143 MB / 496.5 MB, free: 53.06 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/0.8249, allocations: 144 kB / 496.7 MB, free: 52.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00224/0.8272, allocations: 263.9 kB / 496.9 MB, free: 52.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01109/0.8383, allocations: 6.194 MB / 0.4913 GB, free: 46.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01872/0.857, allocations: 9.433 MB / 0.5005 GB, free: 36.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002853/0.8574, allocations: 71.39 kB / 0.5006 GB, free: 36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001634/0.859, allocations: 28 kB / 0.5006 GB, free: 35.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001434/0.8605, allocations: 1.013 MB / 0.5016 GB, free: 34.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04595/0.9064, allocations: 44.06 MB / 0.5446 GB, free: 5.855 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00437/0.9109, allocations: 3.206 MB / 0.5478 GB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002636/0.9135, allocations: 1.978 MB / 0.5497 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.202/1.116, allocations: 0.6422 MB / 0.5503 GB, free: 79.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.063e-05/1.116, allocations: 51.06 kB / 0.5504 GB, free: 79.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=175): time 5.5e-06/1.116, allocations: 2.062 kB / 0.5504 GB, free: 79.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=210): time 0.04029/1.156, allocations: 18.35 MB / 0.5683 GB, free: 77.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/1.156, allocations: 254.4 kB / 0.5685 GB, free: 76.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004725/1.161, allocations: 3.24 MB / 0.5717 GB, free: 76.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003522/1.161, allocations: 29.88 kB / 0.5717 GB, free: 76.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001734/1.163, allocations: 3.301 MB / 0.575 GB, free: 74.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007469/1.164, allocations: 0.7716 MB / 0.5757 GB, free: 74.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/1.164, allocations: 3.531 kB / 0.5757 GB, free: 74.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002753/1.164, allocations: 0.5692 MB / 0.5763 GB, free: 73.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/1.167, allocations: 2.137 MB / 0.5784 GB, free: 73.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003599/1.17, allocations: 5.787 MB / 0.584 GB, free: 67.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003949/1.174, allocations: 3.487 MB / 0.5874 GB, free: 66.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.443e-05/1.174, allocations: 37.31 kB / 0.5875 GB, free: 66.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.01415/1.188, allocations: 8.762 MB / 0.596 GB, free: 64.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.778e-05/1.188, allocations: 61.84 kB / 0.5961 GB, free: 64.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/1.189, allocations: 133.7 kB / 0.5962 GB, free: 64.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004913/1.194, allocations: 1.962 MB / 0.5981 GB, free: 63.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003889/1.197, allocations: 1.338 MB / 0.5994 GB, free: 63.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/1.214, allocations: 14.13 MB / 0.6132 GB, free: 52.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004955/1.219, allocations: 229.6 kB / 0.6134 GB, free: 52.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/1.22, allocations: 373.3 kB / 0.6138 GB, free: 52.11 MB / 346.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 (721): * Single equations (assignments): 715 * 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 {(5,80.0%) 33,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.0008669/1.221, allocations: 428.1 kB / 0.6142 GB, free: 51.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006335/1.221, allocations: 363.4 kB / 0.6146 GB, free: 51.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006526/1.228, allocations: 3.986 MB / 0.6184 GB, free: 48.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-05/1.228, allocations: 26.12 kB / 0.6185 GB, free: 48.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/1.228, allocations: 8 kB / 0.6185 GB, free: 48.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/1.228, allocations: 19.02 kB / 0.6185 GB, free: 48.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/1.242, allocations: 8.989 MB / 0.6273 GB, free: 40.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/1.242, allocations: 4 kB / 0.6273 GB, free: 40.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/1.243, allocations: 303.1 kB / 0.6276 GB, free: 40.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002976/1.246, allocations: 1.202 MB / 0.6287 GB, free: 39.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/1.246, allocations: 7.609 kB / 0.6287 GB, free: 39.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007894/1.254, allocations: 7.04 MB / 0.6356 GB, free: 33.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.254, allocations: 4 kB / 0.6356 GB, free: 33.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008994/1.263, allocations: 6.977 MB / 0.6424 GB, free: 27.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/1.265, allocations: 0.6888 MB / 0.6431 GB, free: 26.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/1.266, allocations: 7.203 kB / 0.6431 GB, free: 26.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/1.268, allocations: 91.09 kB / 0.6432 GB, free: 26.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004189/1.269, allocations: 126.9 kB / 0.6433 GB, free: 26.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/1.269, allocations: 56.66 kB / 0.6434 GB, free: 26.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005319/1.274, allocations: 2.189 MB / 0.6455 GB, free: 24.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.2e-07/1.274, allocations: 0 / 0.6455 GB, free: 24.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006297/1.28, allocations: 0.9775 MB / 0.6465 GB, free: 23.85 MB / 346.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 (157): * Single equations (assignments): 153 * 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 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004359/1.281, allocations: 147.7 kB / 0.6466 GB, free: 23.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007901/1.289, allocations: 5.767 MB / 0.6522 GB, free: 18.49 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.289, allocations: 4 kB / 0.6522 GB, free: 18.49 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00252/1.291, allocations: 2.006 MB / 0.6542 GB, free: 16.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/1.294, allocations: 459.6 kB / 0.6546 GB, free: 16.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/1.308, allocations: 8.451 MB / 0.6629 GB, free: 7.613 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003255/1.312, allocations: 3.615 MB / 0.6664 GB, free: 3.992 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.004434/1.316, allocations: 1.97 MB / 0.6684 GB, free: 2.031 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007194/1.317, allocations: 251.4 kB / 0.6686 GB, free: 1.785 MB / 346.7 MB Notification: Performance of SimCode: time 9.42e-07/1.317, allocations: 0 / 0.6686 GB, free: 1.785 MB / 346.7 MB Notification: Performance of Templates: time 0.2978/1.615, allocations: 41.2 MB / 0.7088 GB, free: 80.7 MB / 362.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)