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.005324/0.005324, allocations: 166.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.19/1.19, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001552/0.001552, allocations: 115.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005185/0.0005187, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2819, allocations: 38.77 MB / 312.9 MB, free: 38.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08231/0.3643, allocations: 65.73 MB / 378.6 MB, free: 8.801 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.3645, allocations: 71.97 kB / 378.7 MB, free: 8.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01025/0.3748, allocations: 3.546 MB / 382.2 MB, free: 5.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.3748, allocations: 0 / 382.2 MB, free: 5.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.3748, allocations: 0 / 382.2 MB, free: 5.18 MB / 282.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.000457/0.3753, allocations: 379.1 kB / 382.6 MB, free: 4.762 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.3754, allocations: 15.95 kB / 382.6 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.3754, allocations: 4 kB / 382.6 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.3756, allocations: 167.1 kB / 382.8 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3756, allocations: 0 / 382.8 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.3757, allocations: 3.906 kB / 382.8 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.3758, allocations: 41.64 kB / 382.8 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3758, allocations: 0 / 382.8 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3758, allocations: 4 kB / 382.8 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3758, allocations: 4 kB / 382.8 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.424e-05/0.3759, allocations: 7.984 kB / 382.8 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.3761, allocations: 153.6 kB / 383 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.248e-05/0.3762, allocations: 38.55 kB / 383 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.3762, allocations: 0 / 383 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3762, allocations: 36.59 kB / 383.1 MB, free: 4.184 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3762, allocations: 4 kB / 383.1 MB, free: 4.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001441/0.3764, allocations: 53.67 kB / 383.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.3764, allocations: 55.41 kB / 383.2 MB, free: 4.055 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.152e-05/0.3765, allocations: 96.98 kB / 383.3 MB, free: 3.953 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.3765, allocations: 25.7 kB / 383.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.3766, allocations: 84.14 kB / 383.4 MB, free: 3.836 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.3766, allocations: 11.81 kB / 383.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.3766, allocations: 0 / 383.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3767, allocations: 322.8 kB / 383.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.3768, allocations: 4 kB / 383.7 MB, free: 3.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.521e-05/0.3768, allocations: 17.72 kB / 383.7 MB, free: 3.473 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.404e-05/0.3768, allocations: 12 kB / 383.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3768, allocations: 0 / 383.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.898e-05/0.3769, allocations: 53.62 kB / 383.8 MB, free: 3.402 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3769, allocations: 4 kB / 383.8 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3769, allocations: 0 / 383.8 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.377, allocations: 11.98 kB / 383.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.128e-05/0.377, allocations: 7.984 kB / 383.8 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3771, allocations: 4 kB / 383.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.3771, allocations: 0 / 383.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.3771, allocations: 4.359 kB / 383.8 MB, free: 3.371 MB / 282.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 7.425e-05/0.3772, allocations: 113.8 kB / 383.9 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-06/0.3772, allocations: 0 / 383.9 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.3772, allocations: 3.5 kB / 383.9 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3772, allocations: 7.984 kB / 383.9 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3772, allocations: 11.89 kB / 384 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3773, allocations: 0 / 384 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.3774, allocations: 157.6 kB / 384.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3774, allocations: 0 / 384.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.3775, allocations: 11.98 kB / 384.1 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3775, allocations: 128 / 384.1 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3775, allocations: 4 kB / 384.1 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3775, allocations: 0 / 384.1 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3775, allocations: 0 / 384.1 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.3776, allocations: 81.08 kB / 384.2 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.3777, allocations: 85.12 kB / 384.3 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.3777, allocations: 0 / 384.3 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.005e-05/0.3777, allocations: 4 kB / 384.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.3778, allocations: 0 / 384.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.3778, allocations: 0 / 384.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.032e-05/0.3778, allocations: 87.17 kB / 384.4 MB, free: 2.715 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3778, allocations: 7.938 kB / 384.4 MB, free: 2.707 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002981/0.3781, allocations: 71.86 kB / 384.5 MB, free: 2.637 MB / 282.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.0002682/0.3784, allocations: 171.1 kB / 384.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.813e-05/0.3785, allocations: 16 kB / 384.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3785, allocations: 0 / 384.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.247e-05/0.3785, allocations: 15.92 kB / 384.7 MB, free: 2.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.3786, allocations: 11.33 kB / 384.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.3789, allocations: 134.4 kB / 384.8 MB, free: 2.266 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.3791, allocations: 0.6888 MB / 385.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.949e-05/0.3792, allocations: 4 kB / 385.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.3792, allocations: 7.438 kB / 385.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3792, allocations: 0 / 385.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of Templates: time 0.00298/0.3822, allocations: 1.021 MB / 386.5 MB, free: 0.5195 MB / 282.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)