Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial") translateModel(Annex60.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006503/0.006503, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001131/0.001131, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.549/1.549, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4161/0.4161, allocations: 54.95 MB / 324.9 MB, free: 15.89 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.001684/0.001684, allocations: 69.34 kB / 456.2 MB, free: 38.22 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1366, allocations: 59.59 MB / 0.5037 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.Polynomial): time 0.00165/0.1383, allocations: 0.5288 MB / 0.5043 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002629/0.1386, allocations: 40.31 kB / 0.5043 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.1386, allocations: 0 / 0.5043 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.1386, allocations: 0 / 0.5043 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.295e-06/0.1387, allocations: 4 kB / 0.5043 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.139, allocations: 10.2 kB / 0.5043 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.847e-05/0.1391, allocations: 2.219 kB / 0.5043 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.727e-05/0.1391, allocations: 0 / 0.5043 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.977e-05/0.1392, allocations: 9.969 kB / 0.5043 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.1392, allocations: 0 / 0.5043 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1392, allocations: 0 / 0.5043 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1394, allocations: 16.98 kB / 0.5043 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.1394, allocations: 3.984 kB / 0.5043 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.1394, allocations: 0 / 0.5043 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.1395, allocations: 19.22 kB / 0.5044 GB, free: 9.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1395, allocations: 4 kB / 0.5044 GB, free: 9.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1395, allocations: 0 / 0.5044 GB, free: 9.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1396, allocations: 1.406 kB / 0.5044 GB, free: 9.211 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000323/0.1399, allocations: 314.8 kB / 0.5047 GB, free: 8.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1399, allocations: 9.938 kB / 0.5047 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.14, allocations: 4.922 kB / 0.5047 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.766e-05/0.14, allocations: 160.4 kB / 0.5048 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1401, allocations: 2.5 kB / 0.5048 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.1401, allocations: 4.359 kB / 0.5048 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.1402, allocations: 40.27 kB / 0.5049 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1402, allocations: 0 / 0.5049 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1402, allocations: 0 / 0.5049 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1402, allocations: 0 / 0.5049 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.655e-05/0.1403, allocations: 2.219 kB / 0.5049 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.1404, allocations: 153.6 kB / 0.505 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.821e-05/0.1404, allocations: 18.3 kB / 0.505 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.1405, allocations: 8.859 kB / 0.505 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/0.1405, allocations: 7.062 kB / 0.5051 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.1405, allocations: 38.5 kB / 0.5051 GB, free: 8.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1405, allocations: 0 / 0.5051 GB, free: 8.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001456/0.1407, allocations: 40.81 kB / 0.5051 GB, free: 8.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1407, allocations: 51.41 kB / 0.5052 GB, free: 8.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.35e-05/0.1408, allocations: 89.86 kB / 0.5053 GB, free: 8.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.1408, allocations: 25.7 kB / 0.5053 GB, free: 8.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.316e-05/0.1408, allocations: 84.27 kB / 0.5054 GB, free: 8.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.1408, allocations: 2.656 kB / 0.5054 GB, free: 8.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.1409, allocations: 9.719 kB / 0.5054 GB, free: 7.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.953e-05/0.1409, allocations: 313.5 kB / 0.5057 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.1409, allocations: 4 kB / 0.5057 GB, free: 7.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.1409, allocations: 3.938 kB / 0.5057 GB, free: 7.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.961e-05/0.141, allocations: 12.97 kB / 0.5057 GB, free: 7.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.141, allocations: 8 kB / 0.5057 GB, free: 7.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.449e-05/0.141, allocations: 35.14 kB / 0.5057 GB, free: 7.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.141, allocations: 5.5 kB / 0.5057 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1411, allocations: 0 / 0.5057 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1411, allocations: 0 / 0.5057 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.1411, allocations: 2.75 kB / 0.5057 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1412, allocations: 0 / 0.5057 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.305e-05/0.1412, allocations: 1.375 kB / 0.5057 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.1412, allocations: 1.375 kB / 0.5058 GB, free: 7.621 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 (1): * Single equations (assignments): 1 * 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 4.872e-05/0.1412, allocations: 113.9 kB / 0.5059 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.1413, allocations: 13.22 kB / 0.5059 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.129e-05/0.1414, allocations: 38.27 kB / 0.5059 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.1414, allocations: 1.375 kB / 0.5059 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1414, allocations: 0 / 0.5059 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1414, allocations: 3.984 kB / 0.5059 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.324e-05/0.1414, allocations: 143.1 kB / 0.506 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1414, allocations: 4.031 kB / 0.5061 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-05/0.1415, allocations: 6.688 kB / 0.5061 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.1415, allocations: 0 / 0.5061 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1415, allocations: 1.375 kB / 0.5061 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1415, allocations: 0 / 0.5061 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1415, allocations: 0 / 0.5061 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.625e-05/0.1416, allocations: 63.94 kB / 0.5061 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.1416, allocations: 81.05 kB / 0.5062 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.1416, allocations: 5.406 kB / 0.5062 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.084e-05/0.1416, allocations: 3.938 kB / 0.5062 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.1416, allocations: 1.375 kB / 0.5062 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1416, allocations: 5.375 kB / 0.5062 GB, free: 7.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.411e-05/0.1417, allocations: 75.28 kB / 0.5063 GB, free: 6.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1417, allocations: 0 / 0.5063 GB, free: 6.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002092/0.1419, allocations: 13.48 kB / 0.5063 GB, free: 6.984 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 (1): * Single equations (assignments): 1 * 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.0001656/0.1421, allocations: 97.12 kB / 0.5064 GB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.555e-05/0.1422, allocations: 8.125 kB / 0.5064 GB, free: 6.891 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1422, allocations: 0 / 0.5064 GB, free: 6.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.997e-06/0.1422, allocations: 6.688 kB / 0.5064 GB, free: 6.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.1423, allocations: 8.75 kB / 0.5064 GB, free: 6.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002113/0.1425, allocations: 93.11 kB / 0.5065 GB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.1427, allocations: 0.6703 MB / 0.5072 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.429e-05/0.1427, allocations: 5.5 kB / 0.5072 GB, free: 6.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.1427, allocations: 8.812 kB / 0.5072 GB, free: 6.066 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1427, allocations: 0 / 0.5072 GB, free: 6.066 MB / 382.1 MB Notification: Performance of Templates: time 0.002326/0.1451, allocations: 295 kB / 0.5075 GB, free: 5.906 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)