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.001661/0.001661, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.426/1.426, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001667/0.001667, allocations: 111.5 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.254e-05/2.256e-05, allocations: 4 kB / 298.1 MB, free: 8.258 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09563/0.09567, allocations: 44.51 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3095/0.4052, allocations: 70.28 MB / 412.8 MB, free: 25.41 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.4055, allocations: 75.84 kB / 412.9 MB, free: 25.38 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.009365/0.4149, allocations: 3.516 MB / 416.4 MB, free: 22.54 MB / 315.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4149, allocations: 0 / 416.4 MB, free: 22.54 MB / 315.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.4149, allocations: 3.938 kB / 416.4 MB, free: 22.53 MB / 315.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.0002601/0.4152, allocations: 376.3 kB / 416.8 MB, free: 22.12 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4153, allocations: 8.031 kB / 416.8 MB, free: 22.12 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.4153, allocations: 5.719 kB / 416.8 MB, free: 22.11 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.4154, allocations: 159.7 kB / 417 MB, free: 21.92 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.4154, allocations: 8.828 kB / 417 MB, free: 21.91 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.4155, allocations: 4.547 kB / 417 MB, free: 21.91 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.545e-05/0.4155, allocations: 4 kB / 417 MB, free: 21.91 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.535e-05/0.4156, allocations: 37.58 kB / 417 MB, free: 21.87 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4156, allocations: 3.906 kB / 417 MB, free: 21.86 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.4156, allocations: 7.984 kB / 417 MB, free: 21.86 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.4156, allocations: 0 / 417 MB, free: 21.86 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.4158, allocations: 139.6 kB / 417.2 MB, free: 21.69 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.862e-05/0.4158, allocations: 26.61 kB / 417.2 MB, free: 21.65 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.4158, allocations: 12.8 kB / 417.2 MB, free: 21.64 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.4159, allocations: 0 / 417.2 MB, free: 21.64 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.4159, allocations: 30.56 kB / 417.3 MB, free: 21.6 MB / 315.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.4159, allocations: 4 kB / 417.3 MB, free: 21.6 MB / 315.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001149/0.416, allocations: 49.59 kB / 417.3 MB, free: 21.55 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.763e-05/0.416, allocations: 51.41 kB / 417.4 MB, free: 21.48 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.992e-05/0.4161, allocations: 93.03 kB / 417.4 MB, free: 21.39 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.4161, allocations: 29.64 kB / 417.5 MB, free: 21.35 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.4161, allocations: 84.08 kB / 417.6 MB, free: 21.27 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.4162, allocations: 15.75 kB / 417.6 MB, free: 21.25 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.4162, allocations: 0 / 417.6 MB, free: 21.25 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 4.856e-05/0.4162, allocations: 322.7 kB / 417.9 MB, free: 20.93 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.4163, allocations: 4 kB / 417.9 MB, free: 20.93 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.934e-05/0.4163, allocations: 17.66 kB / 417.9 MB, free: 20.91 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.77e-05/0.4163, allocations: 4 kB / 417.9 MB, free: 20.91 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4163, allocations: 0 / 417.9 MB, free: 20.91 MB / 315.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.188e-05/0.4164, allocations: 58.14 kB / 418 MB, free: 20.85 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.4164, allocations: 4 kB / 418 MB, free: 20.84 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4164, allocations: 4 kB / 418 MB, free: 20.84 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.4164, allocations: 4.031 kB / 418 MB, free: 20.84 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.602e-05/0.4165, allocations: 13.11 kB / 418 MB, free: 20.82 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.4165, allocations: 0 / 418 MB, free: 20.82 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.075e-05/0.4165, allocations: 0 / 418 MB, free: 20.82 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.4165, allocations: 4 kB / 418 MB, free: 20.82 MB / 315.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 () * 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.351e-05/0.4166, allocations: 105.5 kB / 418.1 MB, free: 20.71 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-06/0.4166, allocations: 3.953 kB / 418.1 MB, free: 20.71 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.4167, allocations: 8.062 kB / 418.1 MB, free: 20.7 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4167, allocations: 4 kB / 418.1 MB, free: 20.7 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4167, allocations: 4 kB / 418.1 MB, free: 20.7 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4167, allocations: 0 / 418.1 MB, free: 20.7 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.818e-05/0.4167, allocations: 139 kB / 418.3 MB, free: 20.53 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4168, allocations: 0 / 418.3 MB, free: 20.53 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.87e-05/0.4168, allocations: 8.969 kB / 418.3 MB, free: 20.52 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4168, allocations: 7.984 kB / 418.3 MB, free: 20.51 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.4168, allocations: 0 / 418.3 MB, free: 20.51 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4168, allocations: 3.953 kB / 418.3 MB, free: 20.51 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4169, allocations: 0.8594 kB / 418.3 MB, free: 20.51 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.792e-05/0.417, allocations: 73.06 kB / 418.3 MB, free: 20.42 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.417, allocations: 78.36 kB / 418.4 MB, free: 20.33 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.417, allocations: 0 / 418.4 MB, free: 20.33 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.935e-05/0.417, allocations: 4.031 kB / 418.4 MB, free: 20.32 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.4171, allocations: 3.953 kB / 418.4 MB, free: 20.32 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.4171, allocations: 3.984 kB / 418.4 MB, free: 20.32 MB / 315.1 MB Notification: Performance of sorting global known variables: time 2.271e-05/0.4171, allocations: 88.47 kB / 418.5 MB, free: 20.23 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4171, allocations: 0 / 418.5 MB, free: 20.23 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.4174, allocations: 71.86 kB / 418.6 MB, free: 20.16 MB / 315.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 () * 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.0002234/0.4176, allocations: 171 kB / 418.8 MB, free: 19.99 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 6.686e-05/0.4177, allocations: 12 kB / 418.8 MB, free: 19.98 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4177, allocations: 0 / 418.8 MB, free: 19.98 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 9.588e-06/0.4177, allocations: 7.938 kB / 418.8 MB, free: 19.97 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.766e-05/0.4178, allocations: 1.031 kB / 418.8 MB, free: 19.97 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001838/0.418, allocations: 92.78 kB / 418.9 MB, free: 19.87 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.4181, allocations: 0.6884 MB / 419.6 MB, free: 19.16 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 3.652e-05/0.4182, allocations: 7.984 kB / 419.6 MB, free: 19.15 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.434e-05/0.4182, allocations: 11.44 kB / 419.6 MB, free: 19.14 MB / 315.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4182, allocations: 0 / 419.6 MB, free: 19.14 MB / 315.1 MB Notification: Performance of Templates: time 0.002683/0.4209, allocations: 1.01 MB / 420.6 MB, free: 18.15 MB / 315.1 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)