Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007587/0.007587, allocations: 165.3 kB / 15.11 MB, free: 5.969 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.221/1.221, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.00165/0.00165, allocations: 110.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003229, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2243, allocations: 38.77 MB / 312.9 MB, free: 38.76 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1098/0.3342, allocations: 87.15 MB / 400 MB, free: 3.344 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.3346, allocations: 87.95 kB / 400.1 MB, free: 3.258 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.448/0.7826, allocations: 73.93 MB / 474.1 MB, free: 49.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.7827, allocations: 0 / 474.1 MB, free: 49.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001565/0.7829, allocations: 71.94 kB / 474.1 MB, free: 49.91 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: 1322 * Number of variables: 1322 Notification: Performance of Generate backend data structure: time 0.0123/0.7952, allocations: 3.595 MB / 477.7 MB, free: 46.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.7952, allocations: 8.031 kB / 477.7 MB, free: 46.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009353/0.8046, allocations: 2.257 MB / 480 MB, free: 43.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/0.8158, allocations: 3.902 MB / 483.9 MB, free: 40.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.8161, allocations: 287.1 kB / 484.2 MB, free: 39.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001426/0.8176, allocations: 355.8 kB / 484.5 MB, free: 39.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02035/0.8379, allocations: 10.36 MB / 494.9 MB, free: 28.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00017/0.8382, allocations: 55.5 kB / 494.9 MB, free: 28.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008357/0.839, allocations: 175.9 kB / 495.1 MB, free: 27.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001365/0.8404, allocations: 0.9741 MB / 496.1 MB, free: 26.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01958/0.86, allocations: 8.648 MB / 0.4929 GB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05484/0.9149, allocations: 44.02 MB / 0.5359 GB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009445/0.9244, allocations: 3.567 MB / 0.5394 GB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2527/1.177, allocations: 7.139 MB / 0.5463 GB, free: 82.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/1.177, allocations: 50.41 kB / 0.5464 GB, free: 82.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 5.63e-06/1.177, allocations: 0 / 0.5464 GB, free: 82.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=155): time 0.05114/1.228, allocations: 17.02 MB / 0.563 GB, free: 80.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/1.228, allocations: 148.3 kB / 0.5631 GB, free: 79.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005277/1.234, allocations: 3.097 MB / 0.5662 GB, free: 79.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003772/1.234, allocations: 45.58 kB / 0.5662 GB, free: 79.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001768/1.236, allocations: 2.707 MB / 0.5688 GB, free: 77.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008291/1.237, allocations: 0.6092 MB / 0.5694 GB, free: 77.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/1.237, allocations: 105.4 kB / 0.5695 GB, free: 77.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003038/1.237, allocations: 0.5317 MB / 0.5701 GB, free: 77.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002981/1.24, allocations: 1.929 MB / 0.5719 GB, free: 76.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005134/1.246, allocations: 5.289 MB / 0.5771 GB, free: 71.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004559/1.25, allocations: 3.102 MB / 0.5801 GB, free: 70.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.227e-05/1.25, allocations: 33.22 kB / 0.5802 GB, free: 70.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=708) (initialization): time 0.01702/1.267, allocations: 8.07 MB / 0.5881 GB, free: 67.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/1.267, allocations: 58.78 kB / 0.5881 GB, free: 67.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/1.268, allocations: 122.3 kB / 0.5882 GB, free: 67.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00395/1.271, allocations: 1.309 MB / 0.5895 GB, free: 67.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004212/1.276, allocations: 1.251 MB / 0.5907 GB, free: 66.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007984/1.284, allocations: 6.3 MB / 0.5969 GB, free: 60.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006104/1.29, allocations: 343.3 kB / 0.5972 GB, free: 60.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/1.291, allocations: 338.2 kB / 0.5975 GB, free: 60.05 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * Number of states: 0 () * Number of discrete variables: 33 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (665): * Single equations (assignments): 661 * 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,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005024/1.296, allocations: 1.789 MB / 0.5993 GB, free: 58.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.297, allocations: 300.1 kB / 0.5996 GB, free: 58.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007659/1.305, allocations: 3.305 MB / 0.6028 GB, free: 55.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.715e-05/1.305, allocations: 20 kB / 0.6028 GB, free: 55.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/1.305, allocations: 4 kB / 0.6028 GB, free: 55.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-05/1.305, allocations: 17.03 kB / 0.6028 GB, free: 55.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02027/1.325, allocations: 7.365 MB / 0.61 GB, free: 49.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/1.325, allocations: 0 / 0.61 GB, free: 49.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/1.327, allocations: 232.8 kB / 0.6102 GB, free: 49.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003827/1.331, allocations: 1.119 MB / 0.6113 GB, free: 48.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003151/1.331, allocations: 25.09 kB / 0.6114 GB, free: 48.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007971/1.339, allocations: 5.921 MB / 0.6171 GB, free: 43.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.339, allocations: 7.984 kB / 0.6171 GB, free: 43.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009857/1.349, allocations: 5.652 MB / 0.6227 GB, free: 38.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002258/1.351, allocations: 0.575 MB / 0.6232 GB, free: 37.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/1.352, allocations: 23.95 kB / 0.6233 GB, free: 37.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/1.353, allocations: 115.5 kB / 0.6234 GB, free: 37.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002547/1.353, allocations: 80.89 kB / 0.6234 GB, free: 37.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/1.353, allocations: 44.84 kB / 0.6235 GB, free: 37.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003713/1.357, allocations: 2.142 MB / 0.6256 GB, free: 35.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.357, allocations: 4 kB / 0.6256 GB, free: 35.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006009/1.363, allocations: 0.8967 MB / 0.6265 GB, free: 34.28 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (119): * Single equations (assignments): 115 * 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 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005255/1.364, allocations: 168.2 kB / 0.6266 GB, free: 34.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007909/1.372, allocations: 4.694 MB / 0.6312 GB, free: 29.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.372, allocations: 0 / 0.6312 GB, free: 29.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002189/1.374, allocations: 1.5 MB / 0.6327 GB, free: 27.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/1.376, allocations: 305.4 kB / 0.633 GB, free: 27.63 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02446/1.401, allocations: 9.405 MB / 0.6421 GB, free: 18.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00387/1.405, allocations: 2.89 MB / 0.645 GB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.006443/1.411, allocations: 1.686 MB / 0.6466 GB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009467/1.412, allocations: 211.4 kB / 0.6468 GB, free: 13.43 MB / 346.7 MB Notification: Performance of SimCode: time 2.736e-06/1.412, allocations: 0 / 0.6468 GB, free: 13.43 MB / 346.7 MB Notification: Performance of Templates: time 0.3663/1.778, allocations: 30.91 MB / 0.677 GB, free: 83.86 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1)