Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008408/0.0008409, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006772/0.006772, allocations: 172.6 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004812, allocations: 12 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2691, allocations: 47.58 MB / 327 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0006967/0.2699, allocations: 266.9 kB / 327.3 MB, free: 1.184 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.2717, allocations: 1.536 MB / 328.8 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.2717, allocations: 0.875 kB / 328.8 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.2718, allocations: 4 kB / 328.8 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005676/0.2724, allocations: 137.9 kB / 329 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.88e-05/0.2724, allocations: 0 / 329 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.263e-05/0.2724, allocations: 18.98 kB / 329 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.2725, allocations: 3.938 kB / 329 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.859e-05/0.2725, allocations: 3.594 kB / 329 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.902e-05/0.2726, allocations: 19.47 kB / 329 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.2726, allocations: 0 / 329 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.273, allocations: 237.8 kB / 329.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.273, allocations: 1.25 kB / 329.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.2731, allocations: 35.97 kB / 329.3 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.2734, allocations: 168.5 kB / 329.4 MB, free: 15.59 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2734, allocations: 0 / 329.4 MB, free: 15.59 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2734, allocations: 1.031 kB / 329.4 MB, free: 15.59 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.2734, allocations: 0 / 329.4 MB, free: 15.59 MB / 270.1 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.0004679/0.2739, allocations: 355.7 kB / 329.8 MB, free: 15.21 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.274, allocations: 9.531 kB / 329.8 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.274, allocations: 10.06 kB / 329.8 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.2741, allocations: 162.5 kB / 330 MB, free: 15.01 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.2742, allocations: 1.656 kB / 330 MB, free: 15.01 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.2742, allocations: 1.688 kB / 330 MB, free: 15.01 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.481e-05/0.2743, allocations: 45.47 kB / 330 MB, free: 14.96 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.2743, allocations: 1.156 kB / 330 MB, free: 14.96 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-06/0.2743, allocations: 0 / 330 MB, free: 14.96 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.2743, allocations: 5.047 kB / 330 MB, free: 14.96 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.671e-05/0.2744, allocations: 12.67 kB / 330 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.2745, allocations: 158.6 kB / 330.2 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.058e-05/0.2746, allocations: 34.17 kB / 330.2 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.2747, allocations: 12.27 kB / 330.2 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.2747, allocations: 3.984 kB / 330.2 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.2747, allocations: 35.53 kB / 330.3 MB, free: 14.66 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.2747, allocations: 4 kB / 330.3 MB, free: 14.66 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001444/0.2749, allocations: 50.47 kB / 330.3 MB, free: 14.62 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.2749, allocations: 52.34 kB / 330.4 MB, free: 14.55 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/0.275, allocations: 99.17 kB / 330.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.275, allocations: 26.7 kB / 330.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.2751, allocations: 85.28 kB / 330.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.2751, allocations: 9.031 kB / 330.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.2751, allocations: 18.75 kB / 330.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2752, allocations: 316.2 kB / 330.9 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.2753, allocations: 11.83 kB / 330.9 MB, free: 13.98 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.7e-05/0.2753, allocations: 19.53 kB / 330.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.136e-05/0.2754, allocations: 24.56 kB / 331 MB, free: 13.94 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2754, allocations: 0 / 331 MB, free: 13.94 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.584e-05/0.2754, allocations: 62.5 kB / 331 MB, free: 13.89 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2755, allocations: 9.156 kB / 331 MB, free: 13.89 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2755, allocations: 4.031 kB / 331 MB, free: 13.88 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2755, allocations: 1.5 kB / 331 MB, free: 13.88 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.966e-05/0.2756, allocations: 11.23 kB / 331.1 MB, free: 13.88 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.2756, allocations: 3.938 kB / 331.1 MB, free: 13.88 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.2756, allocations: 1.938 kB / 331.1 MB, free: 13.88 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.2756, allocations: 4.969 kB / 331.1 MB, free: 13.87 MB / 270.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.471e-05/0.2757, allocations: 108.3 kB / 331.2 MB, free: 13.76 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.2757, allocations: 9.094 kB / 331.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.2758, allocations: 8.688 kB / 331.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2758, allocations: 4 kB / 331.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2758, allocations: 1.219 kB / 331.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2758, allocations: 0 / 331.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.2759, allocations: 158.3 kB / 331.4 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2759, allocations: 1.188 kB / 331.4 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.276, allocations: 10.38 kB / 331.4 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.276, allocations: 3.938 kB / 331.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.276, allocations: 1.219 kB / 331.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.276, allocations: 0 / 331.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.276, allocations: 0 / 331.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.2762, allocations: 86.3 kB / 331.5 MB, free: 13.44 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.2762, allocations: 82.23 kB / 331.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.2763, allocations: 5.453 kB / 331.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.774e-05/0.2763, allocations: 0 / 331.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.2763, allocations: 5.281 kB / 331.5 MB, free: 13.33 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.2763, allocations: 0.9688 kB / 331.5 MB, free: 13.33 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.823e-05/0.2764, allocations: 83.09 kB / 331.6 MB, free: 13.25 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2764, allocations: 0 / 331.6 MB, free: 13.25 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.2767, allocations: 56.23 kB / 331.7 MB, free: 13.24 MB / 270.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002697/0.2769, allocations: 148.6 kB / 331.8 MB, free: 13.13 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 8.093e-05/0.277, allocations: 15.27 kB / 331.8 MB, free: 13.13 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.277, allocations: 1 kB / 331.8 MB, free: 13.13 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.979e-05/0.2771, allocations: 13.16 kB / 331.9 MB, free: 13.12 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.2772, allocations: 5.031 kB / 331.9 MB, free: 13.12 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.2776, allocations: 152.1 kB / 332 MB, free: 12.96 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.2781, allocations: 0.6795 MB / 332.7 MB, free: 12.26 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.994e-05/0.2782, allocations: 2.188 kB / 332.7 MB, free: 12.26 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.2782, allocations: 9.438 kB / 332.7 MB, free: 12.25 MB / 270.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2782, allocations: 0 / 332.7 MB, free: 12.25 MB / 270.1 MB Notification: Performance of Templates: time 0.004057/0.2823, allocations: 1.058 MB / 333.8 MB, free: 11.71 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile (rm -f Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1)