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.00143/0.00143, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 191.7 kB / 16.53 MB, free: 6.391 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.599/1.599, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4124/0.4124, allocations: 54.95 MB / 324.7 MB, free: 15.91 MB / 270.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.001452/0.001452, allocations: 71.89 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1734, allocations: 59.6 MB / 454.9 MB, free: 140 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Polynominal): time 0.2336/0.4071, allocations: 1.386 MB / 456.3 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003298/0.4075, allocations: 81.06 kB / 456.4 MB, free: 38.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.4076, allocations: 0 / 456.4 MB, free: 38.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.179e-05/0.4077, allocations: 2.531 kB / 456.4 MB, free: 38.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.4077, allocations: 2.906 kB / 456.4 MB, free: 38.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.408, allocations: 20.86 kB / 456.4 MB, free: 38.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.301e-05/0.4081, allocations: 23.45 kB / 456.4 MB, free: 38.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4082, allocations: 13.28 kB / 456.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.588e-05/0.4083, allocations: 9.891 kB / 456.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.4083, allocations: 12.27 kB / 456.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.4083, allocations: 2.719 kB / 456.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.4084, allocations: 22.53 kB / 456.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.4085, allocations: 2.688 kB / 456.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.4085, allocations: 12.86 kB / 456.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.4087, allocations: 44.19 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4087, allocations: 3.938 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4087, allocations: 2.438 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.4087, allocations: 0 / 456.6 MB, free: 38.98 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.0003929/0.4091, allocations: 343.4 kB / 456.9 MB, free: 38.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.4092, allocations: 8.812 kB / 456.9 MB, free: 38.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.4092, allocations: 3.719 kB / 456.9 MB, free: 38.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.802e-05/0.4093, allocations: 166.2 kB / 457.1 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.4093, allocations: 5.484 kB / 457.1 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.4093, allocations: 1.031 kB / 457.1 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.4095, allocations: 60.47 kB / 457.1 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.4095, allocations: 0 / 457.1 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.4095, allocations: 0 / 457.1 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4095, allocations: 1.281 kB / 457.1 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.4097, allocations: 37.31 kB / 457.2 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.41, allocations: 265.5 kB / 457.4 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.4101, allocations: 41.56 kB / 457.5 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.37e-05/0.4102, allocations: 28.72 kB / 457.5 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.4103, allocations: 4.438 kB / 457.5 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.4103, allocations: 30.56 kB / 457.5 MB, free: 38.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4103, allocations: 0.9688 kB / 457.5 MB, free: 38.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003485/0.4106, allocations: 91.98 kB / 457.6 MB, free: 38.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.4107, allocations: 51.41 kB / 457.7 MB, free: 37.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.4108, allocations: 108.9 kB / 457.8 MB, free: 37.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.4108, allocations: 25.7 kB / 457.8 MB, free: 37.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.4108, allocations: 86.48 kB / 457.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.4108, allocations: 6.562 kB / 457.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.4109, allocations: 13.33 kB / 457.9 MB, free: 37.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.958e-05/0.4109, allocations: 323 kB / 458.2 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.93e-05/0.411, allocations: 15.02 kB / 458.2 MB, free: 37.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.4111, allocations: 24.56 kB / 458.3 MB, free: 37.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.4112, allocations: 45.2 kB / 458.3 MB, free: 37.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4112, allocations: 0.5 kB / 458.3 MB, free: 37.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001884/0.4114, allocations: 70.09 kB / 458.4 MB, free: 37.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.4115, allocations: 10.66 kB / 458.4 MB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4115, allocations: 0 / 458.4 MB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.4115, allocations: 0 / 458.4 MB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.733e-05/0.4116, allocations: 10.12 kB / 458.4 MB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4116, allocations: 3.625 kB / 458.4 MB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.4117, allocations: 8.938 kB / 458.4 MB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-06/0.4117, allocations: 3.344 kB / 458.4 MB, free: 37.37 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 6.417e-05/0.4118, allocations: 114.3 kB / 458.5 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.4118, allocations: 3.906 kB / 458.5 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.412, allocations: 79.41 kB / 458.6 MB, free: 37.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.412, allocations: 3.75 kB / 458.6 MB, free: 37.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4121, allocations: 3.969 kB / 458.6 MB, free: 37.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.4121, allocations: 0 / 458.6 MB, free: 37.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.4122, allocations: 164.2 kB / 458.8 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4122, allocations: 0 / 458.8 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.4122, allocations: 9.172 kB / 458.8 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4123, allocations: 0.8125 kB / 458.8 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.4123, allocations: 0 / 458.8 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4123, allocations: 6.031 kB / 458.8 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4123, allocations: 0 / 458.8 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.4125, allocations: 171.7 kB / 459 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.4125, allocations: 79.17 kB / 459 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.4125, allocations: 0.875 kB / 459 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.4126, allocations: 8.484 kB / 459 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.4127, allocations: 4.906 kB / 459.1 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.4127, allocations: 2.781 kB / 459.1 MB, free: 36.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.554e-05/0.4127, allocations: 87.39 kB / 459.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4127, allocations: 0 / 459.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.4129, allocations: 8.062 kB / 459.1 MB, free: 36.73 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.0001082/0.413, allocations: 101.8 kB / 459.2 MB, free: 36.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.4132, allocations: 40.67 kB / 459.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4133, allocations: 0 / 459.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.915e-05/0.4133, allocations: 23.44 kB / 459.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.4136, allocations: 10.81 kB / 459.3 MB, free: 36.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.4139, allocations: 125.3 kB / 459.4 MB, free: 36.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.4141, allocations: 0.684 MB / 460.1 MB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.199e-05/0.4141, allocations: 1.438 kB / 460.1 MB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.4141, allocations: 7.438 kB / 460.1 MB, free: 35.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4141, allocations: 2.875 kB / 460.1 MB, free: 35.82 MB / 382.1 MB Notification: Performance of Templates: time 0.002496/0.4166, allocations: 0.5342 MB / 460.7 MB, free: 35.79 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)