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.00794/0.007941, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001587/0.001587, allocations: 199 kB / 16.68 MB, free: 5.93 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.585/1.585, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001127/0.001127, allocations: 50.89 kB / 326.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1034, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001615/0.105, allocations: 0.5194 MB / 373.7 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.107, allocations: 1.517 MB / 375.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.1071, allocations: 0 / 375.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.1071, allocations: 0 / 375.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006467/0.1078, allocations: 175.4 kB / 375.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.657e-05/0.1078, allocations: 19.92 kB / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.662e-05/0.1079, allocations: 15.92 kB / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.1079, allocations: 0 / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.505e-05/0.108, allocations: 11.94 kB / 375.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.108, allocations: 7.984 kB / 375.4 MB, free: 15.01 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1081, allocations: 0 / 375.4 MB, free: 15.01 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.1084, allocations: 239.7 kB / 375.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.1085, allocations: 4 kB / 375.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.1085, allocations: 11.92 kB / 375.7 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.1088, allocations: 167.7 kB / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1088, allocations: 4 kB / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1088, allocations: 0 / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1088, allocations: 3.938 kB / 375.9 MB, free: 14.59 MB / 318.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.0004512/0.1093, allocations: 351.6 kB / 376.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1093, allocations: 12.03 kB / 376.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.1094, allocations: 8.844 kB / 376.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.1095, allocations: 168.4 kB / 376.4 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.1095, allocations: 384 / 376.4 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1096, allocations: 384 / 376.4 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.073e-05/0.1097, allocations: 46 kB / 376.4 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1097, allocations: 0 / 376.4 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.1097, allocations: 4 kB / 376.4 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1097, allocations: 0 / 376.4 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.902e-05/0.1098, allocations: 4 kB / 376.4 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1099, allocations: 153.7 kB / 376.6 MB, free: 13.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.744e-05/0.11, allocations: 38.55 kB / 376.6 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.1101, allocations: 16.86 kB / 376.6 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.1101, allocations: 3.938 kB / 376.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.1101, allocations: 38.5 kB / 376.7 MB, free: 13.6 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.1101, allocations: 0 / 376.7 MB, free: 13.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001545/0.1103, allocations: 49.72 kB / 376.7 MB, free: 13.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.1103, allocations: 55.41 kB / 376.8 MB, free: 13.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.937e-05/0.1104, allocations: 102.2 kB / 376.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.1104, allocations: 25.7 kB / 376.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.1105, allocations: 84.14 kB / 377 MB, free: 13.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.1105, allocations: 19.75 kB / 377 MB, free: 13.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.1106, allocations: 13.72 kB / 377 MB, free: 13.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1107, allocations: 318.8 kB / 377.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.1107, allocations: 4 kB / 377.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.897e-05/0.1107, allocations: 17.72 kB / 377.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.85e-05/0.1108, allocations: 41.67 kB / 377.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1108, allocations: 0 / 377.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.556e-05/0.1109, allocations: 57.62 kB / 377.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1109, allocations: 13.03 kB / 377.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1109, allocations: 0 / 377.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1109, allocations: 0 / 377.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.623e-05/0.111, allocations: 11.94 kB / 377.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.111, allocations: 3.984 kB / 377.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.1111, allocations: 3.906 kB / 377.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1111, allocations: 4 kB / 377.5 MB, free: 12.72 MB / 318.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 5.967e-05/0.1111, allocations: 113.9 kB / 377.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.1112, allocations: 7.938 kB / 377.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.1112, allocations: 7.484 kB / 377.6 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1112, allocations: 0 / 377.6 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1112, allocations: 0 / 377.6 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1112, allocations: 0 / 377.6 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.849e-05/0.1113, allocations: 153.7 kB / 377.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1113, allocations: 4 kB / 377.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.779e-05/0.1114, allocations: 4 kB / 377.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1114, allocations: 7.938 kB / 377.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1114, allocations: 0 / 377.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1114, allocations: 0 / 377.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1114, allocations: 4 kB / 377.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.1115, allocations: 84.98 kB / 377.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.1116, allocations: 84.95 kB / 378 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.1116, allocations: 0 / 378 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.76e-05/0.1116, allocations: 128 / 378 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.1116, allocations: 8.094 kB / 378 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.1117, allocations: 8 kB / 378 MB, free: 12.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.738e-05/0.1117, allocations: 83.27 kB / 378.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1117, allocations: 0 / 378.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.112, allocations: 48 kB / 378.1 MB, free: 12.02 MB / 318.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.0002263/0.1122, allocations: 151.2 kB / 378.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.645e-05/0.1123, allocations: 19.94 kB / 378.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1123, allocations: 0 / 378.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.572e-05/0.1123, allocations: 16.05 kB / 378.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.1125, allocations: 0 / 378.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.1127, allocations: 126.2 kB / 378.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.113, allocations: 0.6768 MB / 379.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.106e-05/0.1131, allocations: 4 kB / 379.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.1131, allocations: 15.44 kB / 379.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1131, allocations: 3.938 kB / 379.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of Templates: time 0.003353/0.1164, allocations: 1.082 MB / 380.2 MB, free: 9.863 MB / 318.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)