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.001282/0.001281, allocations: 86.28 kB / 16.31 MB, free: 6.457 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: 179.6 kB / 17.21 MB, free: 6.328 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.772/1.772, allocations: 205.4 MB / 223.4 MB, free: 5.793 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.0004749/0.000475, allocations: 8 kB / 280.1 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.315, allocations: 47.59 MB / 327.7 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0006952/0.3157, allocations: 260.3 kB / 328 MB, free: 1.215 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.3172, allocations: 1.45 MB / 329.4 MB, free: 60 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.385e-05/0.3172, allocations: 0 / 329.4 MB, free: 60 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 1.053e-05/0.3173, allocations: 9.344 kB / 329.4 MB, free: 52 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005096/0.3178, allocations: 114.5 kB / 329.6 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.475e-05/0.3178, allocations: 9.047 kB / 329.6 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.84e-05/0.3179, allocations: 13.7 kB / 329.6 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.769e-05/0.3179, allocations: 1.281 kB / 329.6 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.273e-05/0.318, allocations: 11.84 kB / 329.6 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.855e-05/0.3181, allocations: 10.86 kB / 329.6 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.3181, allocations: 1.25 kB / 329.6 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.3185, allocations: 231.4 kB / 329.8 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.046e-06/0.3185, allocations: 0 / 329.8 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.3185, allocations: 31.05 kB / 329.9 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.3187, allocations: 123.9 kB / 330 MB, free: 15.74 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3187, allocations: 0 / 330 MB, free: 15.74 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3187, allocations: 0 / 330 MB, free: 15.74 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.3187, allocations: 0 / 330 MB, free: 15.74 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.0003882/0.3191, allocations: 347 kB / 330.3 MB, free: 15.37 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3192, allocations: 8.719 kB / 330.3 MB, free: 15.37 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.3192, allocations: 5 kB / 330.3 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.3194, allocations: 173.6 kB / 330.5 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3194, allocations: 5.109 kB / 330.5 MB, free: 15.15 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.3194, allocations: 1.031 kB / 330.5 MB, free: 15.15 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.249e-05/0.3195, allocations: 33.94 kB / 330.5 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3195, allocations: 1.094 kB / 330.5 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3195, allocations: 7.984 kB / 330.5 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3195, allocations: 0 / 330.5 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.387e-05/0.3196, allocations: 13.94 kB / 330.6 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.3197, allocations: 158.4 kB / 330.7 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.937e-05/0.3198, allocations: 32.89 kB / 330.7 MB, free: 14.87 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.3199, allocations: 13.06 kB / 330.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.3199, allocations: 0 / 330.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.3199, allocations: 39.78 kB / 330.8 MB, free: 14.81 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3199, allocations: 4 kB / 330.8 MB, free: 14.81 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001518/0.3201, allocations: 50.38 kB / 330.9 MB, free: 14.77 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.3201, allocations: 52.62 kB / 330.9 MB, free: 14.7 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.546e-05/0.3202, allocations: 103.2 kB / 331 MB, free: 14.6 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.3202, allocations: 29.64 kB / 331 MB, free: 14.56 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.3203, allocations: 81.11 kB / 331.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.3203, allocations: 18.08 kB / 331.1 MB, free: 14.46 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.3203, allocations: 0 / 331.1 MB, free: 14.46 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3205, allocations: 311.8 kB / 331.4 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.3205, allocations: 12.44 kB / 331.4 MB, free: 14.14 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.937e-05/0.3205, allocations: 15.16 kB / 331.5 MB, free: 14.13 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.3206, allocations: 12.55 kB / 331.5 MB, free: 14.12 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3206, allocations: 0 / 331.5 MB, free: 14.12 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.585e-05/0.3207, allocations: 59.12 kB / 331.5 MB, free: 14.07 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3207, allocations: 9.484 kB / 331.5 MB, free: 14.07 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3207, allocations: 0 / 331.5 MB, free: 14.07 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3207, allocations: 5.25 kB / 331.5 MB, free: 14.07 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.837e-05/0.3208, allocations: 6.938 kB / 331.6 MB, free: 14.07 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3208, allocations: 1.094 kB / 331.6 MB, free: 14.07 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.3208, allocations: 4.781 kB / 331.6 MB, free: 14.06 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.3208, allocations: 5.031 kB / 331.6 MB, free: 14.06 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.522e-05/0.3209, allocations: 107.8 kB / 331.7 MB, free: 13.95 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.321, allocations: 5.953 kB / 331.7 MB, free: 13.94 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.321, allocations: 16.67 kB / 331.7 MB, free: 13.92 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.321, allocations: 0 / 331.7 MB, free: 13.92 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.321, allocations: 4 kB / 331.7 MB, free: 13.91 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.321, allocations: 1.188 kB / 331.7 MB, free: 13.91 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.3211, allocations: 154.3 kB / 331.8 MB, free: 13.72 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3211, allocations: 0 / 331.8 MB, free: 13.72 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.3212, allocations: 6 kB / 331.9 MB, free: 13.72 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.3212, allocations: 1.516 kB / 331.9 MB, free: 13.72 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3212, allocations: 3.953 kB / 331.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3212, allocations: 1.062 kB / 331.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3212, allocations: 0 / 331.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.3214, allocations: 89.59 kB / 331.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.03e-05/0.3215, allocations: 82.11 kB / 332 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.3215, allocations: 1.344 kB / 332 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.871e-05/0.3215, allocations: 3.953 kB / 332 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.3215, allocations: 2.25 kB / 332 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.3215, allocations: 0 / 332 MB, free: 13.52 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.465e-05/0.3216, allocations: 87.48 kB / 332.1 MB, free: 13.44 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3216, allocations: 0 / 332.1 MB, free: 13.44 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.3219, allocations: 49.69 kB / 332.2 MB, free: 13.43 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.000387/0.3223, allocations: 155.7 kB / 332.3 MB, free: 13.32 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 9.436e-05/0.3224, allocations: 14.81 kB / 332.3 MB, free: 13.32 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3224, allocations: 1.188 kB / 332.3 MB, free: 13.32 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.672e-05/0.3224, allocations: 21.05 kB / 332.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.3226, allocations: 5.375 kB / 332.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.3229, allocations: 135.6 kB / 332.5 MB, free: 13.16 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.3232, allocations: 0.6784 MB / 333.2 MB, free: 12.46 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.302e-05/0.3233, allocations: 10.47 kB / 333.2 MB, free: 12.45 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.661e-05/0.3233, allocations: 9.594 kB / 333.2 MB, free: 12.44 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3233, allocations: 0 / 333.2 MB, free: 12.44 MB / 270.1 MB Notification: Performance of Templates: time 0.003909/0.3272, allocations: 1.066 MB / 334.3 MB, free: 11.89 MB / 270.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)