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.0008484/0.0008483, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0009007/0.0009007, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.654/0.654, allocations: 132.4 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002934, allocations: 12 kB / 0.5034 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3324, allocations: 81.57 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0007479/0.3332, allocations: 0.49 MB / 0.5836 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.3345, allocations: 1.413 MB / 0.585 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.291e-05/0.3345, allocations: 3.938 kB / 0.585 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.3346, allocations: 6.859 kB / 0.585 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.72e-05/0.3346, allocations: 0.9062 kB / 0.585 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.335, allocations: 111.3 kB / 0.5851 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.336e-05/0.335, allocations: 42.97 kB / 0.5851 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.3351, allocations: 2.188 kB / 0.5851 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.95e-05/0.3351, allocations: 29.23 kB / 0.5851 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.3352, allocations: 30.75 kB / 0.5852 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.3352, allocations: 4.156 kB / 0.5852 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.3356, allocations: 300.6 kB / 0.5855 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.3357, allocations: 22.78 kB / 0.5855 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.3357, allocations: 33.2 kB / 0.5855 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.3359, allocations: 148.4 kB / 0.5857 GB, free: 2.352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3359, allocations: 0.9688 kB / 0.5857 GB, free: 2.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3359, allocations: 0.8438 kB / 0.5857 GB, free: 2.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.3359, allocations: 0 / 0.5857 GB, free: 2.352 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.0004492/0.3364, allocations: 399 kB / 0.586 GB, free: 1.961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.3364, allocations: 8.594 kB / 0.586 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/0.3368, allocations: 84.03 kB / 0.5861 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.118e-05/0.3369, allocations: 174.4 kB / 0.5863 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.3369, allocations: 6.281 kB / 0.5863 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.3369, allocations: 5.422 kB / 0.5863 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.3372, allocations: 123.1 kB / 0.5864 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3373, allocations: 0.5156 kB / 0.5864 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3373, allocations: 0.8125 kB / 0.5864 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3373, allocations: 9.641 kB / 0.5864 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.3377, allocations: 122.5 kB / 0.5865 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.3382, allocations: 334.8 kB / 0.5869 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/0.3387, allocations: 184.2 kB / 0.587 GB, free: 1.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.3389, allocations: 69.41 kB / 0.5871 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.3389, allocations: 1.062 kB / 0.5871 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.339, allocations: 39.94 kB / 0.5871 GB, free: 1.254 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.339, allocations: 1.344 kB / 0.5871 GB, free: 1.254 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.01499/0.354, allocations: 3.182 MB / 0.5903 GB, free: 388 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.77e-05/0.354, allocations: 53.39 kB / 0.5903 GB, free: 324 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.322e-05/0.354, allocations: 106.6 kB / 0.5904 GB, free: 216 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.3541, allocations: 25.7 kB / 0.5904 GB, free: 184 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.232e-05/0.3541, allocations: 91.64 kB / 0.5905 GB, free: 92 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.3542, allocations: 44.06 kB / 0.5906 GB, free: 56 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.3542, allocations: 4 kB / 0.5906 GB, free: 52 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.918e-05/0.3543, allocations: 314.2 kB / 0.5909 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005934/0.3549, allocations: 218.1 kB / 0.5911 GB, free: 15.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005707/0.3555, allocations: 220.2 kB / 0.5913 GB, free: 15.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006037/0.3561, allocations: 218.4 kB / 0.5915 GB, free: 15.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3561, allocations: 0 / 0.5915 GB, free: 15.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001363/0.3575, allocations: 0.5211 MB / 0.592 GB, free: 15.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3575, allocations: 6.969 kB / 0.592 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3575, allocations: 0 / 0.592 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.3575, allocations: 0 / 0.592 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/0.3582, allocations: 118.9 kB / 0.5921 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.3582, allocations: 2.938 kB / 0.5921 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004925/0.3587, allocations: 60.91 kB / 0.5922 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.3588, allocations: 27.66 kB / 0.5922 GB, free: 15.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.3589, allocations: 119.5 kB / 0.5923 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.359, allocations: 11.88 kB / 0.5923 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.359, allocations: 13.75 kB / 0.5923 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.359, allocations: 4.812 kB / 0.5924 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3591, allocations: 1.406 kB / 0.5924 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3591, allocations: 1.125 kB / 0.5924 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.361, allocations: 1.097 MB / 0.5934 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.361, allocations: 0 / 0.5934 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000678/0.3617, allocations: 126 kB / 0.5935 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3617, allocations: 4 kB / 0.5935 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/0.3617, allocations: 19.75 kB / 0.5936 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3617, allocations: 3.156 kB / 0.5936 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3617, allocations: 3.984 kB / 0.5936 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.3637, allocations: 0.8713 MB / 0.5944 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3638, allocations: 115.6 kB / 0.5945 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.3639, allocations: 1.5 kB / 0.5945 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/0.3644, allocations: 62.28 kB / 0.5946 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.3645, allocations: 25.3 kB / 0.5946 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.3646, allocations: 27.11 kB / 0.5946 GB, free: 13.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.044e-05/0.3646, allocations: 87.05 kB / 0.5947 GB, free: 13.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3646, allocations: 0 / 0.5947 GB, free: 13.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003198/0.3649, allocations: 54.06 kB / 0.5948 GB, free: 13.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/0.3651, allocations: 119.4 kB / 0.5949 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.3663, allocations: 475.2 kB / 0.5953 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3663, allocations: 0 / 0.5953 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006136/0.367, allocations: 250.9 kB / 0.5956 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.3672, allocations: 16.05 kB / 0.5956 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.3707, allocations: 0.8593 MB / 0.5964 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.3709, allocations: 0.6911 MB / 0.5971 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006246/0.3715, allocations: 92.97 kB / 0.5972 GB, free: 11.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.3718, allocations: 59.05 kB / 0.5973 GB, free: 11.89 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3718, allocations: 1.312 kB / 0.5973 GB, free: 11.89 MB / 446.1 MB Notification: Performance of Templates: time 0.00567/0.3775, allocations: 3.238 MB / 0.6004 GB, free: 10.17 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)