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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001921/0.001922, allocations: 197 kB / 16.26 MB, free: 6.621 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.798/1.798, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.001401/0.001401, allocations: 39.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2817, allocations: 46.63 MB / 324.8 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.002051/0.2838, allocations: 0.6046 MB / 325.4 MB, free: 1.477 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.2856, allocations: 1.51 MB / 327 MB, free: 276 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.2857, allocations: 0 / 327 MB, free: 276 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.2857, allocations: 0 / 327 MB, free: 276 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006137/0.2863, allocations: 150 kB / 327.1 MB, free: 192 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.467e-05/0.2864, allocations: 10.17 kB / 327.1 MB, free: 184 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 4.697e-05/0.2864, allocations: 11 kB / 327.1 MB, free: 180 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.2865, allocations: 5.5 kB / 327.1 MB, free: 176 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.22e-05/0.2865, allocations: 11.91 kB / 327.1 MB, free: 168 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.2866, allocations: 14.5 kB / 327.2 MB, free: 156 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.2866, allocations: 1.312 kB / 327.2 MB, free: 156 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.2869, allocations: 235.4 kB / 327.4 MB, free: 32 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.287, allocations: 7.984 kB / 327.4 MB, free: 24 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.287, allocations: 6.875 kB / 327.4 MB, free: 20 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.2873, allocations: 161 kB / 327.6 MB, free: 15.93 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2873, allocations: 3.938 kB / 327.6 MB, free: 15.93 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2874, allocations: 0 / 327.6 MB, free: 15.93 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.2874, allocations: 5.031 kB / 327.6 MB, free: 15.93 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.0005511/0.2879, allocations: 369.6 kB / 327.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.288, allocations: 9.188 kB / 327.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.288, allocations: 2.156 kB / 327.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.2882, allocations: 170.9 kB / 328.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.2882, allocations: 1.469 kB / 328.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.2882, allocations: 1.625 kB / 328.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.2884, allocations: 38.77 kB / 328.1 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.2884, allocations: 4 kB / 328.1 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2884, allocations: 4 kB / 328.2 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.2884, allocations: 1.25 kB / 328.2 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.784e-05/0.2885, allocations: 8.547 kB / 328.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.2886, allocations: 154.5 kB / 328.3 MB, free: 15.09 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.163e-05/0.2887, allocations: 34.3 kB / 328.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.2888, allocations: 8.297 kB / 328.4 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.2888, allocations: 7.938 kB / 328.4 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.2888, allocations: 39.69 kB / 328.4 MB, free: 14.99 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2888, allocations: 0 / 328.4 MB, free: 14.99 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001679/0.289, allocations: 50.19 kB / 328.4 MB, free: 14.95 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.289, allocations: 52.5 kB / 328.5 MB, free: 14.89 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.356e-05/0.2891, allocations: 107.7 kB / 328.6 MB, free: 14.78 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.2892, allocations: 26.83 kB / 328.6 MB, free: 14.75 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.2892, allocations: 81.3 kB / 328.7 MB, free: 14.66 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.2893, allocations: 13.08 kB / 328.7 MB, free: 14.65 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.2893, allocations: 17.19 kB / 328.7 MB, free: 14.63 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2894, allocations: 320 kB / 329.1 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.2894, allocations: 5.25 kB / 329.1 MB, free: 14.31 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.13e-05/0.2895, allocations: 26.47 kB / 329.1 MB, free: 14.29 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.276e-05/0.2895, allocations: 26.98 kB / 329.1 MB, free: 14.26 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2895, allocations: 5.031 kB / 329.1 MB, free: 14.26 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.184e-05/0.2896, allocations: 58.45 kB / 329.2 MB, free: 14.21 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.2897, allocations: 12.83 kB / 329.2 MB, free: 14.2 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2897, allocations: 1.156 kB / 329.2 MB, free: 14.2 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2897, allocations: 1.094 kB / 329.2 MB, free: 14.2 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.88e-05/0.2898, allocations: 10.12 kB / 329.2 MB, free: 14.2 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2898, allocations: 1.219 kB / 329.2 MB, free: 14.2 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.2898, allocations: 1.094 kB / 329.2 MB, free: 14.2 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.2898, allocations: 1.188 kB / 329.2 MB, free: 14.2 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.776e-05/0.2899, allocations: 120.3 kB / 329.3 MB, free: 14.07 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.2899, allocations: 5.031 kB / 329.3 MB, free: 14.07 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.2899, allocations: 12.58 kB / 329.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.29, allocations: 1.281 kB / 329.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.29, allocations: 0 / 329.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.29, allocations: 0 / 329.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.2901, allocations: 159 kB / 329.5 MB, free: 13.85 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.2901, allocations: 0 / 329.5 MB, free: 13.85 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.218e-05/0.2902, allocations: 6.562 kB / 329.5 MB, free: 13.85 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.2902, allocations: 3.938 kB / 329.5 MB, free: 13.85 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2902, allocations: 5.188 kB / 329.5 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2902, allocations: 0 / 329.5 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2902, allocations: 0 / 329.5 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.2904, allocations: 81.92 kB / 329.6 MB, free: 13.76 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.2904, allocations: 82.08 kB / 329.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.2904, allocations: 1.094 kB / 329.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.897e-05/0.2905, allocations: 0 / 329.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.2905, allocations: 1.219 kB / 329.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.2905, allocations: 5 kB / 329.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.326e-05/0.2905, allocations: 87.52 kB / 329.8 MB, free: 13.58 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.246e-06/0.2906, allocations: 0 / 329.8 MB, free: 13.58 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.2908, allocations: 52.59 kB / 329.8 MB, free: 13.57 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.0002966/0.2911, allocations: 152.2 kB / 330 MB, free: 13.46 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.2912, allocations: 16.91 kB / 330 MB, free: 13.45 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2913, allocations: 0 / 330 MB, free: 13.45 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.922e-05/0.2913, allocations: 13.47 kB / 330 MB, free: 13.45 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.2914, allocations: 6.375 kB / 330 MB, free: 13.44 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.2918, allocations: 128.4 kB / 330.1 MB, free: 13.31 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.2921, allocations: 0.6786 MB / 330.8 MB, free: 12.61 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.785e-05/0.2922, allocations: 6.375 kB / 330.8 MB, free: 12.61 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.2922, allocations: 9.812 kB / 330.8 MB, free: 12.6 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2922, allocations: 0 / 330.8 MB, free: 12.6 MB / 270.1 MB Notification: Performance of Templates: time 0.003794/0.296, allocations: 1.084 MB / 331.9 MB, free: 12.03 MB / 270.1 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)