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.001863/0.001863, allocations: 110.2 kB / 16.41 MB, free: 6.023 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.002096/0.002096, allocations: 186.4 kB / 17.34 MB, free: 5.629 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8607/0.8607, allocations: 135.2 MB / 426.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.12 kB / 0.5864 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.148, allocations: 80.93 MB / 0.6654 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002073/0.15, allocations: 0.7749 MB / 0.6662 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.1521, allocations: 1.481 MB / 0.6676 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.1522, allocations: 0 / 0.6676 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.1522, allocations: 3.938 kB / 0.6676 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.852e-05/0.1522, allocations: 7.922 kB / 0.6676 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.1528, allocations: 147.5 kB / 0.6678 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.1529, allocations: 55.64 kB / 0.6678 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.1529, allocations: 3.984 kB / 0.6678 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.153, allocations: 23.92 kB / 0.6678 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.1531, allocations: 35.84 kB / 0.6679 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1531, allocations: 4 kB / 0.6679 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005031/0.1536, allocations: 323.3 kB / 0.6682 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.1537, allocations: 7.984 kB / 0.6682 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.1537, allocations: 31.84 kB / 0.6682 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.1541, allocations: 211.4 kB / 0.6684 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.1541, allocations: 0 / 0.6684 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.1541, allocations: 0 / 0.6684 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.1541, allocations: 0 / 0.6684 GB, free: 2.562 MB / 0.4981 GB 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.0008292/0.1549, allocations: 406.9 kB / 0.6688 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.155, allocations: 9.109 kB / 0.6688 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004741/0.1554, allocations: 68.81 kB / 0.6689 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.1556, allocations: 176.2 kB / 0.6691 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.1556, allocations: 8.375 kB / 0.6691 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.1557, allocations: 8.375 kB / 0.6691 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.1561, allocations: 113.9 kB / 0.6692 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1561, allocations: 3.938 kB / 0.6692 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.1561, allocations: 0 / 0.6692 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.1561, allocations: 4 kB / 0.6692 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004894/0.1566, allocations: 99.89 kB / 0.6693 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.1572, allocations: 344.6 kB / 0.6696 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006901/0.1579, allocations: 150.4 kB / 0.6698 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.1582, allocations: 52.81 kB / 0.6698 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1582, allocations: 0 / 0.6698 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.1582, allocations: 42.48 kB / 0.6698 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.1582, allocations: 0 / 0.6698 GB, free: 0.9453 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.01825/0.1765, allocations: 2.837 MB / 0.6726 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.1765, allocations: 55.34 kB / 0.6727 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.004e-05/0.1766, allocations: 101.8 kB / 0.6728 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/0.1767, allocations: 29.7 kB / 0.6728 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.284e-05/0.1767, allocations: 100 kB / 0.6729 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.387e-05/0.1768, allocations: 39.64 kB / 0.6729 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.177, allocations: 69.58 kB / 0.673 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1771, allocations: 322.8 kB / 0.6733 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007152/0.1778, allocations: 187.8 kB / 0.6735 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007028/0.1786, allocations: 191.8 kB / 0.6737 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.18, allocations: 396.5 kB / 0.674 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.18, allocations: 0 / 0.674 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001676/0.1817, allocations: 477.3 kB / 0.6745 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1817, allocations: 5.875 kB / 0.6745 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1817, allocations: 0 / 0.6745 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1817, allocations: 4 kB / 0.6745 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008087/0.1825, allocations: 103.8 kB / 0.6746 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1825, allocations: 4.953 kB / 0.6746 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.1831, allocations: 47.94 kB / 0.6747 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.848e-05/0.1832, allocations: 27.88 kB / 0.6747 GB, free: 11.84 MB / 0.5137 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.0001645/0.1833, allocations: 117.8 kB / 0.6748 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.072e-05/0.1834, allocations: 3.953 kB / 0.6748 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.418e-05/0.1835, allocations: 19.97 kB / 0.6748 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1835, allocations: 0 / 0.6748 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1835, allocations: 3.938 kB / 0.6748 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1835, allocations: 0 / 0.6748 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.1859, allocations: 1.058 MB / 0.6759 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1859, allocations: 4 kB / 0.6759 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008056/0.1867, allocations: 103.8 kB / 0.676 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.1867, allocations: 3.938 kB / 0.676 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/0.1868, allocations: 23.94 kB / 0.676 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1868, allocations: 0 / 0.676 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1868, allocations: 4 kB / 0.676 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.1893, allocations: 0.7957 MB / 0.6768 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.1895, allocations: 125 kB / 0.6769 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.66e-05/0.1896, allocations: 0 / 0.6769 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000873/0.1904, allocations: 51.92 kB / 0.6769 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.1906, allocations: 23.94 kB / 0.677 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.1907, allocations: 27.92 kB / 0.677 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.924e-05/0.1908, allocations: 83.38 kB / 0.6771 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1908, allocations: 3.938 kB / 0.6771 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006516/0.1914, allocations: 51.94 kB / 0.6771 GB, free: 9.191 MB / 0.5137 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.0002406/0.1917, allocations: 111.2 kB / 0.6772 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.1933, allocations: 422.2 kB / 0.6776 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1933, allocations: 3.938 kB / 0.6776 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007686/0.194, allocations: 215.7 kB / 0.6778 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1944, allocations: 19.92 kB / 0.6779 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/0.1987, allocations: 0.7843 MB / 0.6786 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.199, allocations: 0.6924 MB / 0.6793 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004316/0.1995, allocations: 79.23 kB / 0.6794 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/0.1995, allocations: 0 / 0.6794 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of Templates: time 0.006264/0.2057, allocations: 3.779 MB / 0.6831 GB, free: 3.02 MB / 0.5137 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)