Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [: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.001732/0.001732, allocations: 191.3 kB / 8.139 MB, free: 2.203 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.111/1.111, allocations: 194.2 MB / 202.8 MB, free: 8.824 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.001851/0.001851, allocations: 116.9 kB / 247.7 MB, free: 6.281 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.514e-06, allocations: 4 kB / 297.6 MB, free: 8.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07391/0.07393, allocations: 44.49 MB / 342.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1909/0.2649, allocations: 72.32 MB / 414.4 MB, free: 22.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001574/0.2651, allocations: 66.83 kB / 414.4 MB, free: 22.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.009054/0.2741, allocations: 3.333 MB / 417.8 MB, free: 20.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.2742, allocations: 8 kB / 417.8 MB, free: 20.21 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004515/0.2746, allocations: 470.2 kB / 418.2 MB, free: 19.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.2747, allocations: 12.03 kB / 418.3 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.2747, allocations: 25.03 kB / 418.3 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.275, allocations: 232.5 kB / 418.5 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.275, allocations: 12.75 kB / 418.5 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.275, allocations: 12 kB / 418.5 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001951/0.2752, allocations: 102.4 kB / 418.6 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.2755, allocations: 168.7 kB / 418.8 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.2755, allocations: 3.906 kB / 418.8 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.2755, allocations: 0 / 418.8 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2755, allocations: 6.516 kB / 418.8 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008417/0.2764, allocations: 0.6658 MB / 419.5 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.2765, allocations: 96.14 kB / 419.6 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.627e-05/0.2766, allocations: 61.02 kB / 419.6 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.2767, allocations: 0 / 419.6 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.2767, allocations: 34.31 kB / 419.7 MB, free: 18.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.112e-06/0.2767, allocations: 4 kB / 419.7 MB, free: 18.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.001071/0.2778, allocations: 0.7409 MB / 420.4 MB, free: 17.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.2778, allocations: 55.41 kB / 420.5 MB, free: 17.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/0.2779, allocations: 150 kB / 420.6 MB, free: 17.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.2779, allocations: 25.7 kB / 420.6 MB, free: 17.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.278, allocations: 127.5 kB / 420.7 MB, free: 17.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.278, allocations: 93.03 kB / 420.8 MB, free: 17.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/0.278, allocations: 0 / 420.8 MB, free: 17.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.274e-05/0.2781, allocations: 325.8 kB / 421.2 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.46e-05/0.2781, allocations: 42.44 kB / 421.2 MB, free: 16.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.244e-05/0.2782, allocations: 85.2 kB / 421.3 MB, free: 16.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.2e-05/0.2783, allocations: 64.5 kB / 421.3 MB, free: 16.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2783, allocations: 4 kB / 421.3 MB, free: 16.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003172/0.2787, allocations: 215.7 kB / 421.6 MB, free: 16.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.2787, allocations: 4.781 kB / 421.6 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2787, allocations: 6.547 kB / 421.6 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/0.2788, allocations: 28.59 kB / 421.6 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.2791, allocations: 59.16 kB / 421.7 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008076/0.2799, allocations: 1.318 MB / 423 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.28, allocations: 4 kB / 423 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.2801, allocations: 4.219 kB / 423 MB, free: 15.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.146e-05/0.2801, allocations: 112.7 kB / 423.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.2802, allocations: 19.75 kB / 423.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.2802, allocations: 33.47 kB / 423.1 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2802, allocations: 3.906 kB / 423.1 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2802, allocations: 4 kB / 423.2 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2802, allocations: 0 / 423.2 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007256/0.281, allocations: 0.5889 MB / 423.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.281, allocations: 4 kB / 423.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.2812, allocations: 39.97 kB / 423.8 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/0.2813, allocations: 35.34 kB / 423.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.2814, allocations: 0 / 423.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008365/0.2822, allocations: 1.327 MB / 425.1 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2822, allocations: 0 / 425.1 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003802/0.2826, allocations: 389.2 kB / 425.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.2827, allocations: 92.92 kB / 425.6 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.2827, allocations: 5.75 kB / 425.6 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.2828, allocations: 11.98 kB / 425.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.2829, allocations: 7.984 kB / 425.6 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.2829, allocations: 8 kB / 425.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.423e-05/0.283, allocations: 114.5 kB / 425.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003237/0.2833, allocations: 48 kB / 425.8 MB, free: 12.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001036/0.2834, allocations: 95.95 kB / 425.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.2838, allocations: 255.7 kB / 426.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2838, allocations: 0 / 426.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.284, allocations: 187.4 kB / 426.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.2844, allocations: 27.77 kB / 426.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000919/0.2853, allocations: 0.5237 MB / 426.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.2855, allocations: 0.7702 MB / 427.7 MB, free: 10.54 MB / 314.7 MB Notification: Performance of SimCode: time 2.8e-07/0.2855, allocations: 2.625 kB / 427.7 MB, free: 10.54 MB / 314.7 MB Notification: Performance of Templates: time 0.004721/0.2902, allocations: 2.229 MB / 429.9 MB, free: 8.363 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1)