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.007524/0.007524, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001453/0.001453, allocations: 195.8 kB / 16.79 MB, free: 5.816 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.332/1.332, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8995/0.8995, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 68.2 kB / 0.5053 GB, free: 5.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1496, allocations: 80.92 MB / 0.5844 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001946/0.1516, allocations: 0.8309 MB / 0.5852 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1534, allocations: 1.495 MB / 0.5866 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.1535, allocations: 4 kB / 0.5866 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.1535, allocations: 3.938 kB / 0.5866 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.769e-05/0.1536, allocations: 0 / 0.5866 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.154, allocations: 115.7 kB / 0.5867 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.763e-05/0.1541, allocations: 43.97 kB / 0.5868 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.1541, allocations: 7.938 kB / 0.5868 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.387e-05/0.1542, allocations: 31.91 kB / 0.5868 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.1542, allocations: 35.83 kB / 0.5869 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1543, allocations: 4 kB / 0.5869 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004218/0.1547, allocations: 319.4 kB / 0.5872 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.1547, allocations: 7.984 kB / 0.5872 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.1548, allocations: 31.84 kB / 0.5872 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.155, allocations: 147.8 kB / 0.5873 GB, free: 1.883 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.155, allocations: 0 / 0.5873 GB, free: 1.883 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.155, allocations: 0 / 0.5873 GB, free: 1.883 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.155, allocations: 0 / 0.5873 GB, free: 1.883 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.000628/0.1557, allocations: 401.6 kB / 0.5877 GB, free: 1.445 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1557, allocations: 8.031 kB / 0.5877 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004602/0.1562, allocations: 72.75 kB / 0.5878 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1563, allocations: 172.3 kB / 0.588 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.1563, allocations: 8.312 kB / 0.588 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.1564, allocations: 12.28 kB / 0.588 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.1567, allocations: 125.4 kB / 0.5881 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1567, allocations: 0 / 0.5881 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.1568, allocations: 0 / 0.5881 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1568, allocations: 0 / 0.5881 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005052/0.1573, allocations: 103.9 kB / 0.5882 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.1579, allocations: 328.6 kB / 0.5885 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.1585, allocations: 158.4 kB / 0.5887 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.1588, allocations: 56.81 kB / 0.5887 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.1588, allocations: 160 / 0.5887 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.1588, allocations: 34.56 kB / 0.5888 GB, free: 284 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1589, allocations: 0 / 0.5888 GB, free: 284 kB / 494.1 MB 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.01935/0.1782, allocations: 2.84 MB / 0.5915 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.1783, allocations: 63.33 kB / 0.5916 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/0.1784, allocations: 97.86 kB / 0.5917 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.1784, allocations: 29.7 kB / 0.5917 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.1785, allocations: 95.97 kB / 0.5918 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.232e-05/0.1786, allocations: 35.47 kB / 0.5918 GB, free: 13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.1788, allocations: 65.58 kB / 0.5919 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1789, allocations: 318.8 kB / 0.5922 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006756/0.1796, allocations: 195.8 kB / 0.5924 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006671/0.1802, allocations: 191.8 kB / 0.5926 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.1816, allocations: 384.5 kB / 0.5929 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1816, allocations: 0 / 0.5929 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00159/0.1832, allocations: 485.2 kB / 0.5934 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.1833, allocations: 10.17 kB / 0.5934 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1833, allocations: 0 / 0.5934 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1833, allocations: 3.938 kB / 0.5934 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000903/0.1842, allocations: 107.8 kB / 0.5935 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.1842, allocations: 4.953 kB / 0.5935 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006717/0.1849, allocations: 55.94 kB / 0.5936 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/0.185, allocations: 19.94 kB / 0.5936 GB, free: 11.17 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.0001662/0.1851, allocations: 117.8 kB / 0.5937 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.899e-05/0.1852, allocations: 4 kB / 0.5937 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.675e-05/0.1853, allocations: 15.95 kB / 0.5937 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1853, allocations: 0 / 0.5937 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1853, allocations: 3.938 kB / 0.5937 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1853, allocations: 8 kB / 0.5937 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.1875, allocations: 1.046 MB / 0.5948 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1875, allocations: 3.984 kB / 0.5948 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008442/0.1884, allocations: 107.7 kB / 0.5949 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.1884, allocations: 7.938 kB / 0.5949 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/0.1885, allocations: 23.94 kB / 0.5949 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1885, allocations: 0 / 0.5949 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1885, allocations: 0 / 0.5949 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.1908, allocations: 0.7918 MB / 0.5957 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.191, allocations: 120.9 kB / 0.5958 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.1911, allocations: 8 kB / 0.5958 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007169/0.1918, allocations: 44 kB / 0.5958 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.1919, allocations: 27.92 kB / 0.5959 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.099e-05/0.192, allocations: 35.86 kB / 0.5959 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.122e-05/0.192, allocations: 75.28 kB / 0.596 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.192, allocations: 7.938 kB / 0.596 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003911/0.1924, allocations: 56 kB / 0.596 GB, free: 8.523 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.0002125/0.1926, allocations: 107.3 kB / 0.5961 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.1941, allocations: 419.5 kB / 0.5965 GB, free: 8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1941, allocations: 0 / 0.5965 GB, free: 8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000723/0.1948, allocations: 231.7 kB / 0.5968 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.1952, allocations: 8 kB / 0.5968 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/0.1996, allocations: 0.8059 MB / 0.5976 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.1999, allocations: 0.6926 MB / 0.5982 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/0.2003, allocations: 83.23 kB / 0.5983 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.2003, allocations: 0 / 0.5983 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of Templates: time 0.005444/0.2058, allocations: 3.758 MB / 0.602 GB, free: 2.359 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)