Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008265/0.0008264, allocations: 99.55 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.0008619/0.000862, allocations: 177.3 kB / 15.94 MB, free: 228 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.194/1.194, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8359/0.8359, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002843, allocations: 11.98 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1428, allocations: 82.31 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008249/0.1437, allocations: 488 kB / 0.5877 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.1453, allocations: 1.408 MB / 0.5891 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.1453, allocations: 0 / 0.5891 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.1454, allocations: 3.938 kB / 0.5891 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.542e-05/0.1454, allocations: 3.984 kB / 0.5891 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.1458, allocations: 111.7 kB / 0.5892 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.571e-05/0.1459, allocations: 35.95 kB / 0.5892 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.1459, allocations: 7.938 kB / 0.5892 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.095e-05/0.146, allocations: 23.92 kB / 0.5892 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.146, allocations: 31.89 kB / 0.5893 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1461, allocations: 4 kB / 0.5893 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004025/0.1465, allocations: 315.4 kB / 0.5896 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.1465, allocations: 15.97 kB / 0.5896 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.1465, allocations: 33.64 kB / 0.5896 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.1467, allocations: 155.8 kB / 0.5898 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.1467, allocations: 0 / 0.5898 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1468, allocations: 4 kB / 0.5898 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.1468, allocations: 0 / 0.5898 GB, free: 0.4922 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005338/0.1473, allocations: 387.5 kB / 0.5901 GB, free: 68 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.1473, allocations: 8.031 kB / 0.5901 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004304/0.1478, allocations: 91.81 kB / 0.5902 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1479, allocations: 167 kB / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.1479, allocations: 11.94 kB / 0.5904 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.148, allocations: 4 kB / 0.5904 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.1483, allocations: 121.6 kB / 0.5905 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.1483, allocations: 11.92 kB / 0.5905 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1483, allocations: 0 / 0.5905 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1484, allocations: 0 / 0.5905 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.1488, allocations: 123.9 kB / 0.5906 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.1494, allocations: 336.6 kB / 0.591 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006131/0.15, allocations: 182.5 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.15, allocations: 4.141 kB / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.15, allocations: 30.56 kB / 0.5912 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.041e-06/0.15, allocations: 4 kB / 0.5912 GB, free: 14.88 MB / 0.4981 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01689/0.1669, allocations: 3.181 MB / 0.5943 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.167, allocations: 59.34 kB / 0.5943 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.981e-05/0.1671, allocations: 105.8 kB / 0.5944 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/0.1671, allocations: 29.7 kB / 0.5945 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.1672, allocations: 87.98 kB / 0.5946 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.919e-05/0.1672, allocations: 43.45 kB / 0.5946 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.1673, allocations: 0 / 0.5946 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.039e-05/0.1674, allocations: 318.8 kB / 0.5949 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006203/0.168, allocations: 215.8 kB / 0.5951 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/0.1686, allocations: 218.9 kB / 0.5953 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000628/0.1692, allocations: 219.9 kB / 0.5955 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1693, allocations: 3.938 kB / 0.5955 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001412/0.1707, allocations: 0.5167 MB / 0.596 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1707, allocations: 4 kB / 0.596 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1707, allocations: 3.953 kB / 0.596 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1707, allocations: 0 / 0.596 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/0.1715, allocations: 119.8 kB / 0.5962 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1715, allocations: 0 / 0.5962 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005687/0.1721, allocations: 63.94 kB / 0.5962 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/0.1722, allocations: 27.92 kB / 0.5962 GB, free: 9.551 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 (13): * Single equations (assignments): 13 * 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 0.0001347/0.1723, allocations: 109.8 kB / 0.5964 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.1724, allocations: 7.906 kB / 0.5964 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.642e-05/0.1724, allocations: 11.97 kB / 0.5964 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1724, allocations: 11.94 kB / 0.5964 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1724, allocations: 0 / 0.5964 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1725, allocations: 3.938 kB / 0.5964 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.1746, allocations: 1.102 MB / 0.5975 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1746, allocations: 0 / 0.5975 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007468/0.1754, allocations: 119.8 kB / 0.5976 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1754, allocations: 7.984 kB / 0.5976 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/0.1754, allocations: 23.94 kB / 0.5976 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1754, allocations: 3.938 kB / 0.5976 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1754, allocations: 0 / 0.5976 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.1776, allocations: 0.862 MB / 0.5985 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.1778, allocations: 129.1 kB / 0.5986 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.584e-05/0.1778, allocations: 4 kB / 0.5986 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.1785, allocations: 60 kB / 0.5986 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/0.1786, allocations: 27.91 kB / 0.5987 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.1786, allocations: 27.92 kB / 0.5987 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.1787, allocations: 83.28 kB / 0.5988 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1787, allocations: 0 / 0.5988 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003546/0.179, allocations: 60 kB / 0.5988 GB, free: 6.746 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001876/0.1792, allocations: 115.2 kB / 0.5989 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.1806, allocations: 467.2 kB / 0.5994 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1806, allocations: 4 kB / 0.5994 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006884/0.1813, allocations: 255.6 kB / 0.5996 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.1816, allocations: 10.23 kB / 0.5996 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/0.1854, allocations: 0.8618 MB / 0.6005 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.1857, allocations: 0.6926 MB / 0.6012 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006122/0.1863, allocations: 88.66 kB / 0.6012 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.1865, allocations: 63.23 kB / 0.6013 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.1866, allocations: 0 / 0.6013 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of Templates: time 0.005615/0.1922, allocations: 3.233 MB / 0.6045 GB, free: 0.9297 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: