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.001036/0.001036, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0012/0.001201, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.445/1.445, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.823/0.823, allocations: 132.2 MB / 422.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 64 kB / 0.5013 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.507/0.5083, allocations: 80.2 MB / 0.5796 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002717/0.511, allocations: 1.496 MB / 0.5811 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003678/0.5115, allocations: 93.95 kB / 0.5811 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.5115, allocations: 4.844 kB / 0.5812 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.571e-05/0.5116, allocations: 2.016 kB / 0.5812 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.579e-05/0.5116, allocations: 0.875 kB / 0.5812 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.5119, allocations: 21.78 kB / 0.5812 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.225e-05/0.512, allocations: 20.64 kB / 0.5812 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.471e-05/0.5121, allocations: 12.94 kB / 0.5812 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.812e-05/0.5121, allocations: 5.156 kB / 0.5812 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.741e-05/0.5122, allocations: 14.56 kB / 0.5812 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.5122, allocations: 1.969 kB / 0.5812 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.041e-05/0.5123, allocations: 21.84 kB / 0.5812 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.5123, allocations: 7.297 kB / 0.5813 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.5124, allocations: 15 kB / 0.5813 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.5125, allocations: 30.67 kB / 0.5813 GB, free: 3.367 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5125, allocations: 4.5 kB / 0.5813 GB, free: 3.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5125, allocations: 4 kB / 0.5813 GB, free: 3.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.5125, allocations: 0.8125 kB / 0.5813 GB, free: 3.359 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.0003837/0.5129, allocations: 345 kB / 0.5816 GB, free: 2.996 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.513, allocations: 10 kB / 0.5816 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.513, allocations: 10.19 kB / 0.5817 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.093e-05/0.5131, allocations: 167.5 kB / 0.5818 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.5131, allocations: 1.156 kB / 0.5818 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.5131, allocations: 2.25 kB / 0.5818 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.5133, allocations: 63.2 kB / 0.5819 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5133, allocations: 192 / 0.5819 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.5133, allocations: 4.594 kB / 0.5819 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5134, allocations: 0.8125 kB / 0.5819 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.5135, allocations: 35.66 kB / 0.5819 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.5138, allocations: 252 kB / 0.5822 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.514, allocations: 48.22 kB / 0.5822 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.752e-05/0.5141, allocations: 25.5 kB / 0.5822 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.5141, allocations: 2.875 kB / 0.5822 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.5141, allocations: 35.08 kB / 0.5823 GB, free: 2.371 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.5141, allocations: 3.938 kB / 0.5823 GB, free: 2.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003505/0.5145, allocations: 89.64 kB / 0.5824 GB, free: 2.324 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.5145, allocations: 53.42 kB / 0.5824 GB, free: 2.262 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.695e-05/0.5146, allocations: 108.3 kB / 0.5825 GB, free: 2.156 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.5146, allocations: 26.42 kB / 0.5825 GB, free: 2.125 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.5147, allocations: 82.83 kB / 0.5826 GB, free: 2.043 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.5147, allocations: 8.547 kB / 0.5826 GB, free: 2.035 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.5147, allocations: 21.58 kB / 0.5826 GB, free: 2.012 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.273e-05/0.5148, allocations: 313.5 kB / 0.5829 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.723e-05/0.5149, allocations: 23.34 kB / 0.583 GB, free: 1.691 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.5149, allocations: 15.95 kB / 0.583 GB, free: 1.691 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.5151, allocations: 44.61 kB / 0.583 GB, free: 1.676 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5151, allocations: 8.062 kB / 0.583 GB, free: 1.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001801/0.5153, allocations: 71.2 kB / 0.5831 GB, free: 1.629 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5153, allocations: 5.531 kB / 0.5831 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.5153, allocations: 0 / 0.5831 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.5153, allocations: 0.75 kB / 0.5831 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.801e-05/0.5154, allocations: 9.375 kB / 0.5831 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.5154, allocations: 0 / 0.5831 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.774e-05/0.5155, allocations: 10.12 kB / 0.5831 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.5155, allocations: 5.469 kB / 0.5831 GB, free: 1.621 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 4.606e-05/0.5156, allocations: 117.6 kB / 0.5832 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.5156, allocations: 1.094 kB / 0.5832 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.5158, allocations: 76.38 kB / 0.5833 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5158, allocations: 0 / 0.5833 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5158, allocations: 0.8438 kB / 0.5833 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5158, allocations: 4.734 kB / 0.5833 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.516, allocations: 167 kB / 0.5835 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.516, allocations: 0.8438 kB / 0.5835 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.936e-05/0.5161, allocations: 8.047 kB / 0.5835 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5161, allocations: 1.766 kB / 0.5835 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.5161, allocations: 0 / 0.5835 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5161, allocations: 1.25 kB / 0.5835 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5161, allocations: 0.75 kB / 0.5835 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.5163, allocations: 177.8 kB / 0.5837 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.5163, allocations: 79.34 kB / 0.5837 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.5164, allocations: 5.375 kB / 0.5837 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.5164, allocations: 5.234 kB / 0.5837 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.5165, allocations: 2.766 kB / 0.5837 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.5165, allocations: 1.312 kB / 0.5837 GB, free: 1.004 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.748e-05/0.5165, allocations: 90 kB / 0.5838 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5165, allocations: 4 kB / 0.5838 GB, free: 0.918 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.5168, allocations: 8.797 kB / 0.5838 GB, free: 0.918 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.0001267/0.5169, allocations: 98.5 kB / 0.5839 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.5171, allocations: 42.28 kB / 0.584 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5171, allocations: 0 / 0.584 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.476e-05/0.5172, allocations: 26.8 kB / 0.584 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.5175, allocations: 6.703 kB / 0.584 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.5178, allocations: 133.6 kB / 0.5841 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.5179, allocations: 0.6779 MB / 0.5848 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.531e-05/0.518, allocations: 2.766 kB / 0.5848 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.518, allocations: 8.531 kB / 0.5848 GB, free: 15.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.518, allocations: 4 kB / 0.5848 GB, free: 15.97 MB / 446.1 MB Notification: Performance of Templates: time 0.002613/0.5206, allocations: 489.7 kB / 0.5853 GB, free: 15.91 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)