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.001153/0.001153, allocations: 107.5 kB / 16.92 MB, free: 6.332 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.001388/0.001388, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.444/1.444, allocations: 205.1 MB / 223.7 MB, free: 12.34 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.001161/0.001161, allocations: 47.94 kB / 280 MB, free: 3.191 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09247/0.09364, allocations: 46.64 MB / 326.6 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.002129/0.09583, allocations: 0.5383 MB / 327.2 MB, free: 3.938 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.0977, allocations: 1.501 MB / 328.7 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.09774, allocations: 0 / 328.7 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.09777, allocations: 7.938 kB / 328.7 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005361/0.09832, allocations: 171.5 kB / 328.8 MB, free: 2.242 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.114e-05/0.09835, allocations: 3.984 kB / 328.8 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.837e-05/0.0984, allocations: 23.86 kB / 328.9 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.09844, allocations: 4 kB / 328.9 MB, free: 2.211 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.09848, allocations: 4 kB / 328.9 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.111e-05/0.09854, allocations: 7.922 kB / 328.9 MB, free: 2.199 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.09855, allocations: 4 kB / 328.9 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.09889, allocations: 243.7 kB / 329.1 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.09891, allocations: 7.984 kB / 329.1 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/0.09893, allocations: 11.92 kB / 329.1 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.09918, allocations: 163.8 kB / 329.3 MB, free: 1.777 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.09919, allocations: 3.938 kB / 329.3 MB, free: 1.773 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.09919, allocations: 0 / 329.3 MB, free: 1.773 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.0992, allocations: 0 / 329.3 MB, free: 1.773 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.0003758/0.09958, allocations: 363.7 kB / 329.7 MB, free: 1.371 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.09962, allocations: 8.031 kB / 329.7 MB, free: 1.363 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.09965, allocations: 4.938 kB / 329.7 MB, free: 1.359 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.09978, allocations: 164.4 kB / 329.8 MB, free: 1.16 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.0998, allocations: 4.375 kB / 329.8 MB, free: 1.156 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.09983, allocations: 8.312 kB / 329.8 MB, free: 1.148 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.169e-05/0.09991, allocations: 34.02 kB / 329.9 MB, free: 1.109 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.09992, allocations: 3.906 kB / 329.9 MB, free: 1.105 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.09994, allocations: 0 / 329.9 MB, free: 1.105 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.09995, allocations: 3.938 kB / 329.9 MB, free: 1.102 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.31e-05/0.09999, allocations: 19.98 kB / 329.9 MB, free: 1.082 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.1001, allocations: 153.7 kB / 330.1 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.433e-05/0.1002, allocations: 38.5 kB / 330.1 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.1002, allocations: 12.94 kB / 330.1 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.1003, allocations: 4 kB / 330.1 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1003, allocations: 34.5 kB / 330.1 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1003, allocations: 4 kB / 330.1 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001232/0.1004, allocations: 45.69 kB / 330.2 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.1005, allocations: 55.41 kB / 330.2 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.223e-05/0.1005, allocations: 101.8 kB / 330.3 MB, free: 0.543 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.1006, allocations: 29.64 kB / 330.4 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.192e-05/0.1006, allocations: 84.14 kB / 330.5 MB, free: 432 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.1006, allocations: 11.75 kB / 330.5 MB, free: 420 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.1007, allocations: 17.72 kB / 330.5 MB, free: 396 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.1008, allocations: 322.8 kB / 330.8 MB, free: 64 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.1008, allocations: 8 kB / 330.8 MB, free: 56 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.902e-05/0.1008, allocations: 17.72 kB / 330.8 MB, free: 32 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.192e-05/0.1009, allocations: 25.72 kB / 330.8 MB, free: 0 / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/0.1009, allocations: 64 / 330.8 MB, free: 16 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.443e-05/0.101, allocations: 57.56 kB / 330.9 MB, free: 15.94 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.101, allocations: 11.88 kB / 330.9 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.101, allocations: 4.031 kB / 330.9 MB, free: 15.92 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.101, allocations: 7.984 kB / 330.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.74e-05/0.1011, allocations: 4 kB / 330.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1011, allocations: 4 kB / 330.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.1011, allocations: 0 / 330.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.1011, allocations: 0 / 330.9 MB, free: 15.91 MB / 286.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 7.174e-05/0.1012, allocations: 113.8 kB / 331 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.1012, allocations: 3.938 kB / 331 MB, free: 15.78 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.1013, allocations: 7.5 kB / 331.1 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1013, allocations: 4 kB / 331.1 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1013, allocations: 7.984 kB / 331.1 MB, free: 15.75 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.1013, allocations: 0 / 331.1 MB, free: 15.75 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.1014, allocations: 157.6 kB / 331.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1014, allocations: 128 / 331.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.1015, allocations: 12 kB / 331.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1015, allocations: 3.938 kB / 331.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.1015, allocations: 0 / 331.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1015, allocations: 0 / 331.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1015, allocations: 0 / 331.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.1016, allocations: 81.53 kB / 331.3 MB, free: 15.44 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.1017, allocations: 88.97 kB / 331.4 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.1017, allocations: 4.031 kB / 331.4 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.739e-05/0.1017, allocations: 3.938 kB / 331.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.1017, allocations: 0 / 331.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.1018, allocations: 0 / 331.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.974e-05/0.1018, allocations: 83.28 kB / 331.5 MB, free: 15.24 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1018, allocations: 0 / 331.5 MB, free: 15.24 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1021, allocations: 56.05 kB / 331.5 MB, free: 15.19 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.0002363/0.1023, allocations: 147.2 kB / 331.7 MB, free: 15.04 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.813e-05/0.1024, allocations: 19.98 kB / 331.7 MB, free: 15.02 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1024, allocations: 0 / 331.7 MB, free: 15.02 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/0.1024, allocations: 11.94 kB / 331.7 MB, free: 15 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.1026, allocations: 11.92 kB / 331.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.1028, allocations: 134.4 kB / 331.9 MB, free: 14.84 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.1031, allocations: 0.6807 MB / 332.5 MB, free: 14.13 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.006e-05/0.1032, allocations: 4 kB / 332.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/0.1032, allocations: 7.438 kB / 332.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1032, allocations: 0 / 332.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of Templates: time 0.003393/0.1066, allocations: 1.071 MB / 333.6 MB, free: 13.05 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)