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.001484/0.001484, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001457/0.001457, allocations: 196.4 kB / 16.26 MB, free: 6.625 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9279/0.9279, allocations: 135.6 MB / 425.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 68.11 kB / 0.5054 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1556, allocations: 81.02 MB / 0.5845 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002134/0.1578, allocations: 0.8403 MB / 0.5853 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.1597, allocations: 1.466 MB / 0.5868 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.1598, allocations: 7.938 kB / 0.5868 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.1598, allocations: 0 / 0.5868 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.786e-05/0.1599, allocations: 0 / 0.5868 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.1604, allocations: 131.3 kB / 0.5869 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.385e-05/0.1605, allocations: 47.91 kB / 0.5869 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.1605, allocations: 7.984 kB / 0.5869 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.335e-05/0.1606, allocations: 27.91 kB / 0.587 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.236e-05/0.1607, allocations: 39.83 kB / 0.587 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1607, allocations: 4 kB / 0.587 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004265/0.1611, allocations: 323.3 kB / 0.5873 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.1612, allocations: 4 kB / 0.5873 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.1612, allocations: 27.86 kB / 0.5874 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.1615, allocations: 211.5 kB / 0.5876 GB, free: 1.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1615, allocations: 4 kB / 0.5876 GB, free: 1.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1615, allocations: 0 / 0.5876 GB, free: 1.148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1615, allocations: 0 / 0.5876 GB, free: 1.148 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.0006354/0.1622, allocations: 399.7 kB / 0.5879 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1622, allocations: 8.031 kB / 0.5879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004451/0.1627, allocations: 72.75 kB / 0.588 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.1628, allocations: 172.3 kB / 0.5882 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.1629, allocations: 4.375 kB / 0.5882 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.1629, allocations: 12.28 kB / 0.5882 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.1633, allocations: 113.9 kB / 0.5883 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1633, allocations: 0 / 0.5883 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.1633, allocations: 4 kB / 0.5883 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.1633, allocations: 4 kB / 0.5883 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/0.1638, allocations: 91.91 kB / 0.5884 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006431/0.1645, allocations: 348.7 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006258/0.1651, allocations: 154.4 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.1653, allocations: 56.81 kB / 0.5889 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.1654, allocations: 4 kB / 0.5889 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.1654, allocations: 34.5 kB / 0.589 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1654, allocations: 0 / 0.589 GB, free: 15.54 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.01871/0.1841, allocations: 2.835 MB / 0.5917 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.1842, allocations: 59.34 kB / 0.5918 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/0.1843, allocations: 101.8 kB / 0.5919 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.1843, allocations: 25.7 kB / 0.5919 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.1844, allocations: 95.98 kB / 0.592 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.319e-05/0.1845, allocations: 35.45 kB / 0.592 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.1847, allocations: 69.58 kB / 0.5921 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1848, allocations: 314.8 kB / 0.5924 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006437/0.1854, allocations: 195.8 kB / 0.5926 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/0.1861, allocations: 187.8 kB / 0.5928 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.1874, allocations: 400.5 kB / 0.5932 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1874, allocations: 0 / 0.5932 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001525/0.1889, allocations: 485 kB / 0.5936 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.189, allocations: 4 kB / 0.5936 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.189, allocations: 8 kB / 0.5936 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.189, allocations: 0 / 0.5936 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000832/0.1898, allocations: 99.8 kB / 0.5937 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.1899, allocations: 8 kB / 0.5937 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006249/0.1905, allocations: 47.94 kB / 0.5938 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.1906, allocations: 23.92 kB / 0.5938 GB, free: 10.44 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001526/0.1907, allocations: 121.8 kB / 0.5939 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.1908, allocations: 8 kB / 0.5939 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.1909, allocations: 7.969 kB / 0.5939 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1909, allocations: 4 kB / 0.5939 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.1909, allocations: 7.938 kB / 0.5939 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1909, allocations: 3.984 kB / 0.594 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.1931, allocations: 1.048 MB / 0.595 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1931, allocations: 0 / 0.595 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008508/0.194, allocations: 107.8 kB / 0.5951 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.194, allocations: 3.938 kB / 0.5951 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.064e-05/0.1941, allocations: 23.92 kB / 0.5951 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1941, allocations: 4.094 kB / 0.5951 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1941, allocations: 3.938 kB / 0.5951 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00237/0.1965, allocations: 0.7879 MB / 0.5959 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.1966, allocations: 128.8 kB / 0.596 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.718e-05/0.1967, allocations: 0 / 0.596 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006688/0.1974, allocations: 47.88 kB / 0.5961 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.1975, allocations: 31.98 kB / 0.5961 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-05/0.1975, allocations: 23.94 kB / 0.5961 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.535e-05/0.1976, allocations: 79.28 kB / 0.5962 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1976, allocations: 0 / 0.5962 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003586/0.198, allocations: 55.98 kB / 0.5962 GB, free: 7.789 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 (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.0002288/0.1982, allocations: 111.2 kB / 0.5963 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.1996, allocations: 423.5 kB / 0.5967 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1996, allocations: 0 / 0.5967 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007161/0.2004, allocations: 228.2 kB / 0.597 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.2007, allocations: 8 kB / 0.597 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.2049, allocations: 0.7906 MB / 0.5977 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.2053, allocations: 0.6924 MB / 0.5984 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006603/0.2059, allocations: 85 kB / 0.5985 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.2062, allocations: 67.23 kB / 0.5986 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.2062, allocations: 0 / 0.5986 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of Templates: time 0.00654/0.2128, allocations: 3.46 MB / 0.6019 GB, free: 1.887 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (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)