Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.007518/0.007518, allocations: 100.4 kB / 15.73 MB, free: 5.988 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.001644/0.001644, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7876/0.7876, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 72.98 kB / 0.5814 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1859, allocations: 80.2 MB / 0.6597 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002126/0.1881, allocations: 0.7862 MB / 0.6605 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.1902, allocations: 1.474 MB / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.1902, allocations: 0 / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.1903, allocations: 11.92 kB / 0.6619 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.1904, allocations: 3.938 kB / 0.6619 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005785/0.191, allocations: 147.4 kB / 0.6621 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.1911, allocations: 51.97 kB / 0.6621 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.1911, allocations: 4 kB / 0.6621 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.962e-05/0.1912, allocations: 31.84 kB / 0.6622 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.1913, allocations: 35.83 kB / 0.6622 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1913, allocations: 4 kB / 0.6622 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004815/0.1918, allocations: 319.4 kB / 0.6625 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.1918, allocations: 11.98 kB / 0.6625 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.1919, allocations: 27.84 kB / 0.6625 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.1922, allocations: 207.5 kB / 0.6627 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1923, allocations: 0 / 0.6627 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1923, allocations: 4 kB / 0.6628 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1923, allocations: 4 kB / 0.6628 GB, free: 10.34 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.0006342/0.1929, allocations: 401.4 kB / 0.6631 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.193, allocations: 12.03 kB / 0.6631 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004438/0.1934, allocations: 68.77 kB / 0.6632 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1935, allocations: 172.2 kB / 0.6634 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.1936, allocations: 8.375 kB / 0.6634 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.1936, allocations: 4.375 kB / 0.6634 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.194, allocations: 120.9 kB / 0.6635 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.194, allocations: 3.938 kB / 0.6635 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.194, allocations: 4 kB / 0.6635 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.194, allocations: 0 / 0.6635 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004567/0.1945, allocations: 103.9 kB / 0.6636 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.195, allocations: 340.5 kB / 0.6639 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/0.1957, allocations: 146.5 kB / 0.6641 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.1959, allocations: 60.81 kB / 0.6641 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.1959, allocations: 3.984 kB / 0.6641 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.196, allocations: 34.56 kB / 0.6642 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.464e-06/0.196, allocations: 0 / 0.6642 GB, free: 8.727 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.01767/0.2136, allocations: 2.834 MB / 0.6669 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.2137, allocations: 59.34 kB / 0.667 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.886e-05/0.2138, allocations: 97.86 kB / 0.6671 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.2139, allocations: 29.7 kB / 0.6671 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.214, allocations: 88.12 kB / 0.6672 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/0.2141, allocations: 35.45 kB / 0.6672 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.2143, allocations: 69.58 kB / 0.6673 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2144, allocations: 318.8 kB / 0.6676 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006539/0.2151, allocations: 191.8 kB / 0.6678 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/0.2157, allocations: 187.8 kB / 0.668 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.2171, allocations: 396.5 kB / 0.6683 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2171, allocations: 4 kB / 0.6683 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001496/0.2186, allocations: 484.3 kB / 0.6688 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.2186, allocations: 4 kB / 0.6688 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.2186, allocations: 0 / 0.6688 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.2187, allocations: 0 / 0.6688 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000783/0.2195, allocations: 107.8 kB / 0.6689 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2195, allocations: 3.938 kB / 0.6689 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005664/0.22, allocations: 44.12 kB / 0.669 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.897e-05/0.2201, allocations: 27.94 kB / 0.669 GB, free: 3.641 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.0001425/0.2203, allocations: 122.4 kB / 0.6691 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.899e-05/0.2204, allocations: 7.891 kB / 0.6691 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.2204, allocations: 15.97 kB / 0.6691 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2204, allocations: 96 / 0.6691 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2204, allocations: 11.88 kB / 0.6691 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2205, allocations: 0 / 0.6691 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.2227, allocations: 1.051 MB / 0.6702 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.2228, allocations: 0 / 0.6702 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007822/0.2236, allocations: 107.7 kB / 0.6703 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/0.2236, allocations: 3.938 kB / 0.6703 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.948e-05/0.2236, allocations: 23.94 kB / 0.6703 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2236, allocations: 0 / 0.6703 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2236, allocations: 0 / 0.6703 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.2259, allocations: 0.7954 MB / 0.6711 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.2261, allocations: 117 kB / 0.6712 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.2261, allocations: 0 / 0.6712 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/0.2268, allocations: 55.98 kB / 0.6712 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2269, allocations: 23.94 kB / 0.6713 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.227, allocations: 27.86 kB / 0.6713 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.79e-05/0.227, allocations: 83.28 kB / 0.6714 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/0.227, allocations: 4 kB / 0.6714 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004068/0.2274, allocations: 52 kB / 0.6714 GB, free: 0.9883 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.0002727/0.2277, allocations: 111.2 kB / 0.6715 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00142/0.2292, allocations: 419.5 kB / 0.6719 GB, free: 472 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2292, allocations: 7.938 kB / 0.6719 GB, free: 464 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00069/0.2299, allocations: 219.7 kB / 0.6721 GB, free: 244 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.2303, allocations: 15.98 kB / 0.6722 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.2344, allocations: 0.7556 MB / 0.6729 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.2347, allocations: 0.6924 MB / 0.6736 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004707/0.2352, allocations: 88.66 kB / 0.6737 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.2354, allocations: 59.23 kB / 0.6737 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/0.2354, allocations: 4 kB / 0.6737 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of Templates: time 0.007682/0.2431, allocations: 3.47 MB / 0.6771 GB, free: 11.11 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)