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.0008913/0.0008962, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007441/0.007441, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.775/0.775, allocations: 132.4 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003617, allocations: 8 kB / 0.504 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.468, allocations: 81.57 MB / 0.5837 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001164/0.4692, allocations: 0.5035 MB / 0.5842 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.4713, allocations: 1.478 MB / 0.5856 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.4713, allocations: 1.281 kB / 0.5856 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.4714, allocations: 2.984 kB / 0.5856 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.608e-05/0.4714, allocations: 3.938 kB / 0.5856 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.4719, allocations: 113.2 kB / 0.5857 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.472, allocations: 51 kB / 0.5858 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.4721, allocations: 4.859 kB / 0.5858 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.409e-05/0.4722, allocations: 22.31 kB / 0.5858 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.4723, allocations: 34.58 kB / 0.5858 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.4723, allocations: 4.656 kB / 0.5858 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004886/0.4728, allocations: 318.8 kB / 0.5861 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.4728, allocations: 18.34 kB / 0.5862 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.4728, allocations: 51.66 kB / 0.5862 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.4732, allocations: 201.5 kB / 0.5864 GB, free: 2.348 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4732, allocations: 5.516 kB / 0.5864 GB, free: 2.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4732, allocations: 0 / 0.5864 GB, free: 2.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.4732, allocations: 3.938 kB / 0.5864 GB, free: 2.34 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.0005789/0.4738, allocations: 395.3 kB / 0.5868 GB, free: 1.953 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4738, allocations: 13.64 kB / 0.5868 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004874/0.4743, allocations: 83.08 kB / 0.5869 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.082e-05/0.4744, allocations: 171.6 kB / 0.587 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.4745, allocations: 3.938 kB / 0.5871 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.4745, allocations: 9.484 kB / 0.5871 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.4749, allocations: 125 kB / 0.5872 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.475, allocations: 4.594 kB / 0.5872 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.475, allocations: 5.953 kB / 0.5872 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.475, allocations: 1.281 kB / 0.5872 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005352/0.4755, allocations: 131.7 kB / 0.5873 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/0.4761, allocations: 332.2 kB / 0.5876 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007036/0.4768, allocations: 187.9 kB / 0.5878 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.4771, allocations: 69.84 kB / 0.5879 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.4771, allocations: 1.062 kB / 0.5879 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.4772, allocations: 31.28 kB / 0.5879 GB, free: 1.242 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.4772, allocations: 0.8438 kB / 0.5879 GB, free: 1.242 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.02025/0.4974, allocations: 3.187 MB / 0.591 GB, free: 376 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.4975, allocations: 56.72 kB / 0.5911 GB, free: 308 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.94e-05/0.4975, allocations: 106.2 kB / 0.5912 GB, free: 200 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.019e-05/0.4976, allocations: 25.7 kB / 0.5912 GB, free: 168 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.4976, allocations: 91.86 kB / 0.5913 GB, free: 76 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/0.4977, allocations: 38.98 kB / 0.5913 GB, free: 44 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.4978, allocations: 19 kB / 0.5913 GB, free: 24 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.498, allocations: 318.5 kB / 0.5917 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008443/0.4988, allocations: 214.7 kB / 0.5919 GB, free: 15.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008548/0.4997, allocations: 220.5 kB / 0.5921 GB, free: 15.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.5013, allocations: 443.9 kB / 0.5925 GB, free: 15.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.5013, allocations: 1.094 kB / 0.5925 GB, free: 15.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001736/0.503, allocations: 0.5201 MB / 0.593 GB, free: 15.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5031, allocations: 4.75 kB / 0.593 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.5031, allocations: 0 / 0.593 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.5031, allocations: 2.109 kB / 0.593 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008869/0.504, allocations: 130.1 kB / 0.5931 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.504, allocations: 6.078 kB / 0.5931 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006615/0.5047, allocations: 57.38 kB / 0.5932 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.979e-05/0.5048, allocations: 32.05 kB / 0.5932 GB, free: 15.33 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.0001707/0.5049, allocations: 118.9 kB / 0.5933 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.505, allocations: 4.344 kB / 0.5933 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.711e-05/0.5051, allocations: 10.06 kB / 0.5933 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.5051, allocations: 1.531 kB / 0.5933 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.5051, allocations: 4.594 kB / 0.5934 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.5051, allocations: 0.6562 kB / 0.5934 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.5075, allocations: 1.095 MB / 0.5944 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5075, allocations: 3.938 kB / 0.5944 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008472/0.5084, allocations: 123.2 kB / 0.5945 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.5084, allocations: 5.188 kB / 0.5945 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.329e-05/0.5084, allocations: 24.66 kB / 0.5946 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5084, allocations: 1.656 kB / 0.5946 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5084, allocations: 0 / 0.5946 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.511, allocations: 0.8659 MB / 0.5954 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.5112, allocations: 124.4 kB / 0.5955 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.11e-05/0.5112, allocations: 0 / 0.5955 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007304/0.512, allocations: 61.94 kB / 0.5956 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/0.5121, allocations: 27.08 kB / 0.5956 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/0.5121, allocations: 26.27 kB / 0.5956 GB, free: 13.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.853e-05/0.5122, allocations: 82.84 kB / 0.5957 GB, free: 13.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5122, allocations: 0 / 0.5957 GB, free: 13.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004304/0.5126, allocations: 55.19 kB / 0.5958 GB, free: 13.44 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.0002418/0.5129, allocations: 114.5 kB / 0.5959 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.5145, allocations: 474.6 kB / 0.5963 GB, free: 13.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5145, allocations: 0 / 0.5963 GB, free: 13.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007875/0.5153, allocations: 251.2 kB / 0.5966 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.5157, allocations: 10.06 kB / 0.5966 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004547/0.5202, allocations: 0.8801 MB / 0.5975 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.5206, allocations: 0.6912 MB / 0.5981 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007087/0.5213, allocations: 87.67 kB / 0.5982 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.5216, allocations: 56.83 kB / 0.5983 GB, free: 11.66 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5216, allocations: 0 / 0.5983 GB, free: 11.66 MB / 446.1 MB Notification: Performance of Templates: time 0.008159/0.5297, allocations: 3.332 MB / 0.6015 GB, free: 9.898 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)