Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001454/0.001454, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.681/1.681, allocations: 194.2 MB / 208.4 MB, free: 6.719 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.001599/0.001599, allocations: 124.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.454e-05/3.458e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/0.09056, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3487/0.4392, allocations: 84.72 MB / 434.2 MB, free: 8.402 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.4395, allocations: 87.7 kB / 434.2 MB, free: 8.387 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1453/0.5849, allocations: 56.76 MB / 491 MB, free: 8.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5849, allocations: 4 kB / 491 MB, free: 8.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.614e-05/0.585, allocations: 44 kB / 491.1 MB, free: 8.773 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: 931 * Number of variables: 931 Notification: Performance of Generate backend data structure: time 0.005407/0.5904, allocations: 2.529 MB / 493.6 MB, free: 6.188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.5905, allocations: 8.031 kB / 493.6 MB, free: 6.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.6007, allocations: 1.97 MB / 495.6 MB, free: 4.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01346/0.6142, allocations: 3.267 MB / 498.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/0.6146, allocations: 176.6 kB / 499 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/0.6165, allocations: 239.8 kB / 499.2 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/0.6381, allocations: 6.719 MB / 0.4941 GB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002422/0.6384, allocations: 55.53 kB / 0.4941 GB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001307/0.6398, allocations: 115.9 kB / 0.4943 GB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00178/0.6416, allocations: 0.715 MB / 0.495 GB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01736/0.659, allocations: 5.685 MB / 0.5005 GB, free: 2.375 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04265/0.7017, allocations: 33.31 MB / 0.533 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004505/0.7062, allocations: 2.274 MB / 0.5353 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.7076, allocations: 1.011 MB / 0.5362 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.441e-05/0.7077, allocations: 15.91 kB / 0.5363 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.7077, allocations: 50.3 kB / 0.5363 GB, free: 12.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=98): time 3.076e-06/0.7077, allocations: 0 / 0.5363 GB, free: 12.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.01733/0.7251, allocations: 7.009 MB / 0.5432 GB, free: 5.246 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/0.7252, allocations: 140.5 kB / 0.5433 GB, free: 5.078 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003749/0.7289, allocations: 2.474 MB / 0.5457 GB, free: 2.586 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.7291, allocations: 45.7 kB / 0.5458 GB, free: 2.535 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001521/0.7306, allocations: 2.067 MB / 0.5478 GB, free: 448 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004977/0.7312, allocations: 434.6 kB / 0.5482 GB, free: 8 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2022/0.9334, allocations: 83.58 kB / 0.5483 GB, free: 116.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004394/0.9338, allocations: 498.9 kB / 0.5487 GB, free: 116 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002454/0.9363, allocations: 1.354 MB / 0.5501 GB, free: 116 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003026/0.9393, allocations: 4.136 MB / 0.5541 GB, free: 112.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/0.9424, allocations: 2.353 MB / 0.5564 GB, free: 112.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.986e-05/0.9424, allocations: 28.16 kB / 0.5564 GB, free: 112.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.01109/0.9535, allocations: 5.95 MB / 0.5622 GB, free: 111.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.325e-05/0.9537, allocations: 51.44 kB / 0.5623 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/0.9538, allocations: 99.25 kB / 0.5624 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/0.9562, allocations: 0.8017 MB / 0.5632 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003579/0.9598, allocations: 0.9902 MB / 0.5641 GB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005612/0.9654, allocations: 4.103 MB / 0.5681 GB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003962/0.9694, allocations: 283.5 kB / 0.5684 GB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007257/0.9702, allocations: 274.2 kB / 0.5687 GB, free: 110.4 MB / 410.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 () * 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.0006929/0.9709, allocations: 447.3 kB / 0.5691 GB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004058/0.9713, allocations: 227.4 kB / 0.5693 GB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003486/0.9748, allocations: 1.843 MB / 0.5711 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.9748, allocations: 14.97 kB / 0.5711 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.9748, allocations: 3.812 kB / 0.5711 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.9749, allocations: 3.281 kB / 0.5711 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007899/0.9828, allocations: 4.798 MB / 0.5758 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.9828, allocations: 0 / 0.5758 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.9834, allocations: 133.7 kB / 0.5759 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/0.9852, allocations: 0.6464 MB / 0.5766 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.975e-05/0.9853, allocations: 13.38 kB / 0.5766 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003954/0.9893, allocations: 3.629 MB / 0.5801 GB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.9893, allocations: 3.969 kB / 0.5801 GB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00497/0.9943, allocations: 3.746 MB / 0.5838 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.9954, allocations: 444.7 kB / 0.5842 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/0.9957, allocations: 23.89 kB / 0.5842 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009301/0.9966, allocations: 78.27 kB / 0.5843 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.9968, allocations: 49.8 kB / 0.5844 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.08e-05/0.9969, allocations: 30.77 kB / 0.5844 GB, free: 106 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002919/0.9998, allocations: 1.71 MB / 0.5861 GB, free: 105.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9998, allocations: 0 / 0.5861 GB, free: 105.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005773/1.006, allocations: 0.6498 MB / 0.5867 GB, free: 105.3 MB / 410.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 () * 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.0004161/1.006, allocations: 148.5 kB / 0.5868 GB, free: 105.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006384/1.012, allocations: 3.325 MB / 0.5901 GB, free: 104.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.012, allocations: 3.938 kB / 0.5901 GB, free: 104.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/1.014, allocations: 0.9256 MB / 0.591 GB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/1.015, allocations: 229.7 kB / 0.5912 GB, free: 103.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008001/1.023, allocations: 4.409 MB / 0.5955 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001959/1.025, allocations: 2.233 MB / 0.5977 GB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003055/1.028, allocations: 1.396 MB / 0.5991 GB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/1.028, allocations: 164.4 kB / 0.5992 GB, free: 100.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/1.028, allocations: 0 / 0.5992 GB, free: 100.8 MB / 410.7 MB Notification: Performance of Templates: time 0.03713/1.066, allocations: 21.56 MB / 0.6203 GB, free: 87.41 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1)