Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007302/0.007302, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.199/1.199, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.00158/0.00158, allocations: 111.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003435, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2317, allocations: 38.77 MB / 312.9 MB, free: 38.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.3339, allocations: 79.08 MB / 392 MB, free: 11.42 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.3343, allocations: 87.95 kB / 392.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.348/0.6822, allocations: 56.73 MB / 448.8 MB, free: 74.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6823, allocations: 4 kB / 448.8 MB, free: 74.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.419e-05/0.6824, allocations: 44 kB / 448.8 MB, free: 74.49 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 931 * Number of variables: 931 Notification: Performance of Generate backend data structure: time 0.005136/0.6875, allocations: 2.644 MB / 451.5 MB, free: 71.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.6876, allocations: 15.97 kB / 451.5 MB, free: 71.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007068/0.6947, allocations: 1.962 MB / 453.5 MB, free: 69.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007618/0.7023, allocations: 3.282 MB / 456.7 MB, free: 66.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.7024, allocations: 180.9 kB / 456.9 MB, free: 66.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004125/0.7029, allocations: 236.2 kB / 457.2 MB, free: 66.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009001/0.7119, allocations: 6.797 MB / 463.9 MB, free: 58.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.068e-05/0.712, allocations: 43.62 kB / 464 MB, free: 58.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/0.7123, allocations: 126 kB / 464.1 MB, free: 58.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007625/0.7131, allocations: 0.7146 MB / 464.8 MB, free: 57.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008645/0.7217, allocations: 5.837 MB / 470.7 MB, free: 51.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03032/0.7521, allocations: 33.3 MB / 0.4921 GB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004079/0.7562, allocations: 2.287 MB / 0.4944 GB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.238e-05/0.7563, allocations: 23.97 kB / 0.4944 GB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.7564, allocations: 38.56 kB / 0.4944 GB, free: 15.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=98): time 4.138e-06/0.7564, allocations: 3.938 kB / 0.4944 GB, free: 15.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.01921/0.7756, allocations: 8.728 MB / 0.503 GB, free: 6.086 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.7757, allocations: 140.5 kB / 0.5031 GB, free: 5.918 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003457/0.7792, allocations: 2.529 MB / 0.5056 GB, free: 3.375 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.7793, allocations: 45.7 kB / 0.5056 GB, free: 3.324 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009162/0.7803, allocations: 2.052 MB / 0.5076 GB, free: 1.242 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003656/0.7806, allocations: 442.6 kB / 0.508 GB, free: 0.8047 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.7808, allocations: 84 kB / 0.5081 GB, free: 0.7227 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002225/0.781, allocations: 495.5 kB / 0.5086 GB, free: 236 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/0.7833, allocations: 1.414 MB / 0.51 GB, free: 14.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004303/0.7876, allocations: 4.194 MB / 0.5141 GB, free: 9.199 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003765/0.7914, allocations: 2.398 MB / 0.5164 GB, free: 6.801 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.525e-05/0.7914, allocations: 28 kB / 0.5164 GB, free: 6.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.01158/0.803, allocations: 6.056 MB / 0.5224 GB, free: 0.7031 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.574e-05/0.8031, allocations: 48 kB / 0.5224 GB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.8033, allocations: 96 kB / 0.5225 GB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00217/0.8054, allocations: 0.8102 MB / 0.5233 GB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/0.8087, allocations: 0.9903 MB / 0.5242 GB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005549/0.8143, allocations: 4.204 MB / 0.5284 GB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004283/0.8186, allocations: 283.5 kB / 0.5286 GB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009966/0.8196, allocations: 276 kB / 0.5289 GB, free: 9.875 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 15 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (528): * Single equations (assignments): 524 * 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 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00309/0.8227, allocations: 1.355 MB / 0.5302 GB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006012/0.8233, allocations: 237 kB / 0.5304 GB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.8273, allocations: 1.853 MB / 0.5322 GB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.412e-05/0.8274, allocations: 12 kB / 0.5323 GB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.8274, allocations: 7.938 kB / 0.5323 GB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.8274, allocations: 7.984 kB / 0.5323 GB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/0.8387, allocations: 4.809 MB / 0.537 GB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/0.8388, allocations: 0 / 0.537 GB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007475/0.8395, allocations: 135.8 kB / 0.5371 GB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00214/0.8417, allocations: 0.645 MB / 0.5377 GB, free: 0.707 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.8418, allocations: 12 kB / 0.5377 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2344/1.076, allocations: 3.728 MB / 0.5414 GB, free: 91.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.076, allocations: 3.875 kB / 0.5414 GB, free: 91.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007024/1.083, allocations: 3.78 MB / 0.5451 GB, free: 91.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/1.085, allocations: 445.6 kB / 0.5455 GB, free: 91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/1.085, allocations: 14.06 kB / 0.5455 GB, free: 91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009927/1.086, allocations: 72.48 kB / 0.5456 GB, free: 91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/1.087, allocations: 62.48 kB / 0.5456 GB, free: 91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-05/1.087, allocations: 31.64 kB / 0.5457 GB, free: 91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003715/1.09, allocations: 1.769 MB / 0.5474 GB, free: 90.85 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.334e-06/1.09, allocations: 0 / 0.5474 GB, free: 90.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004362/1.095, allocations: 0.6465 MB / 0.548 GB, free: 90.85 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004228/1.095, allocations: 146.7 kB / 0.5482 GB, free: 90.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006386/1.102, allocations: 3.395 MB / 0.5515 GB, free: 90.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.102, allocations: 0 / 0.5515 GB, free: 90.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/1.103, allocations: 0.9333 MB / 0.5524 GB, free: 90.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/1.104, allocations: 232.8 kB / 0.5526 GB, free: 90.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009971/1.114, allocations: 6.373 MB / 0.5588 GB, free: 87.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/1.116, allocations: 2.236 MB / 0.561 GB, free: 86.4 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003542/1.12, allocations: 1.399 MB / 0.5624 GB, free: 86.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/1.12, allocations: 162.7 kB / 0.5625 GB, free: 86.37 MB / 346.7 MB Notification: Performance of SimCode: time 1.874e-06/1.12, allocations: 0 / 0.5625 GB, free: 86.37 MB / 346.7 MB Notification: Performance of Templates: time 0.04193/1.162, allocations: 21.54 MB / 0.5836 GB, free: 76.73 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1)