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.001046/0.001046, allocations: 182 kB / 13.64 MB, free: 1.676 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.479/1.479, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.00165/0.00165, allocations: 120.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.365e-05/4.368e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 44.5 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3585/0.4743, allocations: 70.95 MB / 420.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.4745, allocations: 68.89 kB / 420.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01021/0.4847, allocations: 3.529 MB / 424 MB, free: 10.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4848, allocations: 0 / 424 MB, free: 10.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.4848, allocations: 4 kB / 424 MB, free: 10.48 MB / 298.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.0003349/0.4852, allocations: 367.3 kB / 424.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.4852, allocations: 11.41 kB / 424.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.4852, allocations: 0 / 424.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.4854, allocations: 170.1 kB / 424.5 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.4854, allocations: 3.938 kB / 424.5 MB, free: 9.902 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.4855, allocations: 7.75 kB / 424.5 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.719e-05/0.4856, allocations: 40.2 kB / 424.6 MB, free: 9.863 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.4856, allocations: 7.906 kB / 424.6 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.4856, allocations: 0 / 424.6 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.4856, allocations: 0 / 424.6 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.011e-05/0.4857, allocations: 7.125 kB / 424.6 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.4858, allocations: 162.6 kB / 424.7 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.638e-05/0.4859, allocations: 34.06 kB / 424.8 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/0.486, allocations: 8.766 kB / 424.8 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.486, allocations: 0 / 424.8 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.486, allocations: 38.5 kB / 424.8 MB, free: 9.582 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.486, allocations: 0 / 424.8 MB, free: 9.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001292/0.4862, allocations: 47.11 kB / 424.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.4862, allocations: 51.41 kB / 424.9 MB, free: 9.488 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.395e-05/0.4863, allocations: 92.19 kB / 425 MB, free: 9.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.4863, allocations: 29.61 kB / 425 MB, free: 9.367 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.4863, allocations: 83.77 kB / 425.1 MB, free: 9.285 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.4864, allocations: 14.7 kB / 425.1 MB, free: 9.273 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.4864, allocations: 4 kB / 425.1 MB, free: 9.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.4864, allocations: 318.3 kB / 425.5 MB, free: 8.957 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.4865, allocations: 3.906 kB / 425.5 MB, free: 8.957 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.4865, allocations: 17.91 kB / 425.5 MB, free: 8.941 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.991e-05/0.4865, allocations: 17.89 kB / 425.5 MB, free: 8.938 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4865, allocations: 3.953 kB / 425.5 MB, free: 8.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.145e-05/0.4866, allocations: 48.12 kB / 425.5 MB, free: 8.902 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4867, allocations: 11.78 kB / 425.6 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4867, allocations: 0 / 425.6 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4867, allocations: 0 / 425.6 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.243e-05/0.4868, allocations: 14.66 kB / 425.6 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.4868, allocations: 3.984 kB / 425.6 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.4868, allocations: 0 / 425.6 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.4868, allocations: 3.875 kB / 425.6 MB, free: 8.891 MB / 298.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.458e-05/0.4869, allocations: 103.9 kB / 425.7 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/0.4869, allocations: 3.953 kB / 425.7 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.487, allocations: 14.38 kB / 425.7 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.487, allocations: 0 / 425.7 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.487, allocations: 3.938 kB / 425.7 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.487, allocations: 3.781 kB / 425.7 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.231e-05/0.4871, allocations: 155.7 kB / 425.9 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.4871, allocations: 0 / 425.9 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-05/0.4871, allocations: 11.64 kB / 425.9 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4872, allocations: 3.938 kB / 425.9 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.4872, allocations: 2.672 kB / 425.9 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4872, allocations: 4.125 kB / 425.9 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4872, allocations: 7.875 kB / 425.9 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.4873, allocations: 75.41 kB / 426 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.4874, allocations: 79.73 kB / 426 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.4874, allocations: 11.75 kB / 426 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.626e-05/0.4874, allocations: 0 / 426 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.4874, allocations: 0 / 426 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.4874, allocations: 0 / 426 MB, free: 8.395 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.444e-05/0.4875, allocations: 89.3 kB / 426.1 MB, free: 8.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4875, allocations: 4.062 kB / 426.1 MB, free: 8.316 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003224/0.4878, allocations: 69.27 kB / 426.2 MB, free: 8.293 MB / 298.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.0002819/0.4881, allocations: 168.6 kB / 426.4 MB, free: 8.184 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.466e-05/0.4882, allocations: 19.38 kB / 426.4 MB, free: 8.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4882, allocations: 0 / 426.4 MB, free: 8.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.001e-05/0.4882, allocations: 3.844 kB / 426.4 MB, free: 8.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001053/0.4883, allocations: 3.906 kB / 426.4 MB, free: 8.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002022/0.4885, allocations: 99.05 kB / 426.5 MB, free: 8.094 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.4887, allocations: 0.687 MB / 427.2 MB, free: 7.398 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.124e-05/0.4887, allocations: 7.25 kB / 427.2 MB, free: 7.398 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.4887, allocations: 7.438 kB / 427.2 MB, free: 7.395 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4887, allocations: 0 / 427.2 MB, free: 7.395 MB / 298.7 MB Notification: Performance of Templates: time 0.003044/0.4918, allocations: 1.026 MB / 428.2 MB, free: 6.949 MB / 298.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)