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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.006074/0.006074, allocations: 172.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7113/0.7113, allocations: 132.3 MB / 148.1 MB, free: 268 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.2 MB / 403.2 MB, free: 6.801 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009541/0.0009541, allocations: 106.8 kB / 485.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003728, allocations: 12 kB / 0.5641 GB, free: 2.145 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4124, allocations: 81.58 MB / 0.6438 GB, free: 39.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.5668, allocations: 111.1 MB / 0.7522 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.5672, allocations: 75.95 kB / 0.7523 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002421/0.5696, allocations: 0.7874 MB / 0.7531 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5696, allocations: 0 / 0.7531 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.5696, allocations: 0 / 0.7531 GB, free: 8.043 MB / 0.5261 GB 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.0003684/0.57, allocations: 347.2 kB / 0.7534 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.5701, allocations: 8.031 kB / 0.7534 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.5701, allocations: 4 kB / 0.7534 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.5702, allocations: 174.9 kB / 0.7536 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.5702, allocations: 4 kB / 0.7536 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.5703, allocations: 4 kB / 0.7536 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.5705, allocations: 57.67 kB / 0.7536 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.5705, allocations: 0 / 0.7536 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.5705, allocations: 0 / 0.7536 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.5705, allocations: 0 / 0.7536 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.5707, allocations: 55.89 kB / 0.7537 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.5711, allocations: 280.2 kB / 0.7539 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.5713, allocations: 50.55 kB / 0.754 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.5713, allocations: 3.984 kB / 0.754 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.5713, allocations: 30.56 kB / 0.754 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 4.609e-06/0.5714, allocations: 4.062 kB / 0.754 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003652/0.5717, allocations: 109.5 kB / 0.7541 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.5718, allocations: 51.41 kB / 0.7542 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.715e-05/0.5719, allocations: 101 kB / 0.7543 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.5719, allocations: 29.83 kB / 0.7543 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.5719, allocations: 88.08 kB / 0.7544 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.572, allocations: 7.906 kB / 0.7544 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.572, allocations: 0 / 0.7544 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5721, allocations: 318.8 kB / 0.7547 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.833e-05/0.5722, allocations: 23.98 kB / 0.7547 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.591e-05/0.5723, allocations: 23.98 kB / 0.7548 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.212e-05/0.5723, allocations: 23.97 kB / 0.7548 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5724, allocations: 0 / 0.7548 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002091/0.5726, allocations: 93.59 kB / 0.7549 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.5726, allocations: 8 kB / 0.7549 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5726, allocations: 0 / 0.7549 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.5726, allocations: 0 / 0.7549 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.167e-05/0.5727, allocations: 11.98 kB / 0.7549 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.5727, allocations: 0 / 0.7549 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.321e-05/0.5728, allocations: 12.03 kB / 0.7549 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.5728, allocations: 0 / 0.7549 GB, free: 5.949 MB / 0.5261 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.024e-05/0.5729, allocations: 113.8 kB / 0.755 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.5729, allocations: 7.906 kB / 0.755 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.5732, allocations: 93.12 kB / 0.7551 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5732, allocations: 0 / 0.7551 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5732, allocations: 0 / 0.7551 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5732, allocations: 0 / 0.7551 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.5734, allocations: 165.6 kB / 0.7553 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.5734, allocations: 0 / 0.7553 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.5734, allocations: 15.98 kB / 0.7553 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.5734, allocations: 0 / 0.7553 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.5735, allocations: 4.031 kB / 0.7553 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.5735, allocations: 256 / 0.7553 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5735, allocations: 4 kB / 0.7553 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.5737, allocations: 179.5 kB / 0.7555 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.5738, allocations: 89 kB / 0.7555 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.5738, allocations: 0 / 0.7555 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.5739, allocations: 7.938 kB / 0.7555 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.5739, allocations: 7.984 kB / 0.7556 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.5739, allocations: 0 / 0.7556 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.785e-05/0.574, allocations: 87.22 kB / 0.7556 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.574, allocations: 0 / 0.7556 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002031/0.5742, allocations: 12.03 kB / 0.7556 GB, free: 5.074 MB / 0.5261 GB 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 (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.0001757/0.5744, allocations: 107.2 kB / 0.7558 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.5746, allocations: 43.97 kB / 0.7558 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5746, allocations: 4.062 kB / 0.7558 GB, free: 4.914 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-05/0.5747, allocations: 31.97 kB / 0.7558 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.5749, allocations: 3.953 kB / 0.7558 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.5752, allocations: 124.6 kB / 0.7559 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.5754, allocations: 0.681 MB / 0.7566 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.916e-05/0.5754, allocations: 4 kB / 0.7566 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.5755, allocations: 7.438 kB / 0.7566 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.5755, allocations: 3.938 kB / 0.7566 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of Templates: time 0.002343/0.5778, allocations: 452.5 kB / 0.7571 GB, free: 3.57 MB / 0.5261 GB 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)