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.0008482/0.0008482, allocations: 98.44 kB / 15.05 MB, free: 1.105 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.0009347/0.0009347, allocations: 177.3 kB / 15.95 MB, free: 216 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.222/1.222, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8668/0.8668, allocations: 135.2 MB / 426.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002892, allocations: 12 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1575, allocations: 82.32 MB / 0.5872 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001425/0.1589, allocations: 1.129 MB / 0.5883 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002382/0.1592, allocations: 104.5 kB / 0.5884 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.1592, allocations: 0 / 0.5884 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.1592, allocations: 0 / 0.5884 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.239e-05/0.1593, allocations: 7.984 kB / 0.5884 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.1595, allocations: 15.98 kB / 0.5884 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.883e-05/0.1595, allocations: 15.92 kB / 0.5884 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.983e-05/0.1596, allocations: 7.984 kB / 0.5884 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.132e-05/0.1596, allocations: 7.938 kB / 0.5885 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.399e-05/0.1597, allocations: 15.92 kB / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.1597, allocations: 0 / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.778e-05/0.1598, allocations: 15.98 kB / 0.5885 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.1598, allocations: 0 / 0.5885 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.1598, allocations: 29.7 kB / 0.5885 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.129e-05/0.1599, allocations: 35.94 kB / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.1599, allocations: 0 / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1599, allocations: 0 / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1599, allocations: 0 / 0.5886 GB, free: 1.695 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003901/0.1603, allocations: 343.5 kB / 0.5889 GB, free: 1.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1604, allocations: 12.03 kB / 0.5889 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.1604, allocations: 3.938 kB / 0.5889 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.1605, allocations: 178.9 kB / 0.5891 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1605, allocations: 0 / 0.5891 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1605, allocations: 0 / 0.5891 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1607, allocations: 57.67 kB / 0.5891 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1607, allocations: 0 / 0.5891 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1607, allocations: 0 / 0.5891 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1607, allocations: 0 / 0.5891 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.1609, allocations: 51.95 kB / 0.5892 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.1612, allocations: 264.9 kB / 0.5894 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.1614, allocations: 46.56 kB / 0.5895 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.1614, allocations: 3.984 kB / 0.5895 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.1614, allocations: 30.56 kB / 0.5895 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1614, allocations: 0 / 0.5895 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003435/0.1618, allocations: 109.6 kB / 0.5896 GB, free: 460 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.1618, allocations: 51.41 kB / 0.5897 GB, free: 396 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.128e-05/0.1619, allocations: 105.8 kB / 0.5898 GB, free: 280 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.1619, allocations: 25.7 kB / 0.5898 GB, free: 248 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.162, allocations: 88.27 kB / 0.5899 GB, free: 156 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.162, allocations: 7.906 kB / 0.5899 GB, free: 148 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.162, allocations: 3.938 kB / 0.5899 GB, free: 144 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.642e-05/0.1621, allocations: 314.8 kB / 0.5902 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.492e-05/0.1622, allocations: 27.97 kB / 0.5902 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-05/0.1623, allocations: 23.98 kB / 0.5902 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.978e-05/0.1623, allocations: 23.98 kB / 0.5902 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1623, allocations: 0 / 0.5902 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001901/0.1625, allocations: 85.66 kB / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1626, allocations: 4 kB / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1626, allocations: 0 / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1626, allocations: 0 / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.036e-05/0.1627, allocations: 11.98 kB / 0.5903 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.1627, allocations: 0 / 0.5903 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.1627, allocations: 15.92 kB / 0.5904 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.1628, allocations: 4.031 kB / 0.5904 GB, free: 15.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.809e-05/0.1628, allocations: 117.8 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.1629, allocations: 3.906 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.1631, allocations: 89.19 kB / 0.5906 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1631, allocations: 0 / 0.5906 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1631, allocations: 0 / 0.5906 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1631, allocations: 0 / 0.5906 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.1633, allocations: 165.6 kB / 0.5907 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1633, allocations: 0 / 0.5907 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.458e-05/0.1633, allocations: 23.84 kB / 0.5907 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1633, allocations: 0 / 0.5907 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.1633, allocations: 0 / 0.5907 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1633, allocations: 4 kB / 0.5907 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1634, allocations: 4.031 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.1636, allocations: 175.5 kB / 0.5909 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.1636, allocations: 85.05 kB / 0.591 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.1636, allocations: 0 / 0.591 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.1637, allocations: 12.23 kB / 0.591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.1638, allocations: 0 / 0.591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.1638, allocations: 4 kB / 0.591 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.1638, allocations: 91.27 kB / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1638, allocations: 0 / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002086/0.164, allocations: 4 kB / 0.5911 GB, free: 14.76 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 (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.0001276/0.1642, allocations: 111.1 kB / 0.5912 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001997/0.1644, allocations: 47.95 kB / 0.5913 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1644, allocations: 0 / 0.5913 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.529e-05/0.1645, allocations: 32.05 kB / 0.5913 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.1647, allocations: 3.953 kB / 0.5913 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.1649, allocations: 116.7 kB / 0.5914 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.1651, allocations: 0.6848 MB / 0.5921 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.07e-05/0.1652, allocations: 4.062 kB / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.1652, allocations: 7.438 kB / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.423e-06/0.1652, allocations: 0 / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.002394/0.1676, allocations: 457.9 kB / 0.5925 GB, free: 13.25 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: