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.0009551/0.0009554, 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.007186/0.007186, allocations: 170.7 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.703/1.703, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.0004856/0.0004857, allocations: 16 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2336, allocations: 47.58 MB / 327 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0006755/0.2343, allocations: 262.2 kB / 327.3 MB, free: 1.195 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.236, allocations: 1.54 MB / 328.8 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.073e-05/0.236, allocations: 0 / 328.8 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/0.236, allocations: 4.812 kB / 328.8 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005436/0.2366, allocations: 135.2 kB / 329 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.992e-05/0.2366, allocations: 1.406 kB / 329 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.24e-05/0.2367, allocations: 14.55 kB / 329 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.2367, allocations: 5.125 kB / 329 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.276e-05/0.2368, allocations: 8.062 kB / 329 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.22e-05/0.2368, allocations: 10.25 kB / 329 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.2369, allocations: 1.312 kB / 329 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.2373, allocations: 242.6 kB / 329.2 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.2373, allocations: 3.984 kB / 329.2 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.2373, allocations: 32.14 kB / 329.3 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.2376, allocations: 173.3 kB / 329.4 MB, free: 15.61 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2376, allocations: 0 / 329.4 MB, free: 15.61 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2376, allocations: 0 / 329.4 MB, free: 15.61 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2376, allocations: 0 / 329.4 MB, free: 15.61 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.000429/0.2381, allocations: 355.4 kB / 329.8 MB, free: 15.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2381, allocations: 13.36 kB / 329.8 MB, free: 15.22 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.2382, allocations: 7.5 kB / 329.8 MB, free: 15.22 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.2383, allocations: 166 kB / 330 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.2384, allocations: 1.062 kB / 330 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.2384, allocations: 1.844 kB / 330 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.366e-05/0.2385, allocations: 45.72 kB / 330 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2385, allocations: 1.125 kB / 330 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2385, allocations: 0 / 330 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2385, allocations: 1.469 kB / 330 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.806e-05/0.2386, allocations: 12.3 kB / 330 MB, free: 14.96 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.2387, allocations: 155.4 kB / 330.2 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.315e-05/0.2388, allocations: 32.89 kB / 330.2 MB, free: 14.74 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.2389, allocations: 12.86 kB / 330.2 MB, free: 14.73 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.2389, allocations: 0 / 330.2 MB, free: 14.73 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.2389, allocations: 40 kB / 330.3 MB, free: 14.68 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.2389, allocations: 4 kB / 330.3 MB, free: 14.68 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001543/0.2391, allocations: 50.66 kB / 330.3 MB, free: 14.63 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.2391, allocations: 59.33 kB / 330.4 MB, free: 14.56 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.2392, allocations: 103.9 kB / 330.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.2393, allocations: 26.98 kB / 330.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.2393, allocations: 80.14 kB / 330.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.2393, allocations: 14.08 kB / 330.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.2394, allocations: 10.66 kB / 330.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2395, allocations: 316.2 kB / 330.9 MB, free: 14 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.2395, allocations: 7.344 kB / 330.9 MB, free: 14 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.471e-05/0.2396, allocations: 28.23 kB / 331 MB, free: 13.97 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.566e-05/0.2396, allocations: 23.59 kB / 331 MB, free: 13.95 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2396, allocations: 0 / 331 MB, free: 13.95 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.602e-05/0.2397, allocations: 62.59 kB / 331 MB, free: 13.9 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2398, allocations: 9.25 kB / 331 MB, free: 13.89 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2398, allocations: 5.062 kB / 331.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2398, allocations: 0 / 331.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.2399, allocations: 7.188 kB / 331.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2399, allocations: 4.984 kB / 331.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.2399, allocations: 4.906 kB / 331.1 MB, free: 13.88 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.2399, allocations: 1.5 kB / 331.1 MB, free: 13.88 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 6.41e-05/0.24, allocations: 112 kB / 331.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.24, allocations: 6.031 kB / 331.2 MB, free: 13.76 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.24, allocations: 7.5 kB / 331.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.24, allocations: 4.875 kB / 331.2 MB, free: 13.74 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2401, allocations: 1.344 kB / 331.2 MB, free: 13.74 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2401, allocations: 0 / 331.2 MB, free: 13.74 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.2402, allocations: 155 kB / 331.3 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2402, allocations: 0 / 331.3 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.644e-05/0.2403, allocations: 9.5 kB / 331.4 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2403, allocations: 4.906 kB / 331.4 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.2403, allocations: 0 / 331.4 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.2403, allocations: 4.953 kB / 331.4 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2403, allocations: 0 / 331.4 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.2404, allocations: 81.88 kB / 331.4 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.2405, allocations: 82.2 kB / 331.5 MB, free: 13.36 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.2405, allocations: 5.312 kB / 331.5 MB, free: 13.35 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.739e-05/0.2405, allocations: 0 / 331.5 MB, free: 13.35 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.2405, allocations: 5.891 kB / 331.5 MB, free: 13.35 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.2405, allocations: 0.9688 kB / 331.5 MB, free: 13.35 MB / 270.1 MB Notification: Performance of sorting global known variables: time 3.866e-05/0.2406, allocations: 82.69 kB / 331.6 MB, free: 13.27 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2406, allocations: 0.9688 kB / 331.6 MB, free: 13.27 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.2409, allocations: 56.23 kB / 331.7 MB, free: 13.25 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.0002964/0.2412, allocations: 152 kB / 331.8 MB, free: 13.14 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 8.423e-05/0.2413, allocations: 20.06 kB / 331.8 MB, free: 13.14 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2413, allocations: 0 / 331.8 MB, free: 13.14 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.61e-05/0.2413, allocations: 10.81 kB / 331.9 MB, free: 13.13 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.2415, allocations: 5.312 kB / 331.9 MB, free: 13.13 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.2418, allocations: 150.6 kB / 332 MB, free: 12.97 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.242, allocations: 0.6797 MB / 332.7 MB, free: 12.27 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.786e-05/0.2421, allocations: 2.125 kB / 332.7 MB, free: 12.27 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.84e-05/0.2421, allocations: 9.969 kB / 332.7 MB, free: 12.27 MB / 270.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2421, allocations: 0 / 332.7 MB, free: 12.27 MB / 270.1 MB Notification: Performance of Templates: time 0.003717/0.2459, allocations: 1.061 MB / 333.8 MB, free: 11.71 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)