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.00109/0.00109, 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.001185/0.001185, allocations: 196.1 kB / 16.25 MB, free: 6.621 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.547/1.547, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.039/1.039, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 65.28 kB / 0.5049 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1846, allocations: 80.93 MB / 0.5839 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00222/0.1869, allocations: 0.8347 MB / 0.5847 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1887, allocations: 1.472 MB / 0.5862 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.1888, allocations: 7.938 kB / 0.5862 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.1888, allocations: 0 / 0.5862 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.978e-05/0.1888, allocations: 0 / 0.5862 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.1893, allocations: 123.7 kB / 0.5863 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.363e-05/0.1894, allocations: 47.91 kB / 0.5863 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.717e-05/0.1894, allocations: 4 kB / 0.5863 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.696e-05/0.1895, allocations: 27.92 kB / 0.5864 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.544e-05/0.1896, allocations: 39.81 kB / 0.5864 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1896, allocations: 4 kB / 0.5864 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.1901, allocations: 319.4 kB / 0.5867 GB, free: 2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.1901, allocations: 15.98 kB / 0.5867 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.1901, allocations: 19.86 kB / 0.5867 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.1904, allocations: 211.5 kB / 0.5869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1904, allocations: 0 / 0.5869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1905, allocations: 4 kB / 0.5869 GB, free: 1.754 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1905, allocations: 0 / 0.5869 GB, free: 1.754 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.00067/0.1911, allocations: 395.6 kB / 0.5873 GB, free: 1.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1912, allocations: 16.03 kB / 0.5873 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004395/0.1916, allocations: 72.77 kB / 0.5874 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1917, allocations: 172.2 kB / 0.5876 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.1918, allocations: 4.375 kB / 0.5876 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.1918, allocations: 12.28 kB / 0.5876 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.1922, allocations: 105.9 kB / 0.5877 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1922, allocations: 8 kB / 0.5877 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.1922, allocations: 4 kB / 0.5877 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1922, allocations: 0 / 0.5877 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004591/0.1927, allocations: 103.9 kB / 0.5878 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.1932, allocations: 328.6 kB / 0.5881 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/0.1939, allocations: 158.4 kB / 0.5883 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.1941, allocations: 52.81 kB / 0.5883 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.1941, allocations: 8.078 kB / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.1942, allocations: 46.48 kB / 0.5884 GB, free: 140 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.1942, allocations: 0 / 0.5884 GB, free: 140 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.01872/0.2129, allocations: 2.826 MB / 0.5911 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.213, allocations: 55.34 kB / 0.5912 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.264e-05/0.2131, allocations: 105.8 kB / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.323e-05/0.2131, allocations: 29.7 kB / 0.5913 GB, free: 13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.2132, allocations: 91.97 kB / 0.5914 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.76e-05/0.2133, allocations: 43.45 kB / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.2134, allocations: 65.58 kB / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2136, allocations: 314.8 kB / 0.5918 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000656/0.2142, allocations: 191.8 kB / 0.592 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006301/0.2149, allocations: 195.8 kB / 0.5922 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.2161, allocations: 391.5 kB / 0.5925 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2162, allocations: 0 / 0.5925 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001516/0.2177, allocations: 489.2 kB / 0.593 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.2177, allocations: 4 kB / 0.593 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2177, allocations: 320 / 0.593 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2177, allocations: 0 / 0.593 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008472/0.2186, allocations: 111.8 kB / 0.5931 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2186, allocations: 3.938 kB / 0.5931 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006305/0.2192, allocations: 39.94 kB / 0.5932 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.845e-05/0.2193, allocations: 31.92 kB / 0.5932 GB, free: 11.04 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.0001593/0.2195, allocations: 125.8 kB / 0.5933 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.22e-05/0.2196, allocations: 4 kB / 0.5933 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.2196, allocations: 7.969 kB / 0.5933 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2196, allocations: 0 / 0.5933 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.2197, allocations: 3.938 kB / 0.5933 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2197, allocations: 0 / 0.5933 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.2218, allocations: 1.06 MB / 0.5944 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2218, allocations: 0 / 0.5944 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008713/0.2227, allocations: 107.8 kB / 0.5945 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.2227, allocations: 3.938 kB / 0.5945 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.077e-05/0.2228, allocations: 27.94 kB / 0.5945 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2228, allocations: 0 / 0.5945 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2228, allocations: 0 / 0.5945 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.2251, allocations: 0.7876 MB / 0.5953 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.2253, allocations: 128.9 kB / 0.5954 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.985e-05/0.2254, allocations: 3.938 kB / 0.5954 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007087/0.2261, allocations: 55.92 kB / 0.5954 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.863e-05/0.2262, allocations: 23.94 kB / 0.5955 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.804e-05/0.2263, allocations: 27.92 kB / 0.5955 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.098e-05/0.2263, allocations: 79.28 kB / 0.5956 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2263, allocations: 0 / 0.5956 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003829/0.2267, allocations: 52 kB / 0.5956 GB, free: 8.398 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.0002328/0.2269, allocations: 115.2 kB / 0.5957 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.2284, allocations: 423.5 kB / 0.5961 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2284, allocations: 0 / 0.5961 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007149/0.2291, allocations: 231.7 kB / 0.5963 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.2295, allocations: 11.98 kB / 0.5964 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004352/0.2339, allocations: 0.7792 MB / 0.5971 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.2342, allocations: 0.6924 MB / 0.5978 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006908/0.2349, allocations: 88.67 kB / 0.5979 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.2352, allocations: 59.23 kB / 0.5979 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.2352, allocations: 0 / 0.5979 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of Templates: time 0.007296/0.2425, allocations: 3.459 MB / 0.6013 GB, free: 2.508 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)