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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001026/0.001027, allocations: 179.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.272/1.272, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001734/0.001733, allocations: 112.4 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.000367, allocations: 11.98 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09337/0.09375, allocations: 44.51 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2745/0.3683, allocations: 71.03 MB / 426.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.3685, allocations: 71.16 kB / 426.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008865/0.3774, allocations: 3.548 MB / 429.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.3774, allocations: 0 / 429.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.3775, allocations: 4 kB / 429.7 MB, free: 15.43 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.0003819/0.3779, allocations: 367.2 kB / 430.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.3779, allocations: 12.03 kB / 430.1 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.378, allocations: 1.031 kB / 430.1 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.3781, allocations: 173 kB / 430.3 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3781, allocations: 0 / 430.3 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.3781, allocations: 0 / 430.3 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.212e-05/0.3782, allocations: 45.81 kB / 430.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3782, allocations: 0 / 430.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.3783, allocations: 0 / 430.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3783, allocations: 4.844 kB / 430.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.335e-05/0.3783, allocations: 11.92 kB / 430.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.3785, allocations: 161 kB / 430.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.654e-05/0.3785, allocations: 33.58 kB / 430.5 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.3785, allocations: 6.531 kB / 430.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.3786, allocations: 34.5 kB / 430.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3786, allocations: 0 / 430.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001315/0.3787, allocations: 45.72 kB / 430.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.3787, allocations: 51.41 kB / 430.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.499e-05/0.3788, allocations: 100.7 kB / 430.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.3788, allocations: 25.7 kB / 430.8 MB, free: 14.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.3789, allocations: 84.12 kB / 430.9 MB, free: 14.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.3789, allocations: 20.38 kB / 430.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.3789, allocations: 0 / 430.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.643e-05/0.379, allocations: 314.8 kB / 431.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.379, allocations: 7.312 kB / 431.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.165e-05/0.379, allocations: 20.66 kB / 431.2 MB, free: 13.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.222e-05/0.3791, allocations: 11.25 kB / 431.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3791, allocations: 4 kB / 431.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.326e-05/0.3791, allocations: 57.39 kB / 431.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.3792, allocations: 4 kB / 431.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.3792, allocations: 0 / 431.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3792, allocations: 3.984 kB / 431.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.831e-05/0.3793, allocations: 11.94 kB / 431.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3793, allocations: 0 / 431.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.3793, allocations: 7.188 kB / 431.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.3793, allocations: 0 / 431.3 MB, free: 13.68 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 () * Number of clocked 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 4.948e-05/0.3794, allocations: 110.5 kB / 431.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.3794, allocations: 11.89 kB / 431.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.3794, allocations: 7.375 kB / 431.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3794, allocations: 0 / 431.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3794, allocations: 1.219 kB / 431.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3794, allocations: 7.984 kB / 431.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.863e-05/0.3795, allocations: 153.5 kB / 431.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3795, allocations: 2.25 kB / 431.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.3796, allocations: 4 kB / 431.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.3796, allocations: 7.953 kB / 431.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3796, allocations: 3.938 kB / 431.6 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3796, allocations: 0 / 431.6 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3796, allocations: 4 kB / 431.6 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.3797, allocations: 75.94 kB / 431.7 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.3798, allocations: 85 kB / 431.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.3798, allocations: 7.984 kB / 431.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.808e-05/0.3798, allocations: 3.047 kB / 431.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.3798, allocations: 0 / 431.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.3798, allocations: 3.062 kB / 431.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.695e-05/0.3799, allocations: 87.22 kB / 431.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3799, allocations: 0 / 431.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002731/0.3802, allocations: 75.17 kB / 431.9 MB, free: 12.98 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 () * Number of clocked 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.0002797/0.3804, allocations: 163.1 kB / 432.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.842e-05/0.3805, allocations: 19.88 kB / 432.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3805, allocations: 0 / 432.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.281e-05/0.3806, allocations: 11.98 kB / 432.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001031/0.3807, allocations: 4.797 kB / 432.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.3809, allocations: 135.8 kB / 432.3 MB, free: 12.63 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.3811, allocations: 0.6847 MB / 433 MB, free: 11.92 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.141e-05/0.3811, allocations: 0 / 433 MB, free: 11.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.3812, allocations: 11.44 kB / 433 MB, free: 11.92 MB / 314.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3812, allocations: 0 / 433 MB, free: 11.92 MB / 314.7 MB Notification: Performance of Templates: time 0.003046/0.3842, allocations: 1.02 MB / 434 MB, free: 10.94 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)