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.001073/0.001074, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001478/0.001478, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.4 MB / 222.1 MB, free: 5.73 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.0004744/0.0004745, allocations: 16 kB / 278.9 MB, free: 12.93 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2896, allocations: 47.59 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0007366/0.2904, allocations: 260.4 kB / 326.7 MB, free: 1.199 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.292, allocations: 1.443 MB / 328.2 MB, free: 52 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.2921, allocations: 0 / 328.2 MB, free: 52 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.2921, allocations: 4 kB / 328.2 MB, free: 48 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005419/0.2926, allocations: 131 kB / 328.3 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.015e-05/0.2927, allocations: 1.781 kB / 328.3 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.138e-05/0.2927, allocations: 22.81 kB / 328.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.2928, allocations: 0 / 328.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.591e-05/0.2928, allocations: 7.438 kB / 328.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.483e-05/0.2929, allocations: 6.812 kB / 328.3 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.2929, allocations: 0 / 328.3 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003605/0.2933, allocations: 232.2 kB / 328.6 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.2933, allocations: 5.172 kB / 328.6 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.2933, allocations: 26.86 kB / 328.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.2936, allocations: 117.8 kB / 328.7 MB, free: 15.73 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/0.2936, allocations: 0 / 328.7 MB, free: 15.73 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.2936, allocations: 3.938 kB / 328.7 MB, free: 15.73 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2936, allocations: 1.094 kB / 328.7 MB, free: 15.73 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.0006051/0.2942, allocations: 354.9 kB / 329.1 MB, free: 15.35 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.2943, allocations: 9.562 kB / 329.1 MB, free: 15.35 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.2943, allocations: 5.375 kB / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.2945, allocations: 161.6 kB / 329.2 MB, free: 15.15 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.2946, allocations: 3.953 kB / 329.2 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.2946, allocations: 5.359 kB / 329.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.2947, allocations: 38.31 kB / 329.3 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.2947, allocations: 0 / 329.3 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.2947, allocations: 1.125 kB / 329.3 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2948, allocations: 0 / 329.3 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.901e-05/0.2948, allocations: 13.92 kB / 329.3 MB, free: 15.09 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.295, allocations: 166 kB / 329.5 MB, free: 14.89 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.561e-05/0.2952, allocations: 33.89 kB / 329.5 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.2952, allocations: 16.42 kB / 329.5 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.2952, allocations: 0 / 329.5 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.2953, allocations: 31.75 kB / 329.5 MB, free: 14.8 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2953, allocations: 7.938 kB / 329.6 MB, free: 14.79 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001909/0.2955, allocations: 49.66 kB / 329.6 MB, free: 14.75 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.2955, allocations: 52.56 kB / 329.7 MB, free: 14.69 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.2956, allocations: 103.3 kB / 329.8 MB, free: 14.58 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.2957, allocations: 26.73 kB / 329.8 MB, free: 14.55 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.2957, allocations: 85.36 kB / 329.9 MB, free: 14.46 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.2958, allocations: 8.938 kB / 329.9 MB, free: 14.46 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.2958, allocations: 0 / 329.9 MB, free: 14.46 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2959, allocations: 317.2 kB / 330.2 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.2959, allocations: 10.64 kB / 330.2 MB, free: 14.13 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.572e-05/0.296, allocations: 19.91 kB / 330.2 MB, free: 14.11 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.855e-05/0.296, allocations: 8.812 kB / 330.2 MB, free: 14.11 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.296, allocations: 0 / 330.2 MB, free: 14.11 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.142e-05/0.2961, allocations: 59.17 kB / 330.3 MB, free: 14.06 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2962, allocations: 4.375 kB / 330.3 MB, free: 14.06 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2962, allocations: 1.469 kB / 330.3 MB, free: 14.06 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2962, allocations: 4.031 kB / 330.3 MB, free: 14.06 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.282e-05/0.2963, allocations: 6.906 kB / 330.3 MB, free: 14.06 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.2963, allocations: 5.859 kB / 330.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.533e-05/0.2963, allocations: 5.375 kB / 330.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.2963, allocations: 1.656 kB / 330.3 MB, free: 14.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.788e-05/0.2964, allocations: 114.8 kB / 330.4 MB, free: 13.93 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.2965, allocations: 5.422 kB / 330.4 MB, free: 13.93 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.2965, allocations: 4.875 kB / 330.4 MB, free: 13.91 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2965, allocations: 0 / 330.4 MB, free: 13.91 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2965, allocations: 4.422 kB / 330.4 MB, free: 13.91 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2965, allocations: 1.531 kB / 330.4 MB, free: 13.91 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.2967, allocations: 157.8 kB / 330.6 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2967, allocations: 1.094 kB / 330.6 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.166e-05/0.2968, allocations: 5.812 kB / 330.6 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.2968, allocations: 3.984 kB / 330.6 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.2968, allocations: 16.97 kB / 330.6 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2968, allocations: 0 / 330.6 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2968, allocations: 1.438 kB / 330.6 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.297, allocations: 72.88 kB / 330.7 MB, free: 13.62 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.297, allocations: 82.45 kB / 330.8 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.297, allocations: 8.938 kB / 330.8 MB, free: 13.51 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.999e-05/0.2971, allocations: 7.953 kB / 330.8 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.2971, allocations: 8.953 kB / 330.8 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.2971, allocations: 1.188 kB / 330.8 MB, free: 13.5 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.743e-05/0.2972, allocations: 79.66 kB / 330.9 MB, free: 13.42 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2972, allocations: 0 / 330.9 MB, free: 13.42 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003303/0.2975, allocations: 56.2 kB / 330.9 MB, free: 13.41 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 (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.0003285/0.2978, allocations: 147.8 kB / 331.1 MB, free: 13.3 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.298, allocations: 20.7 kB / 331.1 MB, free: 13.29 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.298, allocations: 0 / 331.1 MB, free: 13.29 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.84e-05/0.298, allocations: 9.156 kB / 331.1 MB, free: 13.29 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.2982, allocations: 8.969 kB / 331.1 MB, free: 13.28 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.2985, allocations: 132.5 kB / 331.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.2989, allocations: 0.679 MB / 331.9 MB, free: 12.45 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.775e-05/0.2989, allocations: 2.375 kB / 331.9 MB, free: 12.45 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.299, allocations: 8.688 kB / 331.9 MB, free: 12.44 MB / 270.1 MB Notification: Performance of SimCode: time 5.51e-07/0.299, allocations: 1.188 kB / 331.9 MB, free: 12.44 MB / 270.1 MB Notification: Performance of Templates: time 0.003822/0.3028, allocations: 1.065 MB / 333 MB, free: 11.88 MB / 270.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)