Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) 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(Annex60.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal") translateModel(Annex60.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001468, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00179/0.001791, allocations: 192.8 kB / 16.14 MB, free: 6.66 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.521/1.521, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3693/0.3693, allocations: 54.94 MB / 324.3 MB, free: 176 kB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001407, allocations: 63.91 kB / 394.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1466, allocations: 59.58 MB / 454.2 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Polynominal): time 0.2633/0.4099, allocations: 1.469 MB / 455.7 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004704/0.4105, allocations: 79.66 kB / 455.8 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.4105, allocations: 0 / 455.8 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.515e-05/0.4107, allocations: 3.188 kB / 455.8 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.235e-05/0.4107, allocations: 6.891 kB / 455.8 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.411, allocations: 21.19 kB / 455.8 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.518e-05/0.4111, allocations: 18.16 kB / 455.8 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.4112, allocations: 9.969 kB / 455.8 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.366e-05/0.4113, allocations: 10.42 kB / 455.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.117e-05/0.4114, allocations: 9.922 kB / 455.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.4114, allocations: 0.5625 kB / 455.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.4115, allocations: 17.3 kB / 455.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.4116, allocations: 10.89 kB / 455.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.4116, allocations: 8.891 kB / 455.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.4118, allocations: 41.22 kB / 455.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4118, allocations: 2.875 kB / 455.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4118, allocations: 0 / 455.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.4119, allocations: 0 / 455.9 MB, free: 39.02 MB / 382.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.0005699/0.4124, allocations: 342.6 kB / 456.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.4125, allocations: 8.438 kB / 456.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.4125, allocations: 3.875 kB / 456.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.877e-05/0.4126, allocations: 170.5 kB / 456.5 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.4127, allocations: 3.531 kB / 456.5 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.4127, allocations: 1.219 kB / 456.5 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.4129, allocations: 57.5 kB / 456.5 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4129, allocations: 0 / 456.5 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.4129, allocations: 0 / 456.5 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4129, allocations: 0 / 456.5 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.4131, allocations: 39.11 kB / 456.6 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.4134, allocations: 266 kB / 456.8 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.4136, allocations: 40.41 kB / 456.9 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.589e-05/0.4137, allocations: 27.14 kB / 456.9 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.4137, allocations: 1.969 kB / 456.9 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.4137, allocations: 34.84 kB / 456.9 MB, free: 38.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4137, allocations: 0 / 456.9 MB, free: 38.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003454/0.4141, allocations: 87.2 kB / 457 MB, free: 38.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.4141, allocations: 52.59 kB / 457.1 MB, free: 38.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.785e-05/0.4142, allocations: 108.3 kB / 457.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.4142, allocations: 29.02 kB / 457.2 MB, free: 37.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.4142, allocations: 87.92 kB / 457.3 MB, free: 37.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.4143, allocations: 3.906 kB / 457.3 MB, free: 37.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.4143, allocations: 14.16 kB / 457.3 MB, free: 37.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.4144, allocations: 315.4 kB / 457.6 MB, free: 37.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-05/0.4145, allocations: 19.73 kB / 457.6 MB, free: 37.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.689e-05/0.4145, allocations: 20.25 kB / 457.6 MB, free: 37.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.4147, allocations: 46.52 kB / 457.7 MB, free: 37.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4147, allocations: 3.938 kB / 457.7 MB, free: 37.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001709/0.4149, allocations: 71.36 kB / 457.8 MB, free: 37.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4149, allocations: 6.094 kB / 457.8 MB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.4149, allocations: 4.031 kB / 457.8 MB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4149, allocations: 0.6562 kB / 457.8 MB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.415, allocations: 11.45 kB / 457.8 MB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.415, allocations: 0 / 457.8 MB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.4151, allocations: 11.58 kB / 457.8 MB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.4151, allocations: 1.125 kB / 457.8 MB, free: 37.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 5.602e-05/0.4152, allocations: 114.8 kB / 457.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.4152, allocations: 4.406 kB / 457.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.4154, allocations: 80.23 kB / 458 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4154, allocations: 1.172 kB / 458 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4154, allocations: 2 kB / 458 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4155, allocations: 2.969 kB / 458 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.4156, allocations: 168.4 kB / 458.2 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4156, allocations: 1.031 kB / 458.2 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.4157, allocations: 6.875 kB / 458.2 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4157, allocations: 3.938 kB / 458.2 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.4157, allocations: 0 / 458.2 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4157, allocations: 0 / 458.2 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4157, allocations: 1.641 kB / 458.2 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.4159, allocations: 169.5 kB / 458.3 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.416, allocations: 80.14 kB / 458.4 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.416, allocations: 3.906 kB / 458.4 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.4161, allocations: 3.938 kB / 458.4 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.4161, allocations: 8.672 kB / 458.4 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.4161, allocations: 1.594 kB / 458.4 MB, free: 36.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.509e-05/0.4162, allocations: 84.91 kB / 458.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4162, allocations: 1.312 kB / 458.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.4164, allocations: 7.125 kB / 458.5 MB, free: 36.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0001815/0.4166, allocations: 108.8 kB / 458.6 MB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.4168, allocations: 39.52 kB / 458.7 MB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4168, allocations: 0 / 458.7 MB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.146e-05/0.4169, allocations: 26.66 kB / 458.7 MB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.4173, allocations: 18.36 kB / 458.7 MB, free: 36.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.4177, allocations: 119.5 kB / 458.8 MB, free: 36.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.4179, allocations: 0.6781 MB / 459.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.413e-05/0.4179, allocations: 0 / 459.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.418, allocations: 13.16 kB / 459.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.418, allocations: 0 / 459.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of Templates: time 0.002461/0.4204, allocations: 478.1 kB / 460 MB, free: 35.83 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe 2>&1)