Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00632/0.006319, allocations: 102.4 kB / 15.74 MB, free: 6.039 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.0012, allocations: 200.1 kB / 16.68 MB, free: 5.965 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9684/0.9684, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.84 kB / 0.5856 GB, free: 3.379 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4763/0.4777, allocations: 80.92 MB / 0.6646 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002122/0.4799, allocations: 1.43 MB / 0.666 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002675/0.4802, allocations: 89.72 kB / 0.6661 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.4802, allocations: 1.656 kB / 0.6661 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.154e-05/0.4803, allocations: 0 / 0.6661 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.159e-05/0.4803, allocations: 9.422 kB / 0.6661 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.4805, allocations: 26.02 kB / 0.6662 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.166e-05/0.4806, allocations: 18.02 kB / 0.6662 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.142e-05/0.4807, allocations: 14.58 kB / 0.6662 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.54e-05/0.4808, allocations: 6.844 kB / 0.6662 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.747e-05/0.4808, allocations: 12.2 kB / 0.6662 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.4808, allocations: 1.219 kB / 0.6662 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.3e-05/0.4809, allocations: 21.36 kB / 0.6662 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.882e-05/0.4809, allocations: 10.56 kB / 0.6662 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.481, allocations: 13.45 kB / 0.6663 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.4811, allocations: 40.67 kB / 0.6663 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4811, allocations: 1.75 kB / 0.6663 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4811, allocations: 0 / 0.6663 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.4811, allocations: 0 / 0.6663 GB, free: 6.312 MB / 0.4981 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.0003838/0.4815, allocations: 346.3 kB / 0.6666 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.4816, allocations: 9.562 kB / 0.6666 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.4816, allocations: 6.094 kB / 0.6666 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.969e-05/0.4817, allocations: 170.8 kB / 0.6668 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.4817, allocations: 384 / 0.6668 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.4817, allocations: 1.562 kB / 0.6668 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.4819, allocations: 59.75 kB / 0.6669 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4819, allocations: 4.188 kB / 0.6669 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.4819, allocations: 3.938 kB / 0.6669 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4819, allocations: 1.094 kB / 0.6669 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.4821, allocations: 36.89 kB / 0.6669 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.4824, allocations: 253.1 kB / 0.6672 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.4825, allocations: 48.84 kB / 0.6672 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.276e-05/0.4826, allocations: 25.17 kB / 0.6672 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.4826, allocations: 1.438 kB / 0.6672 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.4826, allocations: 35.84 kB / 0.6673 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.4827, allocations: 0 / 0.6673 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003383/0.483, allocations: 89.69 kB / 0.6673 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.483, allocations: 55.41 kB / 0.6674 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.192e-05/0.4831, allocations: 110.6 kB / 0.6675 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.4831, allocations: 25.7 kB / 0.6675 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.748e-05/0.4831, allocations: 85.36 kB / 0.6676 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.4832, allocations: 5.172 kB / 0.6676 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.4832, allocations: 16.03 kB / 0.6676 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.984e-05/0.4833, allocations: 316.4 kB / 0.6679 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.4833, allocations: 22.55 kB / 0.668 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-05/0.4834, allocations: 14.58 kB / 0.668 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.4836, allocations: 50.38 kB / 0.668 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4836, allocations: 0 / 0.668 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001769/0.4838, allocations: 75.81 kB / 0.6681 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4838, allocations: 4.5 kB / 0.6681 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4838, allocations: 5.109 kB / 0.6681 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4838, allocations: 0 / 0.6681 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.756e-05/0.4839, allocations: 13.92 kB / 0.6681 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4839, allocations: 1.531 kB / 0.6681 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.484, allocations: 2.719 kB / 0.6681 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.484, allocations: 1.562 kB / 0.6681 GB, free: 4.469 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.603e-05/0.484, allocations: 119.5 kB / 0.6682 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.4841, allocations: 5.391 kB / 0.6682 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.4843, allocations: 70.47 kB / 0.6683 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4843, allocations: 1.531 kB / 0.6683 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4843, allocations: 0 / 0.6683 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4843, allocations: 0 / 0.6683 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.4844, allocations: 176.7 kB / 0.6685 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4845, allocations: 3.938 kB / 0.6685 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.4845, allocations: 10.5 kB / 0.6685 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4845, allocations: 3.984 kB / 0.6685 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.4845, allocations: 1.438 kB / 0.6685 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4845, allocations: 3.938 kB / 0.6685 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4845, allocations: 0 / 0.6685 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.4848, allocations: 170.3 kB / 0.6687 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.4848, allocations: 78.3 kB / 0.6687 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.4848, allocations: 1.438 kB / 0.6687 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.4849, allocations: 6.578 kB / 0.6687 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.4849, allocations: 1.062 kB / 0.6687 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.4849, allocations: 1.812 kB / 0.6687 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.725e-05/0.485, allocations: 92.7 kB / 0.6688 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.485, allocations: 0 / 0.6688 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002235/0.4852, allocations: 11.03 kB / 0.6688 GB, free: 3.715 MB / 0.4981 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 (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.0001628/0.4854, allocations: 103.1 kB / 0.6689 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.4856, allocations: 43.7 kB / 0.669 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4856, allocations: 1.25 kB / 0.669 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.125e-05/0.4857, allocations: 24.3 kB / 0.669 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.486, allocations: 6.219 kB / 0.669 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.4862, allocations: 121 kB / 0.6691 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.4864, allocations: 0.6776 MB / 0.6698 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.34e-05/0.4864, allocations: 2.75 kB / 0.6698 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.4864, allocations: 7.438 kB / 0.6698 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4864, allocations: 0 / 0.6698 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of Templates: time 0.002665/0.4891, allocations: 0.5405 MB / 0.6703 GB, free: 2.477 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)