Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.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.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.004473/0.004473, allocations: 180.4 kB / 7.457 MB, free: 2.23 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.219/1.219, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001951/0.001951, allocations: 120.3 kB / 217.7 MB, free: 8.133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.998e-06/1.003e-05, allocations: 0 / 261.7 MB, free: 26.63 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08069/0.08072, allocations: 38.76 MB / 300.5 MB, free: 3.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2382/0.319, allocations: 64.9 MB / 365.4 MB, free: 3.562 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.3192, allocations: 68.53 kB / 365.5 MB, free: 3.527 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.008776/0.328, allocations: 3.208 MB / 368.7 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.328, allocations: 0 / 368.7 MB, free: 0.8359 MB / 250.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.0002501/0.3283, allocations: 370.3 kB / 369 MB, free: 444 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3284, allocations: 12.03 kB / 369.1 MB, free: 432 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.3284, allocations: 0 / 369.1 MB, free: 432 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3285, allocations: 167 kB / 369.2 MB, free: 224 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.3285, allocations: 0 / 369.2 MB, free: 224 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.3286, allocations: 3.984 kB / 369.2 MB, free: 220 kB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.316e-05/0.3286, allocations: 14.92 kB / 369.2 MB, free: 208 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.345e-05/0.3287, allocations: 33.64 kB / 369.3 MB, free: 168 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3287, allocations: 0 / 369.3 MB, free: 168 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.3287, allocations: 4 kB / 369.3 MB, free: 164 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3287, allocations: 0 / 369.3 MB, free: 164 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.3289, allocations: 137 kB / 369.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.24e-05/0.3289, allocations: 20.41 kB / 369.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.329, allocations: 12.61 kB / 369.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.329, allocations: 4 kB / 369.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.329, allocations: 38.69 kB / 369.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.329, allocations: 0 / 369.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001298/0.3292, allocations: 40.02 kB / 369.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.3292, allocations: 51.41 kB / 369.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.568e-05/0.3293, allocations: 95.98 kB / 369.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.3293, allocations: 25.7 kB / 369.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.3294, allocations: 86.11 kB / 369.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.3294, allocations: 22.44 kB / 369.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.3294, allocations: 0 / 369.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3296, allocations: 317.3 kB / 370.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.431e-05/0.3296, allocations: 7.938 kB / 370.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.579e-05/0.3296, allocations: 16.41 kB / 370.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/0.3297, allocations: 7.5 kB / 370.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3297, allocations: 0 / 370.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.43e-05/0.3298, allocations: 60.84 kB / 370.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3298, allocations: 8 kB / 370.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3298, allocations: 0 / 370.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.3298, allocations: 0 / 370.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.172e-05/0.3299, allocations: 8 kB / 370.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3299, allocations: 0 / 370.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.3299, allocations: 0 / 370.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.3299, allocations: 7.906 kB / 370.2 MB, free: 15.13 MB / 266.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 8.203e-05/0.33, allocations: 105 kB / 370.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.33, allocations: 4.031 kB / 370.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.3301, allocations: 7.312 kB / 370.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3301, allocations: 4 kB / 370.3 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3301, allocations: 3.906 kB / 370.3 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3301, allocations: 288 / 370.3 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.3302, allocations: 134.2 kB / 370.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3302, allocations: 0 / 370.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.916e-05/0.3303, allocations: 15.5 kB / 370.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/0.3303, allocations: 4 kB / 370.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3303, allocations: 3.984 kB / 370.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3303, allocations: 0 / 370.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3303, allocations: 4 kB / 370.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001187/0.3305, allocations: 72.22 kB / 370.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.3305, allocations: 85.05 kB / 370.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3305, allocations: 0 / 370.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.825e-05/0.3306, allocations: 0 / 370.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.3306, allocations: 7.375 kB / 370.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.3306, allocations: 0 / 370.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.27e-05/0.3307, allocations: 83.34 kB / 370.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002848/0.3309, allocations: 75.73 kB / 370.8 MB, free: 14.46 MB / 266.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.0002948/0.3312, allocations: 171 kB / 371 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.783e-05/0.3313, allocations: 15.25 kB / 371 MB, free: 14.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3313, allocations: 0 / 371 MB, free: 14.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.327e-06/0.3313, allocations: 4 kB / 371 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.3315, allocations: 4.484 kB / 371 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/0.3317, allocations: 103.9 kB / 371.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.332, allocations: 0.6915 MB / 371.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of SimCode: time 2.6e-07/0.332, allocations: 0 / 371.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Templates: time 0.003079/0.335, allocations: 1.053 MB / 372.8 MB, free: 12.39 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile (rm -f Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1)