Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001296/0.001296, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001689/0.001689, allocations: 194.5 kB / 16.14 MB, free: 6.707 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.615/1.615, allocations: 205.1 MB / 222 MB, free: 4.766 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.001174/0.001174, allocations: 55.92 kB / 278 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2804, allocations: 46.63 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001824/0.2823, allocations: 0.6011 MB / 325.3 MB, free: 1.469 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.2841, allocations: 1.555 MB / 326.8 MB, free: 252 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.2842, allocations: 1.812 kB / 326.8 MB, free: 252 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.2842, allocations: 4 kB / 326.8 MB, free: 248 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004838/0.2847, allocations: 130.1 kB / 327 MB, free: 164 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.079e-05/0.2847, allocations: 8.891 kB / 327 MB, free: 156 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 4.248e-05/0.2848, allocations: 11.03 kB / 327 MB, free: 152 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.2848, allocations: 2.156 kB / 327 MB, free: 152 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.373e-05/0.2848, allocations: 3.5 kB / 327 MB, free: 152 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.2849, allocations: 10.27 kB / 327 MB, free: 144 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.2849, allocations: 9.219 kB / 327 MB, free: 136 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003319/0.2853, allocations: 235 kB / 327.2 MB, free: 12 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.2853, allocations: 7.969 kB / 327.2 MB, free: 4 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/0.2853, allocations: 14.34 kB / 327.3 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.2857, allocations: 168.9 kB / 327.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2857, allocations: 0 / 327.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2857, allocations: 0 / 327.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2857, allocations: 1.188 kB / 327.4 MB, free: 15.9 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.0005597/0.2863, allocations: 361.1 kB / 327.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2863, allocations: 9.188 kB / 327.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.2864, allocations: 3.156 kB / 327.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.2866, allocations: 166.7 kB / 328 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.2866, allocations: 1.812 kB / 328 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.2866, allocations: 2.031 kB / 328 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.2867, allocations: 37.95 kB / 328 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2868, allocations: 0 / 328 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.2868, allocations: 0 / 328 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2868, allocations: 1.188 kB / 328 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.488e-05/0.2868, allocations: 16.02 kB / 328 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.287, allocations: 159.4 kB / 328.2 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.886e-05/0.2871, allocations: 33.45 kB / 328.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.2871, allocations: 12.92 kB / 328.2 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.2871, allocations: 0 / 328.2 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.2872, allocations: 35.91 kB / 328.2 MB, free: 14.98 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.2872, allocations: 4 kB / 328.2 MB, free: 14.98 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001529/0.2873, allocations: 58.39 kB / 328.3 MB, free: 14.93 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.2874, allocations: 51.41 kB / 328.4 MB, free: 14.86 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.2875, allocations: 104.7 kB / 328.5 MB, free: 14.76 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.2876, allocations: 25.7 kB / 328.5 MB, free: 14.73 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.2876, allocations: 81.58 kB / 328.6 MB, free: 14.64 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.2876, allocations: 9.094 kB / 328.6 MB, free: 14.64 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.2877, allocations: 17.38 kB / 328.6 MB, free: 14.62 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.2879, allocations: 324 kB / 328.9 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.2879, allocations: 7.656 kB / 328.9 MB, free: 14.29 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.833e-05/0.2879, allocations: 19.88 kB / 328.9 MB, free: 14.27 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/0.288, allocations: 34.83 kB / 329 MB, free: 14.24 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.288, allocations: 0 / 329 MB, free: 14.24 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.498e-05/0.2881, allocations: 55.05 kB / 329 MB, free: 14.2 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2881, allocations: 13.58 kB / 329 MB, free: 14.19 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2881, allocations: 4.031 kB / 329 MB, free: 14.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2881, allocations: 1.031 kB / 329 MB, free: 14.18 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.391e-05/0.2882, allocations: 6.875 kB / 329 MB, free: 14.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2882, allocations: 1.219 kB / 329 MB, free: 14.18 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.2883, allocations: 5.25 kB / 329.1 MB, free: 14.18 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.2883, allocations: 1.125 kB / 329.1 MB, free: 14.18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/0.2884, allocations: 108.2 kB / 329.2 MB, free: 14.07 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.2884, allocations: 4.906 kB / 329.2 MB, free: 14.06 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.2884, allocations: 12.58 kB / 329.2 MB, free: 14.04 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2884, allocations: 5.5 kB / 329.2 MB, free: 14.04 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.2884, allocations: 0 / 329.2 MB, free: 14.04 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2884, allocations: 0 / 329.2 MB, free: 14.04 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.2886, allocations: 151.1 kB / 329.3 MB, free: 13.85 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2886, allocations: 0 / 329.3 MB, free: 13.85 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.584e-05/0.2887, allocations: 13.72 kB / 329.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2887, allocations: 4.906 kB / 329.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.2887, allocations: 1.188 kB / 329.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2887, allocations: 3.938 kB / 329.4 MB, free: 13.83 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2887, allocations: 0 / 329.4 MB, free: 13.83 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.2888, allocations: 81.89 kB / 329.4 MB, free: 13.75 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.2889, allocations: 82.17 kB / 329.5 MB, free: 13.65 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.2889, allocations: 5.312 kB / 329.5 MB, free: 13.65 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.815e-05/0.2889, allocations: 0 / 329.5 MB, free: 13.65 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.289, allocations: 1.094 kB / 329.5 MB, free: 13.65 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.289, allocations: 1.031 kB / 329.5 MB, free: 13.65 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.1e-05/0.289, allocations: 84.23 kB / 329.6 MB, free: 13.57 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.289, allocations: 0 / 329.6 MB, free: 13.57 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.2893, allocations: 56.75 kB / 329.7 MB, free: 13.55 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 (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.0003209/0.2896, allocations: 151.8 kB / 329.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 9.887e-05/0.2897, allocations: 24.59 kB / 329.8 MB, free: 13.43 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2898, allocations: 0 / 329.8 MB, free: 13.43 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.654e-05/0.2898, allocations: 9.578 kB / 329.8 MB, free: 13.43 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.2899, allocations: 9.094 kB / 329.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.2902, allocations: 145.4 kB / 330 MB, free: 13.28 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.2907, allocations: 0.6786 MB / 330.7 MB, free: 12.58 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.2908, allocations: 7.469 kB / 330.7 MB, free: 12.57 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.2908, allocations: 8.688 kB / 330.7 MB, free: 12.57 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2908, allocations: 0 / 330.7 MB, free: 12.57 MB / 270.1 MB Notification: Performance of Templates: time 0.003873/0.2947, allocations: 1.059 MB / 331.7 MB, free: 12.02 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile (rm -f Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1)