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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 97.5 kB / 16.5 MB, free: 6.641 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.001653/0.001653, allocations: 193.3 kB / 17.42 MB, free: 6.066 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.493/1.493, allocations: 205.1 MB / 223.3 MB, free: 12.45 MB / 190.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.001276/0.001276, allocations: 56.3 kB / 279.3 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09761/0.0989, allocations: 46.63 MB / 326 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001702/0.1006, allocations: 0.5986 MB / 326.6 MB, free: 4.293 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1024, allocations: 1.553 MB / 328.1 MB, free: 2.723 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.843e-05/0.1025, allocations: 0 / 328.1 MB, free: 2.723 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.1025, allocations: 7.938 kB / 328.1 MB, free: 2.715 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004977/0.103, allocations: 127.7 kB / 328.2 MB, free: 2.59 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.903e-05/0.103, allocations: 4 kB / 328.2 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.101e-05/0.1031, allocations: 19.86 kB / 328.3 MB, free: 2.566 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.01e-05/0.1031, allocations: 4 kB / 328.3 MB, free: 2.562 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.99e-05/0.1032, allocations: 4 kB / 328.3 MB, free: 2.559 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.1033, allocations: 11.92 kB / 328.3 MB, free: 2.547 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.1033, allocations: 4 kB / 328.3 MB, free: 2.543 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.1036, allocations: 235.7 kB / 328.5 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.1036, allocations: 8 kB / 328.5 MB, free: 2.305 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.1037, allocations: 7.938 kB / 328.5 MB, free: 2.297 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.1039, allocations: 163.8 kB / 328.7 MB, free: 2.137 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1039, allocations: 0 / 328.7 MB, free: 2.137 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1039, allocations: 7.938 kB / 328.7 MB, free: 2.129 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1039, allocations: 0 / 328.7 MB, free: 2.129 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.0004141/0.1043, allocations: 363.7 kB / 329.1 MB, free: 1.727 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1044, allocations: 12.02 kB / 329.1 MB, free: 1.715 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.1044, allocations: 4.938 kB / 329.1 MB, free: 1.711 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.1045, allocations: 164.4 kB / 329.2 MB, free: 1.512 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1046, allocations: 4.375 kB / 329.2 MB, free: 1.508 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.1046, allocations: 4.375 kB / 329.2 MB, free: 1.504 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.387e-05/0.1047, allocations: 38 kB / 329.3 MB, free: 1.461 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1047, allocations: 3.906 kB / 329.3 MB, free: 1.457 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1047, allocations: 3.984 kB / 329.3 MB, free: 1.453 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1047, allocations: 0 / 329.3 MB, free: 1.453 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.675e-05/0.1048, allocations: 11.98 kB / 329.3 MB, free: 1.441 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.1049, allocations: 153.7 kB / 329.4 MB, free: 1.242 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.155e-05/0.105, allocations: 38.55 kB / 329.5 MB, free: 1.195 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.1051, allocations: 12.8 kB / 329.5 MB, free: 1.18 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.1051, allocations: 0 / 329.5 MB, free: 1.18 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.1051, allocations: 46.5 kB / 329.5 MB, free: 1.125 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 6.92e-07/0.1051, allocations: 0 / 329.5 MB, free: 1.125 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001422/0.1053, allocations: 53.72 kB / 329.6 MB, free: 1.066 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.1053, allocations: 55.39 kB / 329.6 MB, free: 1 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.1054, allocations: 101.9 kB / 329.7 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.1054, allocations: 25.7 kB / 329.8 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.1055, allocations: 84.14 kB / 329.9 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.1055, allocations: 11.8 kB / 329.9 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.1055, allocations: 17.72 kB / 329.9 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1057, allocations: 310.8 kB / 330.2 MB, free: 436 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.1057, allocations: 8 kB / 330.2 MB, free: 428 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/0.1057, allocations: 29.7 kB / 330.2 MB, free: 392 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.343e-05/0.1058, allocations: 25.66 kB / 330.2 MB, free: 360 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1058, allocations: 0 / 330.2 MB, free: 360 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.887e-05/0.1059, allocations: 57.69 kB / 330.3 MB, free: 296 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1059, allocations: 7.938 kB / 330.3 MB, free: 288 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1059, allocations: 3.938 kB / 330.3 MB, free: 284 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1059, allocations: 0 / 330.3 MB, free: 284 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.106, allocations: 11.94 kB / 330.3 MB, free: 272 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.106, allocations: 4.031 kB / 330.3 MB, free: 268 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.225e-05/0.106, allocations: 7.984 kB / 330.3 MB, free: 260 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.106, allocations: 0 / 330.3 MB, free: 260 kB / 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.252e-05/0.1061, allocations: 113.8 kB / 330.5 MB, free: 136 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.1062, allocations: 7.938 kB / 330.5 MB, free: 128 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.1062, allocations: 3.5 kB / 330.5 MB, free: 116 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1062, allocations: 0 / 330.5 MB, free: 116 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1062, allocations: 0 / 330.5 MB, free: 116 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1062, allocations: 432 / 330.5 MB, free: 116 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.1064, allocations: 169.6 kB / 330.6 MB, free: 15.9 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1064, allocations: 0 / 330.6 MB, free: 15.9 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.1064, allocations: 4 kB / 330.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1064, allocations: 3.938 kB / 330.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1065, allocations: 7.984 kB / 330.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1065, allocations: 0 / 330.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.1065, allocations: 3.984 kB / 330.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.1066, allocations: 77.06 kB / 330.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.1067, allocations: 81.11 kB / 330.8 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.1067, allocations: 4 kB / 330.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.741e-05/0.1067, allocations: 4.156 kB / 330.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.1067, allocations: 3.984 kB / 330.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.1067, allocations: 7.938 kB / 330.8 MB, free: 15.67 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.032e-05/0.1068, allocations: 83.28 kB / 330.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1068, allocations: 0 / 330.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.107, allocations: 51.98 kB / 331 MB, free: 15.54 MB / 286.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.0002533/0.1073, allocations: 151.2 kB / 331.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.33e-05/0.1074, allocations: 23.92 kB / 331.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1074, allocations: 0 / 331.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-05/0.1074, allocations: 8 kB / 331.1 MB, free: 15.35 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.1076, allocations: 0 / 331.1 MB, free: 15.35 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.1079, allocations: 135.9 kB / 331.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.1081, allocations: 0.677 MB / 331.9 MB, free: 14.49 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.1082, allocations: 12.05 kB / 332 MB, free: 14.48 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.1083, allocations: 7.438 kB / 332 MB, free: 14.47 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1083, allocations: 0 / 332 MB, free: 14.47 MB / 286.1 MB Notification: Performance of Templates: time 0.00304/0.1113, allocations: 1.058 MB / 333 MB, free: 13.41 MB / 286.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)