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.00144/0.00144, 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.00169/0.00169, allocations: 193 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.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7753/0.7753, allocations: 132.2 MB / 422.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 71.69 kB / 0.5013 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4221, allocations: 80.2 MB / 0.5796 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002221/0.4244, allocations: 0.8345 MB / 0.5804 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.4262, allocations: 1.484 MB / 0.5819 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.224e-05/0.4263, allocations: 1.406 kB / 0.5819 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.893e-05/0.4263, allocations: 4.5 kB / 0.5819 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.63e-05/0.4264, allocations: 0.7031 kB / 0.5819 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005634/0.4269, allocations: 119.6 kB / 0.582 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.4271, allocations: 52.56 kB / 0.5821 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.4271, allocations: 7.312 kB / 0.5821 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.112e-05/0.4272, allocations: 28.75 kB / 0.5821 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.345e-05/0.4273, allocations: 35.05 kB / 0.5821 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.4273, allocations: 4.438 kB / 0.5821 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005075/0.4278, allocations: 324.2 kB / 0.5824 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.4279, allocations: 14.77 kB / 0.5824 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.4279, allocations: 25.64 kB / 0.5825 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.4283, allocations: 204.2 kB / 0.5827 GB, free: 2.645 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4283, allocations: 0 / 0.5827 GB, free: 2.645 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4283, allocations: 1.688 kB / 0.5827 GB, free: 2.645 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.4283, allocations: 0 / 0.5827 GB, free: 2.645 MB / 430.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.0007249/0.4291, allocations: 401.8 kB / 0.583 GB, free: 2.254 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.4291, allocations: 13.28 kB / 0.5831 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005258/0.4297, allocations: 72.73 kB / 0.5831 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.4298, allocations: 167.9 kB / 0.5833 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.4298, allocations: 7.031 kB / 0.5833 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.4299, allocations: 12.75 kB / 0.5833 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.4303, allocations: 108.3 kB / 0.5834 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4303, allocations: 4 kB / 0.5834 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.4303, allocations: 5 kB / 0.5834 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.4304, allocations: 1.188 kB / 0.5834 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.4309, allocations: 106.9 kB / 0.5835 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/0.4315, allocations: 330.8 kB / 0.5838 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007006/0.4322, allocations: 156.1 kB / 0.584 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.4325, allocations: 54.11 kB / 0.584 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.4325, allocations: 1.438 kB / 0.584 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.4326, allocations: 36.23 kB / 0.5841 GB, free: 1.555 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.4326, allocations: 4.859 kB / 0.5841 GB, free: 1.551 MB / 430.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.02017/0.4527, allocations: 2.835 MB / 0.5868 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.4528, allocations: 56.34 kB / 0.5869 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.357e-05/0.4529, allocations: 102.4 kB / 0.587 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/0.4529, allocations: 31.14 kB / 0.587 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.453, allocations: 90.77 kB / 0.5871 GB, free: 432 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/0.453, allocations: 44.3 kB / 0.5872 GB, free: 396 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.4532, allocations: 69.84 kB / 0.5872 GB, free: 372 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.4533, allocations: 317.9 kB / 0.5875 GB, free: 48 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006801/0.454, allocations: 187.9 kB / 0.5877 GB, free: 8 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007397/0.4547, allocations: 193.6 kB / 0.5879 GB, free: 15.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.4562, allocations: 394.6 kB / 0.5883 GB, free: 15.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4562, allocations: 3.938 kB / 0.5883 GB, free: 15.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001707/0.4579, allocations: 484.3 kB / 0.5887 GB, free: 15.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.4579, allocations: 5.953 kB / 0.5887 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.4579, allocations: 0 / 0.5887 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.458, allocations: 9.938 kB / 0.5888 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009511/0.4589, allocations: 105.5 kB / 0.5889 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.4589, allocations: 7.094 kB / 0.5889 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006869/0.4596, allocations: 45.66 kB / 0.5889 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.76e-05/0.4597, allocations: 26.89 kB / 0.5889 GB, free: 15.68 MB / 446.1 MB 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.0001793/0.4599, allocations: 120.6 kB / 0.589 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.46, allocations: 2.828 kB / 0.589 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.442e-05/0.4601, allocations: 10.41 kB / 0.5891 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.4601, allocations: 1.281 kB / 0.5891 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.4601, allocations: 3.938 kB / 0.5891 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4601, allocations: 1.531 kB / 0.5891 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/0.4625, allocations: 1.044 MB / 0.5901 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4625, allocations: 0 / 0.5901 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008681/0.4633, allocations: 113.9 kB / 0.5902 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.4634, allocations: 3.938 kB / 0.5902 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.015e-05/0.4634, allocations: 25.11 kB / 0.5902 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4634, allocations: 0.6562 kB / 0.5902 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4634, allocations: 0.5938 kB / 0.5902 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.4658, allocations: 0.7819 MB / 0.591 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.466, allocations: 123.9 kB / 0.5911 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.951e-05/0.4661, allocations: 1.5 kB / 0.5911 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007297/0.4668, allocations: 46.62 kB / 0.5911 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4669, allocations: 30.92 kB / 0.5912 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/0.467, allocations: 26.06 kB / 0.5912 GB, free: 14.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.207e-05/0.467, allocations: 82.8 kB / 0.5913 GB, free: 13.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.467, allocations: 3.938 kB / 0.5913 GB, free: 13.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003892/0.4674, allocations: 50.97 kB / 0.5913 GB, free: 13.94 MB / 446.1 MB 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.0002282/0.4676, allocations: 118.4 kB / 0.5914 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.4691, allocations: 424.4 kB / 0.5918 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4691, allocations: 1.5 kB / 0.5919 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006998/0.4698, allocations: 224.6 kB / 0.5921 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.4702, allocations: 9.031 kB / 0.5921 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.4745, allocations: 0.7837 MB / 0.5928 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.4748, allocations: 0.6947 MB / 0.5935 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007221/0.4755, allocations: 91.89 kB / 0.5936 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.4758, allocations: 59.17 kB / 0.5937 GB, free: 12.18 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4758, allocations: 0 / 0.5937 GB, free: 12.18 MB / 446.1 MB Notification: Performance of Templates: time 0.006782/0.4826, allocations: 3.461 MB / 0.597 GB, free: 10.34 MB / 446.1 MB 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)