Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.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.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") [: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.001891/0.001891, allocations: 189.1 kB / 8.132 MB, free: 2.199 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.485/1.485, allocations: 194.2 MB / 202.8 MB, free: 8.73 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.002088/0.002088, allocations: 117.2 kB / 247.7 MB, free: 6.395 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.364e-05/1.366e-05, allocations: 4 kB / 297.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1142, allocations: 44.48 MB / 342.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/0.3173, allocations: 70.21 MB / 412.3 MB, free: 24.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001667/0.3175, allocations: 74.2 kB / 412.3 MB, free: 24.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.009487/0.327, allocations: 3.199 MB / 415.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.327, allocations: 0 / 415.5 MB, free: 22.25 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002163/0.3273, allocations: 372.5 kB / 415.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.3273, allocations: 12.03 kB / 415.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.3273, allocations: 0 / 415.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.996e-05/0.3274, allocations: 171 kB / 416.1 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.3275, allocations: 0 / 416.1 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.3275, allocations: 0 / 416.1 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.653e-05/0.3275, allocations: 15.8 kB / 416.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.582e-05/0.3276, allocations: 33.69 kB / 416.1 MB, free: 21.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3276, allocations: 3.938 kB / 416.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.3276, allocations: 7.906 kB / 416.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3276, allocations: 0 / 416.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.3277, allocations: 133.1 kB / 416.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.943e-05/0.3278, allocations: 25.61 kB / 416.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.3278, allocations: 15.03 kB / 416.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.3278, allocations: 0 / 416.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.188e-05/0.3278, allocations: 34.56 kB / 416.3 MB, free: 21.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3278, allocations: 3.75 kB / 416.3 MB, free: 21.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 9.635e-05/0.3279, allocations: 40.98 kB / 416.4 MB, free: 21.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.408e-05/0.328, allocations: 59.33 kB / 416.4 MB, free: 21.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.104e-05/0.328, allocations: 96.81 kB / 416.5 MB, free: 21.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.328, allocations: 25.7 kB / 416.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.478e-06/0.328, allocations: 80.14 kB / 416.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.3281, allocations: 15.03 kB / 416.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.3281, allocations: 0 / 416.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.487e-05/0.3281, allocations: 318.7 kB / 417 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.3281, allocations: 7.875 kB / 417 MB, free: 20.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.3282, allocations: 13.72 kB / 417 MB, free: 20.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.897e-05/0.3282, allocations: 11.81 kB / 417 MB, free: 20.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3282, allocations: 0 / 417 MB, free: 20.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.603e-05/0.3283, allocations: 53.12 kB / 417 MB, free: 20.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.3283, allocations: 8 kB / 417.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3283, allocations: 2.344 kB / 417.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.986e-06/0.3283, allocations: 0 / 417.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.778e-05/0.3284, allocations: 12.92 kB / 417.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.3284, allocations: 0 / 417.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.3284, allocations: 3.906 kB / 417.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.3284, allocations: 8.031 kB / 417.1 MB, free: 20.54 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 3.872e-05/0.3285, allocations: 104.8 kB / 417.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.3285, allocations: 3.906 kB / 417.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.3285, allocations: 7.125 kB / 417.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3285, allocations: 4 kB / 417.2 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3285, allocations: 0 / 417.2 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3285, allocations: 3.938 kB / 417.2 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.55e-05/0.3286, allocations: 132.4 kB / 417.3 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3286, allocations: 0 / 417.3 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/0.3287, allocations: 8 kB / 417.3 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3287, allocations: 4 kB / 417.3 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3287, allocations: 4.188 kB / 417.3 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3287, allocations: 7.922 kB / 417.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3287, allocations: 0 / 417.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.159e-05/0.3288, allocations: 80.14 kB / 417.4 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.3288, allocations: 77.11 kB / 417.5 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.3288, allocations: 0 / 417.5 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.069e-05/0.3289, allocations: 4.062 kB / 417.5 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-06/0.3289, allocations: 4 kB / 417.5 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.3289, allocations: 0 / 417.5 MB, free: 20.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.079e-05/0.3289, allocations: 89.81 kB / 417.6 MB, free: 19.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002761/0.3292, allocations: 67.88 kB / 417.7 MB, free: 19.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002301/0.3294, allocations: 167 kB / 417.8 MB, free: 19.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.045e-05/0.3295, allocations: 15.94 kB / 417.8 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3295, allocations: 0 / 417.8 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.769e-06/0.3295, allocations: 11.06 kB / 417.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.577e-05/0.3296, allocations: 3.906 kB / 417.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001696/0.3298, allocations: 85.09 kB / 417.9 MB, free: 19.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3299, allocations: 0.6915 MB / 418.6 MB, free: 18.88 MB / 314.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3299, allocations: 0 / 418.6 MB, free: 18.88 MB / 314.7 MB Notification: Performance of Templates: time 0.002694/0.3326, allocations: 1.054 MB / 419.7 MB, free: 17.85 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile (rm -f Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1)