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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001377/0.001377, allocations: 164.5 kB / 7.636 MB, free: 1.418 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.358/1.358, allocations: 170.7 MB / 178.7 MB, free: 15.63 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.001568/0.001568, allocations: 111.5 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.327e-05/1.33e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06338/0.06341, allocations: 38.78 MB / 301 MB, free: 3.625 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2538/0.3172, allocations: 64.97 MB / 365.9 MB, free: 3.402 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.3175, allocations: 71.16 kB / 366 MB, free: 3.367 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00887/0.3263, allocations: 3.505 MB / 369.5 MB, free: 404 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3264, allocations: 0 / 369.5 MB, free: 404 kB / 250.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3264, allocations: 0 / 369.5 MB, free: 404 kB / 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.0002735/0.3267, allocations: 373.8 kB / 369.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3267, allocations: 8.031 kB / 369.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.3268, allocations: 8 kB / 369.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.3269, allocations: 167 kB / 370.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3269, allocations: 0 / 370.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.327, allocations: 4 kB / 370.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.199e-05/0.327, allocations: 7.953 kB / 370.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.078e-05/0.3271, allocations: 37.06 kB / 370.1 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3271, allocations: 0 / 370.1 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.3272, allocations: 8.484 kB / 370.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.3272, allocations: 3.938 kB / 370.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.3273, allocations: 134.5 kB / 370.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.49e-05/0.3274, allocations: 34.11 kB / 370.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/0.3274, allocations: 8.859 kB / 370.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.3275, allocations: 0 / 370.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.3275, allocations: 36.53 kB / 370.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3275, allocations: 0 / 370.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001354/0.3276, allocations: 49.02 kB / 370.4 MB, free: 15.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.3277, allocations: 63.34 kB / 370.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/0.3278, allocations: 92.5 kB / 370.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.3278, allocations: 25.7 kB / 370.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.3279, allocations: 80.14 kB / 370.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.3279, allocations: 19.27 kB / 370.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.3279, allocations: 0 / 370.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.328, allocations: 310.8 kB / 371 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.3281, allocations: 7.438 kB / 371 MB, free: 14.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.733e-05/0.3281, allocations: 21.09 kB / 371 MB, free: 14.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.099e-05/0.3281, allocations: 4 kB / 371 MB, free: 14.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3281, allocations: 0 / 371 MB, free: 14.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.127e-05/0.3282, allocations: 56.41 kB / 371 MB, free: 14.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3283, allocations: 7.906 kB / 371.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3283, allocations: 4 kB / 371.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3283, allocations: 0 / 371.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.429e-05/0.3284, allocations: 11.98 kB / 371.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3284, allocations: 3.953 kB / 371.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.3284, allocations: 4.031 kB / 371.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.3284, allocations: 0 / 371.1 MB, free: 14.67 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 6.968e-05/0.3285, allocations: 108.5 kB / 371.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.3285, allocations: 0 / 371.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.3285, allocations: 4.125 kB / 371.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.3285, allocations: 0 / 371.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.3285, allocations: 4.125 kB / 371.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3286, allocations: 3.953 kB / 371.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.3287, allocations: 136.9 kB / 371.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3287, allocations: 4 kB / 371.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.3287, allocations: 11.92 kB / 371.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3288, allocations: 0 / 371.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.3288, allocations: 7.938 kB / 371.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3288, allocations: 0 / 371.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3288, allocations: 0 / 371.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.3289, allocations: 79.95 kB / 371.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.329, allocations: 81.14 kB / 371.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.329, allocations: 4.062 kB / 371.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.687e-05/0.329, allocations: 0 / 371.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.329, allocations: 8.016 kB / 371.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.329, allocations: 0 / 371.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.371e-05/0.3291, allocations: 83.16 kB / 371.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3291, allocations: 3.938 kB / 371.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.3294, allocations: 71.86 kB / 371.7 MB, free: 14 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.0002963/0.3297, allocations: 159.1 kB / 371.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.727e-05/0.3297, allocations: 23.38 kB / 371.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3298, allocations: 0 / 371.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-05/0.3298, allocations: 11.92 kB / 371.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.3299, allocations: 5.5 kB / 371.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002377/0.3301, allocations: 83.97 kB / 372 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.3304, allocations: 0.6884 MB / 372.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.133e-05/0.3305, allocations: 4 kB / 372.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.3305, allocations: 11.5 kB / 372.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3305, allocations: 11.88 kB / 372.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of Templates: time 0.003044/0.3335, allocations: 1.01 MB / 373.7 MB, free: 11.96 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)