Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.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.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001723/0.001723, allocations: 195.9 kB / 8.139 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.084/1.084, allocations: 194.2 MB / 202.8 MB, free: 8.684 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.00181/0.00181, allocations: 116.4 kB / 247.7 MB, free: 6.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.671e-06/5.701e-06, allocations: 0 / 297.6 MB, free: 8.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07321/0.07323, allocations: 44.5 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2009/0.2742, allocations: 71.05 MB / 413.1 MB, free: 24.03 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001735/0.2744, allocations: 68.3 kB / 413.2 MB, free: 23.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01/0.2844, allocations: 3.731 MB / 416.9 MB, free: 21.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.2845, allocations: 4 kB / 416.9 MB, free: 21.04 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0004958/0.285, allocations: 491.1 kB / 417.4 MB, free: 20.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.285, allocations: 8.781 kB / 417.4 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.353e-05/0.2851, allocations: 31.62 kB / 417.4 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.2853, allocations: 229.6 kB / 417.7 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.2854, allocations: 8 kB / 417.7 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.2854, allocations: 23.84 kB / 417.7 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002623/0.2857, allocations: 135.5 kB / 417.8 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.286, allocations: 199.5 kB / 418 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.286, allocations: 4 kB / 418 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.286, allocations: 5.406 kB / 418 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.286, allocations: 13.94 kB / 418 MB, free: 19.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000929/0.287, allocations: 0.7422 MB / 418.8 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.2873, allocations: 208.5 kB / 419 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.2875, allocations: 122.7 kB / 419.1 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.2875, allocations: 8 kB / 419.1 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.2876, allocations: 34 kB / 419.1 MB, free: 18.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 1.864e-06/0.2876, allocations: 0 / 419.1 MB, free: 18.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.002013/0.2896, allocations: 1.735 MB / 420.9 MB, free: 17.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.2896, allocations: 110.8 kB / 421 MB, free: 17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2898, allocations: 143.3 kB / 421.1 MB, free: 16.87 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.2898, allocations: 25.7 kB / 421.1 MB, free: 16.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.2898, allocations: 131.9 kB / 421.3 MB, free: 16.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.2899, allocations: 157.7 kB / 421.4 MB, free: 16.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.2899, allocations: 0 / 421.4 MB, free: 16.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.903e-05/0.29, allocations: 331.1 kB / 421.8 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.2901, allocations: 80.56 kB / 421.8 MB, free: 16.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.2903, allocations: 138.1 kB / 422 MB, free: 16.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.2904, allocations: 101.9 kB / 422.1 MB, free: 16.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2905, allocations: 0 / 422.1 MB, free: 16.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003923/0.2908, allocations: 303.7 kB / 422.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.2909, allocations: 8 kB / 422.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2909, allocations: 0 / 422.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2909, allocations: 4 kB / 422.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.2913, allocations: 99 kB / 422.5 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.2913, allocations: 4 kB / 422.5 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.2914, allocations: 3.984 kB / 422.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.2914, allocations: 14.94 kB / 422.5 MB, free: 15.67 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.478e-05/0.2915, allocations: 115.9 kB / 422.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-05/0.2916, allocations: 23.72 kB / 422.6 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.046e-05/0.2917, allocations: 32.06 kB / 422.7 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2917, allocations: 8 kB / 422.7 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.2917, allocations: 1.125 kB / 422.7 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2917, allocations: 7.984 kB / 422.7 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.2929, allocations: 0.9645 MB / 423.6 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2929, allocations: 4.281 kB / 423.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.2933, allocations: 91.08 kB / 423.7 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.2934, allocations: 8 kB / 423.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.2934, allocations: 11.28 kB / 423.8 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.2934, allocations: 7.938 kB / 423.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.2934, allocations: 6.875 kB / 423.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005645/0.294, allocations: 0.8013 MB / 424.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.2941, allocations: 104.2 kB / 424.7 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.2941, allocations: 4 kB / 424.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.2944, allocations: 4 kB / 424.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.2944, allocations: 31.77 kB / 424.7 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.2944, allocations: 11.62 kB / 424.7 MB, free: 13.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.339e-05/0.2945, allocations: 114.8 kB / 424.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004306/0.2949, allocations: 60 kB / 424.9 MB, free: 13.38 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001128/0.295, allocations: 115.9 kB / 425 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.2954, allocations: 240.1 kB / 425.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2954, allocations: 0 / 425.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.2955, allocations: 131.6 kB / 425.4 MB, free: 12.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004925/0.296, allocations: 49.16 kB / 425.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.2971, allocations: 0.75 MB / 426.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.2974, allocations: 0.7992 MB / 427 MB, free: 11.38 MB / 314.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2974, allocations: 0 / 427 MB, free: 11.38 MB / 314.7 MB Notification: Performance of Templates: time 0.005598/0.303, allocations: 2.78 MB / 429.7 MB, free: 8.66 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)