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.001242/0.001243, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001498/0.001498, allocations: 195.6 kB / 16.14 MB, free: 6.707 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.648/1.648, allocations: 205.1 MB / 222 MB, free: 4.793 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.001182/0.001182, allocations: 47.94 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2676, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001787/0.2694, allocations: 0.6001 MB / 325.3 MB, free: 1.465 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.2711, allocations: 1.548 MB / 326.8 MB, free: 256 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.2711, allocations: 0 / 326.8 MB, free: 256 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.2712, allocations: 0 / 326.8 MB, free: 256 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005182/0.2717, allocations: 139 kB / 327 MB, free: 164 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.033e-05/0.2717, allocations: 10.14 kB / 327 MB, free: 156 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 5.408e-05/0.2718, allocations: 7.094 kB / 327 MB, free: 156 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.224e-05/0.2719, allocations: 5.281 kB / 327 MB, free: 152 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.2719, allocations: 7.625 kB / 327 MB, free: 148 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.272, allocations: 14 kB / 327 MB, free: 136 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.272, allocations: 1.75 kB / 327 MB, free: 136 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.2723, allocations: 237.9 kB / 327.2 MB, free: 8 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.2723, allocations: 1.188 kB / 327.2 MB, free: 8 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.2723, allocations: 10.59 kB / 327.2 MB, free: 0 / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.2727, allocations: 171.9 kB / 327.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2727, allocations: 4 kB / 327.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2727, allocations: 1.469 kB / 327.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.2727, allocations: 0 / 327.4 MB, free: 15.9 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.0004727/0.2732, allocations: 357.2 kB / 327.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2732, allocations: 8.938 kB / 327.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.2733, allocations: 2.375 kB / 327.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.2734, allocations: 171.3 kB / 327.9 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.2734, allocations: 1.812 kB / 327.9 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.2734, allocations: 1.844 kB / 327.9 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.607e-05/0.2735, allocations: 49.22 kB / 328 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.2736, allocations: 1.25 kB / 328 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.2736, allocations: 4 kB / 328 MB, free: 15.26 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.2736, allocations: 0 / 328 MB, free: 15.26 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.345e-05/0.2736, allocations: 8.766 kB / 328 MB, free: 15.26 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.2738, allocations: 155.6 kB / 328.2 MB, free: 15.06 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.717e-05/0.2739, allocations: 33.25 kB / 328.2 MB, free: 15.03 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/0.2739, allocations: 20.61 kB / 328.2 MB, free: 15.01 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.274, allocations: 1.312 kB / 328.2 MB, free: 15.01 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.274, allocations: 38.44 kB / 328.3 MB, free: 14.96 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.274, allocations: 0 / 328.3 MB, free: 14.96 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001786/0.2742, allocations: 50.66 kB / 328.3 MB, free: 14.92 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.2742, allocations: 52.53 kB / 328.4 MB, free: 14.86 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2743, allocations: 104.2 kB / 328.5 MB, free: 14.75 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.2744, allocations: 25.7 kB / 328.5 MB, free: 14.72 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.2744, allocations: 85.55 kB / 328.6 MB, free: 14.64 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.2744, allocations: 9.062 kB / 328.6 MB, free: 14.63 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.2745, allocations: 13.66 kB / 328.6 MB, free: 14.61 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2746, allocations: 320.4 kB / 328.9 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.2746, allocations: 2.562 kB / 328.9 MB, free: 14.29 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.082e-05/0.2747, allocations: 27.5 kB / 328.9 MB, free: 14.27 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.033e-05/0.2747, allocations: 35.67 kB / 329 MB, free: 14.23 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2747, allocations: 0 / 329 MB, free: 14.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.042e-05/0.2748, allocations: 55.17 kB / 329 MB, free: 14.19 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2748, allocations: 9.906 kB / 329 MB, free: 14.19 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2749, allocations: 3.984 kB / 329 MB, free: 14.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2749, allocations: 1.219 kB / 329 MB, free: 14.18 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.812e-05/0.275, allocations: 7.438 kB / 329 MB, free: 14.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.275, allocations: 0 / 329 MB, free: 14.18 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.275, allocations: 1.25 kB / 329 MB, free: 14.18 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.275, allocations: 1.125 kB / 329 MB, free: 14.18 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 8.092e-05/0.2751, allocations: 116.1 kB / 329.2 MB, free: 14.06 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.2751, allocations: 5.156 kB / 329.2 MB, free: 14.06 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.2751, allocations: 4.75 kB / 329.2 MB, free: 14.05 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2751, allocations: 4.406 kB / 329.2 MB, free: 14.04 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2752, allocations: 0.9062 kB / 329.2 MB, free: 14.04 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2752, allocations: 0 / 329.2 MB, free: 14.04 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.2753, allocations: 159.1 kB / 329.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2753, allocations: 0 / 329.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.2754, allocations: 14.02 kB / 329.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2754, allocations: 9.219 kB / 329.3 MB, free: 13.83 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.2754, allocations: 0 / 329.3 MB, free: 13.83 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2754, allocations: 0.9375 kB / 329.4 MB, free: 13.83 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2754, allocations: 0 / 329.4 MB, free: 13.83 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.2755, allocations: 77.81 kB / 329.4 MB, free: 13.75 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.2756, allocations: 90.47 kB / 329.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.2756, allocations: 1.344 kB / 329.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.772e-05/0.2756, allocations: 0 / 329.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.2756, allocations: 9.312 kB / 329.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.2757, allocations: 5.156 kB / 329.5 MB, free: 13.63 MB / 270.1 MB Notification: Performance of sorting global known variables: time 3.908e-05/0.2757, allocations: 79 kB / 329.6 MB, free: 13.56 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2757, allocations: 0 / 329.6 MB, free: 13.56 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.276, allocations: 52.45 kB / 329.7 MB, free: 13.55 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.0002699/0.2763, allocations: 163.6 kB / 329.8 MB, free: 13.43 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 8.638e-05/0.2764, allocations: 16.84 kB / 329.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2764, allocations: 64 / 329.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.422e-05/0.2764, allocations: 9.188 kB / 329.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.2765, allocations: 6.109 kB / 329.8 MB, free: 13.41 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.2768, allocations: 137.2 kB / 330 MB, free: 13.28 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.2771, allocations: 0.6827 MB / 330.7 MB, free: 12.57 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.451e-05/0.2772, allocations: 2.156 kB / 330.7 MB, free: 12.57 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.2773, allocations: 9.312 kB / 330.7 MB, free: 12.57 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2773, allocations: 4 kB / 330.7 MB, free: 12.56 MB / 270.1 MB Notification: Performance of Templates: time 0.003091/0.2804, allocations: 1.054 MB / 331.7 MB, free: 12.02 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)