Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009211/0.0009214, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001076/0.001076, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9931/0.9931, allocations: 135.3 MB / 426.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003727, allocations: 19.94 kB / 0.507 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1961, allocations: 82.31 MB / 0.5874 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.0007555/0.197, allocations: 299.1 kB / 0.5877 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002315/0.1972, allocations: 27.98 kB / 0.5877 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.066e-05/0.1972, allocations: 3.938 kB / 0.5877 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.789e-06/0.1973, allocations: 4 kB / 0.5877 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.923e-06/0.1973, allocations: 0 / 0.5877 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.1976, allocations: 15.97 kB / 0.5877 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.327e-05/0.1976, allocations: 4 kB / 0.5877 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.1977, allocations: 0 / 0.5877 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.831e-05/0.1977, allocations: 0 / 0.5877 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.1977, allocations: 7.938 kB / 0.5877 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.747e-06/0.1978, allocations: 0 / 0.5877 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.495e-05/0.1979, allocations: 19.92 kB / 0.5878 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.1979, allocations: 7.984 kB / 0.5878 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.1979, allocations: 29.7 kB / 0.5878 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.618e-05/0.198, allocations: 7.984 kB / 0.5878 GB, free: 2.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.198, allocations: 0 / 0.5878 GB, free: 2.555 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.198, allocations: 3.938 kB / 0.5878 GB, free: 2.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.198, allocations: 0 / 0.5878 GB, free: 2.551 MB / 494.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.0002984/0.1983, allocations: 307.4 kB / 0.5881 GB, free: 2.203 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1984, allocations: 8.031 kB / 0.5881 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.1984, allocations: 0 / 0.5881 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1985, allocations: 163 kB / 0.5883 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1985, allocations: 4 kB / 0.5883 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.1986, allocations: 4 kB / 0.5883 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.1987, allocations: 33.69 kB / 0.5883 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.1987, allocations: 0 / 0.5883 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.1987, allocations: 0 / 0.5883 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1987, allocations: 0 / 0.5883 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.775e-05/0.1987, allocations: 4 kB / 0.5883 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.1989, allocations: 145.6 kB / 0.5884 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.785e-05/0.199, allocations: 30.53 kB / 0.5885 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.199, allocations: 8.859 kB / 0.5885 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.199, allocations: 0 / 0.5885 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.1991, allocations: 34.62 kB / 0.5885 GB, free: 1.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1991, allocations: 0 / 0.5885 GB, free: 1.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001473/0.1993, allocations: 33.64 kB / 0.5885 GB, free: 1.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.1993, allocations: 51.41 kB / 0.5886 GB, free: 1.559 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.919e-05/0.1994, allocations: 89.98 kB / 0.5887 GB, free: 1.461 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1994, allocations: 29.7 kB / 0.5887 GB, free: 1.426 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.1995, allocations: 80.14 kB / 0.5888 GB, free: 1.344 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.1995, allocations: 11.89 kB / 0.5888 GB, free: 1.332 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-06/0.1995, allocations: 4 kB / 0.5888 GB, free: 1.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1996, allocations: 310.8 kB / 0.5891 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.857e-06/0.1996, allocations: 3.938 kB / 0.5891 GB, free: 1.012 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.892e-06/0.1997, allocations: 0 / 0.5891 GB, free: 1.012 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.959e-05/0.1997, allocations: 4 kB / 0.5891 GB, free: 1.008 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1997, allocations: 8.016 kB / 0.5891 GB, free: 1 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.245e-05/0.1998, allocations: 29.7 kB / 0.5891 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.1998, allocations: 8 kB / 0.5891 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1998, allocations: 0 / 0.5891 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1998, allocations: 3.984 kB / 0.5891 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.1999, allocations: 3.938 kB / 0.5892 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1999, allocations: 0 / 0.5892 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.1999, allocations: 7.938 kB / 0.5892 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.1999, allocations: 3.984 kB / 0.5892 GB, free: 0.9375 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.704e-05/0.2, allocations: 113.9 kB / 0.5893 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-06/0.2, allocations: 3.953 kB / 0.5893 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.2002, allocations: 40.81 kB / 0.5893 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2002, allocations: 0 / 0.5893 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2002, allocations: 0 / 0.5893 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2002, allocations: 0 / 0.5893 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.2003, allocations: 145.7 kB / 0.5895 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2003, allocations: 8.031 kB / 0.5895 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.2003, allocations: 7.938 kB / 0.5895 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2004, allocations: 0 / 0.5895 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.2004, allocations: 0 / 0.5895 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2004, allocations: 4 kB / 0.5895 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2004, allocations: 7.938 kB / 0.5895 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.883e-05/0.2005, allocations: 57.14 kB / 0.5895 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.2005, allocations: 81.12 kB / 0.5896 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.2005, allocations: 7.953 kB / 0.5896 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.144e-05/0.2006, allocations: 4 kB / 0.5896 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.2006, allocations: 0 / 0.5896 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-06/0.2006, allocations: 0 / 0.5896 GB, free: 372 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.9e-05/0.2006, allocations: 75.28 kB / 0.5897 GB, free: 296 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2006, allocations: 0 / 0.5897 GB, free: 296 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002097/0.2008, allocations: 12 kB / 0.5897 GB, free: 284 kB / 494.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 (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.0001971/0.201, allocations: 99.25 kB / 0.5898 GB, free: 172 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.299e-05/0.2011, allocations: 19.86 kB / 0.5898 GB, free: 152 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2011, allocations: 0 / 0.5898 GB, free: 152 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.468e-06/0.2011, allocations: 4 kB / 0.5898 GB, free: 148 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.2013, allocations: 0 / 0.5898 GB, free: 148 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.2015, allocations: 74.77 kB / 0.5899 GB, free: 48 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.2018, allocations: 0.6692 MB / 0.5906 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.41e-05/0.2019, allocations: 8.109 kB / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.2019, allocations: 11.44 kB / 0.5906 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.2019, allocations: 0 / 0.5906 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.002882/0.2048, allocations: 275.1 kB / 0.5908 GB, free: 15.07 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)