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.001647/0.001647, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001925/0.001925, allocations: 187 kB / 17.34 MB, free: 5.734 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.35/1.35, 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.9093/0.9093, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 70.98 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1427, allocations: 80.92 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00205/0.1448, allocations: 0.7816 MB / 0.6661 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1467, allocations: 1.493 MB / 0.6676 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.1468, allocations: 0 / 0.6676 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.1469, allocations: 3.938 kB / 0.6676 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.601e-05/0.1469, allocations: 3.938 kB / 0.6676 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.1475, allocations: 139.5 kB / 0.6677 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.176e-05/0.1476, allocations: 51.7 kB / 0.6678 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.1477, allocations: 4 kB / 0.6678 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.17e-05/0.1478, allocations: 23.92 kB / 0.6678 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.1478, allocations: 39.81 kB / 0.6678 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.1479, allocations: 8 kB / 0.6678 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000438/0.1483, allocations: 311.4 kB / 0.6681 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.1483, allocations: 15.97 kB / 0.6681 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.1484, allocations: 27.86 kB / 0.6682 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.1487, allocations: 211.5 kB / 0.6684 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1487, allocations: 7.938 kB / 0.6684 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1487, allocations: 0 / 0.6684 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.1487, allocations: 0 / 0.6684 GB, free: 2.652 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.0006488/0.1494, allocations: 399.4 kB / 0.6688 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1494, allocations: 9.109 kB / 0.6688 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004676/0.1499, allocations: 68.84 kB / 0.6688 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.15, allocations: 172.3 kB / 0.669 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.1501, allocations: 4.375 kB / 0.669 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.1501, allocations: 8.375 kB / 0.669 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.1505, allocations: 125.8 kB / 0.6691 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1505, allocations: 3.984 kB / 0.6691 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.1505, allocations: 0 / 0.6691 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.1505, allocations: 0 / 0.6691 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.151, allocations: 103.8 kB / 0.6692 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.1516, allocations: 336.6 kB / 0.6695 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006506/0.1523, allocations: 158.4 kB / 0.6697 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.1526, allocations: 56.8 kB / 0.6698 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.1526, allocations: 0 / 0.6698 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1526, allocations: 38.56 kB / 0.6698 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1526, allocations: 0 / 0.6698 GB, free: 1.039 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.01783/0.1705, allocations: 2.83 MB / 0.6726 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.1705, allocations: 59.34 kB / 0.6726 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.085e-05/0.1706, allocations: 101.8 kB / 0.6727 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/0.1707, allocations: 29.7 kB / 0.6727 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.1707, allocations: 88.05 kB / 0.6728 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.884e-05/0.1708, allocations: 39.39 kB / 0.6729 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.1709, allocations: 69.58 kB / 0.6729 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.171, allocations: 314.8 kB / 0.6732 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006461/0.1717, allocations: 191.8 kB / 0.6734 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006556/0.1724, allocations: 195.8 kB / 0.6736 GB, free: 13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.1737, allocations: 395.8 kB / 0.674 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1737, allocations: 0 / 0.674 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001505/0.1752, allocations: 477.2 kB / 0.6744 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1752, allocations: 4 kB / 0.6744 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1752, allocations: 0 / 0.6744 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.1753, allocations: 4 kB / 0.6744 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000817/0.1761, allocations: 107.7 kB / 0.6745 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1761, allocations: 3.938 kB / 0.6745 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006106/0.1767, allocations: 51.94 kB / 0.6746 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.1768, allocations: 23.92 kB / 0.6746 GB, free: 11.95 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.0001577/0.177, allocations: 115.2 kB / 0.6747 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.228e-05/0.177, allocations: 7.906 kB / 0.6747 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.1771, allocations: 11.97 kB / 0.6747 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1771, allocations: 4 kB / 0.6747 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1771, allocations: 7.938 kB / 0.6748 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1771, allocations: 7.984 kB / 0.6748 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.1793, allocations: 1.043 MB / 0.6758 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1793, allocations: 3.938 kB / 0.6758 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008137/0.1801, allocations: 107.8 kB / 0.6759 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1801, allocations: 3.938 kB / 0.6759 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/0.1802, allocations: 23.92 kB / 0.6759 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1802, allocations: 0 / 0.6759 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1802, allocations: 0 / 0.6759 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.1825, allocations: 0.7996 MB / 0.6767 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.1827, allocations: 117 kB / 0.6768 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.761e-05/0.1827, allocations: 8.062 kB / 0.6768 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006696/0.1834, allocations: 43.94 kB / 0.6769 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.1835, allocations: 27.92 kB / 0.6769 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.108e-05/0.1836, allocations: 23.94 kB / 0.6769 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.108e-05/0.1836, allocations: 87.28 kB / 0.677 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1836, allocations: 0 / 0.677 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000385/0.184, allocations: 55.98 kB / 0.677 GB, free: 9.305 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.0001977/0.1842, allocations: 103.6 kB / 0.6771 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001427/0.1857, allocations: 427.4 kB / 0.6775 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1857, allocations: 4 kB / 0.6776 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007154/0.1864, allocations: 227.7 kB / 0.6778 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1868, allocations: 11.98 kB / 0.6778 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/0.191, allocations: 0.7885 MB / 0.6786 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.1913, allocations: 0.6924 MB / 0.6792 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/0.1917, allocations: 79.23 kB / 0.6793 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of SimCode: time 1.022e-06/0.1917, allocations: 0 / 0.6793 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of Templates: time 0.005328/0.197, allocations: 3.783 MB / 0.683 GB, free: 3.121 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)