Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009184/0.0009185, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004723/0.004723, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7684/0.7684, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003409, allocations: 8.781 kB / 0.504 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4604/0.4607, allocations: 81.57 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001619/0.4624, allocations: 1.157 MB / 0.5848 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003464/0.4628, allocations: 99.06 kB / 0.5849 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.4628, allocations: 0.5938 kB / 0.5849 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.226e-05/0.4629, allocations: 3.719 kB / 0.5849 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.044e-05/0.4629, allocations: 6.469 kB / 0.5849 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.4631, allocations: 12.28 kB / 0.5849 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.183e-05/0.4632, allocations: 33.14 kB / 0.5849 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.246e-05/0.4633, allocations: 3.312 kB / 0.585 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.569e-05/0.4634, allocations: 14.03 kB / 0.585 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.316e-05/0.4634, allocations: 13 kB / 0.585 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.4634, allocations: 1.031 kB / 0.585 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.4635, allocations: 17.14 kB / 0.585 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.4636, allocations: 2.234 kB / 0.585 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.4636, allocations: 37.12 kB / 0.585 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.4637, allocations: 31.27 kB / 0.5851 GB, free: 3.027 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4638, allocations: 0 / 0.5851 GB, free: 3.027 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4638, allocations: 0.6562 kB / 0.5851 GB, free: 3.027 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.4638, allocations: 0 / 0.5851 GB, free: 3.027 MB / 430.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.0004345/0.4642, allocations: 352.8 kB / 0.5854 GB, free: 2.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.4643, allocations: 10.53 kB / 0.5854 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.4643, allocations: 2.25 kB / 0.5854 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.634e-05/0.4644, allocations: 180.1 kB / 0.5856 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.4644, allocations: 384 / 0.5856 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.4644, allocations: 2.375 kB / 0.5856 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.4646, allocations: 58.75 kB / 0.5856 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.4647, allocations: 1.156 kB / 0.5856 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.4647, allocations: 4.641 kB / 0.5856 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4647, allocations: 1.219 kB / 0.5856 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.4649, allocations: 49.16 kB / 0.5857 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.4652, allocations: 252.6 kB / 0.5859 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.4653, allocations: 51.48 kB / 0.586 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.879e-05/0.4654, allocations: 35.33 kB / 0.586 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.4655, allocations: 3.156 kB / 0.586 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.4655, allocations: 30.56 kB / 0.5861 GB, free: 2.035 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.4655, allocations: 1.188 kB / 0.5861 GB, free: 2.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004002/0.4659, allocations: 110.7 kB / 0.5862 GB, free: 1.984 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.466, allocations: 53.02 kB / 0.5862 GB, free: 1.922 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.466, allocations: 105.5 kB / 0.5863 GB, free: 1.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.4661, allocations: 25.7 kB / 0.5863 GB, free: 1.789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.4661, allocations: 91.7 kB / 0.5864 GB, free: 1.699 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.4661, allocations: 4.656 kB / 0.5864 GB, free: 1.695 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.832e-05/0.4661, allocations: 10.31 kB / 0.5864 GB, free: 1.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.4662, allocations: 314 kB / 0.5867 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.73e-05/0.4663, allocations: 24.84 kB / 0.5868 GB, free: 1.363 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.594e-05/0.4664, allocations: 24.27 kB / 0.5868 GB, free: 1.359 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.4666, allocations: 54.67 kB / 0.5868 GB, free: 1.344 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4666, allocations: 0 / 0.5868 GB, free: 1.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002188/0.4668, allocations: 92.48 kB / 0.5869 GB, free: 1.293 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4668, allocations: 9.031 kB / 0.5869 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4668, allocations: 0.7031 kB / 0.5869 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.4669, allocations: 0.5 kB / 0.5869 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.459e-05/0.467, allocations: 11.73 kB / 0.5869 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.467, allocations: 4.75 kB / 0.5869 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.467, allocations: 12.14 kB / 0.587 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.467, allocations: 1.891 kB / 0.587 GB, free: 1.281 MB / 430.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.7e-05/0.4671, allocations: 117.2 kB / 0.5871 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.4671, allocations: 1.469 kB / 0.5871 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.4674, allocations: 89.53 kB / 0.5872 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4674, allocations: 0.75 kB / 0.5872 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.4674, allocations: 0 / 0.5872 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4674, allocations: 5.516 kB / 0.5872 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.4676, allocations: 166.5 kB / 0.5873 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4676, allocations: 0.6094 kB / 0.5873 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.4676, allocations: 15.5 kB / 0.5873 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4676, allocations: 0.7031 kB / 0.5873 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.4677, allocations: 0.6875 kB / 0.5873 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4677, allocations: 0.9688 kB / 0.5873 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4677, allocations: 0.7031 kB / 0.5873 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.4679, allocations: 183.7 kB / 0.5875 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.468, allocations: 78.64 kB / 0.5876 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.468, allocations: 0.9688 kB / 0.5876 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.017e-05/0.4681, allocations: 12.86 kB / 0.5876 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.4681, allocations: 2.609 kB / 0.5876 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.4681, allocations: 0.7812 kB / 0.5876 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.195e-05/0.4682, allocations: 90.69 kB / 0.5877 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4682, allocations: 0.75 kB / 0.5877 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.4684, allocations: 8.078 kB / 0.5877 GB, free: 0.5781 MB / 430.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.0001436/0.4686, allocations: 100.8 kB / 0.5878 GB, free: 496 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002532/0.4688, allocations: 53.12 kB / 0.5878 GB, free: 488 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4688, allocations: 0 / 0.5878 GB, free: 488 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.4689, allocations: 27.14 kB / 0.5879 GB, free: 484 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.4692, allocations: 9 kB / 0.5879 GB, free: 480 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.4695, allocations: 124 kB / 0.588 GB, free: 360 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.4697, allocations: 0.6785 MB / 0.5887 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.493e-05/0.4697, allocations: 5.484 kB / 0.5887 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.4698, allocations: 8.375 kB / 0.5887 GB, free: 15.64 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4698, allocations: 1.125 kB / 0.5887 GB, free: 15.64 MB / 446.1 MB Notification: Performance of Templates: time 0.00285/0.4726, allocations: 463.4 kB / 0.5891 GB, free: 15.58 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)