Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.0008703/0.0008703, allocations: 100 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.0008629/0.0008628, allocations: 177.3 kB / 15.94 MB, free: 220 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.186/1.186, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8079/0.8079, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002997/0.0002997, allocations: 16 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1395, allocations: 82.3 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.0008425/0.1403, allocations: 496 kB / 0.5877 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.142, allocations: 1.404 MB / 0.589 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.142, allocations: 0 / 0.589 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.142, allocations: 7.938 kB / 0.5891 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.81e-05/0.1421, allocations: 0 / 0.5891 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.1424, allocations: 110.8 kB / 0.5892 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.863e-05/0.1425, allocations: 27.97 kB / 0.5892 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.716e-05/0.1425, allocations: 12 kB / 0.5892 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.291e-05/0.1426, allocations: 27.91 kB / 0.5892 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.275e-05/0.1427, allocations: 35.83 kB / 0.5893 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.1427, allocations: 4 kB / 0.5893 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.1431, allocations: 311.5 kB / 0.5896 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.1431, allocations: 15.92 kB / 0.5896 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.1431, allocations: 29.7 kB / 0.5896 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.1433, allocations: 151.8 kB / 0.5898 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.1433, allocations: 0 / 0.5898 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1433, allocations: 0 / 0.5898 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1433, allocations: 0 / 0.5898 GB, free: 0.5039 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.0005199/0.1439, allocations: 395.5 kB / 0.5901 GB, free: 72 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.1439, allocations: 8.031 kB / 0.5901 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004317/0.1443, allocations: 87.88 kB / 0.5902 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.756e-05/0.1444, allocations: 178.8 kB / 0.5904 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.1445, allocations: 4 kB / 0.5904 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1445, allocations: 8 kB / 0.5904 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.1449, allocations: 121.5 kB / 0.5905 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1449, allocations: 3.938 kB / 0.5905 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1449, allocations: 0 / 0.5905 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1449, allocations: 4 kB / 0.5905 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000464/0.1454, allocations: 123.9 kB / 0.5906 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.1459, allocations: 340.6 kB / 0.591 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/0.1465, allocations: 190.4 kB / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1465, allocations: 0 / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1465, allocations: 30.56 kB / 0.5912 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.1465, allocations: 0 / 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.01702/0.1636, allocations: 3.195 MB / 0.5943 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1636, allocations: 55.34 kB / 0.5944 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.846e-05/0.1637, allocations: 105.8 kB / 0.5945 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.1638, allocations: 29.7 kB / 0.5945 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.1638, allocations: 91.98 kB / 0.5946 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.983e-05/0.1639, allocations: 39.45 kB / 0.5946 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.1639, allocations: 0 / 0.5946 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.164, allocations: 322.8 kB / 0.5949 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006284/0.1647, allocations: 211.8 kB / 0.5951 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006177/0.1653, allocations: 223.9 kB / 0.5953 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006322/0.1659, allocations: 219.8 kB / 0.5955 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.166, allocations: 0 / 0.5955 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001442/0.1674, allocations: 0.5164 MB / 0.596 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1674, allocations: 10.34 kB / 0.5961 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1674, allocations: 3.953 kB / 0.5961 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1675, allocations: 0 / 0.5961 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007682/0.1682, allocations: 115.8 kB / 0.5962 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1682, allocations: 3.984 kB / 0.5962 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/0.1688, allocations: 59.94 kB / 0.5962 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.1689, allocations: 23.94 kB / 0.5963 GB, free: 9.547 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.0001468/0.169, allocations: 113.8 kB / 0.5964 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.1691, allocations: 15.84 kB / 0.5964 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.1692, allocations: 11.95 kB / 0.5964 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1692, allocations: 3.953 kB / 0.5964 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.1692, allocations: 4 kB / 0.5964 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1692, allocations: 0 / 0.5964 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.1713, allocations: 1.102 MB / 0.5975 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1713, allocations: 96 / 0.5975 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007751/0.1721, allocations: 131.7 kB / 0.5976 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1721, allocations: 0 / 0.5976 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/0.1721, allocations: 23.94 kB / 0.5976 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1721, allocations: 0 / 0.5976 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1721, allocations: 0 / 0.5976 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.1744, allocations: 0.8659 MB / 0.5985 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.1745, allocations: 124.9 kB / 0.5986 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.562e-05/0.1746, allocations: 4.062 kB / 0.5986 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006427/0.1752, allocations: 55.94 kB / 0.5986 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/0.1753, allocations: 31.92 kB / 0.5987 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.056e-05/0.1754, allocations: 27.92 kB / 0.5987 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.317e-05/0.1754, allocations: 75.28 kB / 0.5988 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1754, allocations: 0 / 0.5988 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003607/0.1758, allocations: 56 kB / 0.5988 GB, free: 6.75 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.0002025/0.176, allocations: 119.2 kB / 0.5989 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.1774, allocations: 468.4 kB / 0.5994 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1774, allocations: 0 / 0.5994 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006761/0.1781, 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.0002129/0.1783, allocations: 12 kB / 0.5996 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/0.1822, allocations: 0.8576 MB / 0.6005 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.1825, allocations: 0.6965 MB / 0.6012 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006322/0.1832, allocations: 92.66 kB / 0.6012 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.1834, allocations: 55.3 kB / 0.6013 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.1834, allocations: 0 / 0.6013 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of Templates: time 0.00573/0.1892, allocations: 3.24 MB / 0.6045 GB, free: 0.9219 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: