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.0009978/0.000998, allocations: 101.9 kB / 16.35 MB, free: 5.824 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.001043/0.001043, allocations: 192.3 kB / 17.29 MB, free: 5.48 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.317/1.317, 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.8062/0.8062, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 0.5068 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.332, allocations: 80.91 MB / 0.5858 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001924/0.3339, allocations: 0.7732 MB / 0.5865 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.3354, allocations: 1.481 MB / 0.588 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.164e-05/0.3354, allocations: 1.844 kB / 0.588 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.3355, allocations: 3.938 kB / 0.588 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.476e-05/0.3355, allocations: 5.188 kB / 0.588 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.336, allocations: 143.8 kB / 0.5881 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.448e-05/0.3361, allocations: 52.23 kB / 0.5882 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.3361, allocations: 4.156 kB / 0.5882 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.251e-05/0.3362, allocations: 30.41 kB / 0.5882 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.3363, allocations: 29.44 kB / 0.5882 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3363, allocations: 9.062 kB / 0.5882 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.3367, allocations: 323.5 kB / 0.5885 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.3367, allocations: 11.45 kB / 0.5886 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.3368, allocations: 29.97 kB / 0.5886 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.337, allocations: 205.2 kB / 0.5888 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.337, allocations: 0 / 0.5888 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.337, allocations: 4 kB / 0.5888 GB, free: 23.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.337, allocations: 0 / 0.5888 GB, free: 23.59 MB / 446.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.0005166/0.3376, allocations: 398.3 kB / 0.5892 GB, free: 23.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3376, allocations: 14.14 kB / 0.5892 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004101/0.338, allocations: 76.5 kB / 0.5893 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.799e-05/0.3381, allocations: 168.3 kB / 0.5894 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.3381, allocations: 10.03 kB / 0.5894 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.3382, allocations: 8.281 kB / 0.5894 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.3385, allocations: 115.4 kB / 0.5895 GB, free: 22.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3385, allocations: 4.594 kB / 0.5895 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3385, allocations: 0.625 kB / 0.5895 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3385, allocations: 0 / 0.5895 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004116/0.339, allocations: 112.5 kB / 0.5897 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.3394, allocations: 326.1 kB / 0.59 GB, free: 22.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/0.34, allocations: 159.9 kB / 0.5901 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.3402, allocations: 54.78 kB / 0.5902 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.3402, allocations: 5.625 kB / 0.5902 GB, free: 22.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.3402, allocations: 34.56 kB / 0.5902 GB, free: 22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3402, allocations: 4 kB / 0.5902 GB, free: 22 MB / 446.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.0169/0.3571, allocations: 2.821 MB / 0.593 GB, free: 19.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.3572, allocations: 55.34 kB / 0.593 GB, free: 19.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.103e-05/0.3573, allocations: 105.8 kB / 0.5931 GB, free: 18.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.3573, allocations: 29.7 kB / 0.5931 GB, free: 18.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.3574, allocations: 88.05 kB / 0.5932 GB, free: 18.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.3574, allocations: 39.39 kB / 0.5933 GB, free: 18.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.3576, allocations: 69.58 kB / 0.5933 GB, free: 18.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.636e-05/0.3576, allocations: 322.8 kB / 0.5936 GB, free: 18.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/0.3582, allocations: 187.8 kB / 0.5938 GB, free: 18.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005678/0.3588, allocations: 195.8 kB / 0.594 GB, free: 18.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.36, allocations: 403.3 kB / 0.5944 GB, free: 17.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.36, allocations: 0 / 0.5944 GB, free: 17.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001359/0.3614, allocations: 481.2 kB / 0.5949 GB, free: 17.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3614, allocations: 4 kB / 0.5949 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3614, allocations: 0 / 0.5949 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3614, allocations: 3.984 kB / 0.5949 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007837/0.3622, allocations: 111.7 kB / 0.595 GB, free: 17.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3622, allocations: 3.938 kB / 0.595 GB, free: 17.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000575/0.3628, allocations: 43.94 kB / 0.595 GB, free: 17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.3629, allocations: 31.94 kB / 0.595 GB, free: 16.97 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.0001227/0.363, allocations: 113.8 kB / 0.5952 GB, free: 16.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.3631, allocations: 0 / 0.5952 GB, free: 16.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.326e-05/0.3631, allocations: 15.95 kB / 0.5952 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.3631, allocations: 0 / 0.5952 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3632, allocations: 3.938 kB / 0.5952 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3632, allocations: 0 / 0.5952 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.365, allocations: 1.062 MB / 0.5962 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3651, allocations: 0 / 0.5962 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007727/0.3658, allocations: 107.8 kB / 0.5963 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3658, allocations: 3.938 kB / 0.5963 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/0.3659, allocations: 23.94 kB / 0.5963 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3659, allocations: 0 / 0.5963 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3659, allocations: 0 / 0.5963 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.3679, allocations: 0.7918 MB / 0.5971 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.368, allocations: 120.9 kB / 0.5972 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.3681, allocations: 3.938 kB / 0.5972 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006682/0.3688, allocations: 52 kB / 0.5973 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.3689, allocations: 27.92 kB / 0.5973 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/0.3689, allocations: 23.92 kB / 0.5973 GB, free: 14.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.315e-05/0.369, allocations: 83.45 kB / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.369, allocations: 0 / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000348/0.3693, allocations: 56 kB / 0.5975 GB, free: 14.34 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.0001679/0.3695, allocations: 116.6 kB / 0.5976 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.3708, allocations: 419.5 kB / 0.598 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3708, allocations: 0 / 0.598 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006361/0.3714, allocations: 231.7 kB / 0.5982 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.3718, allocations: 8 kB / 0.5982 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/0.3758, allocations: 0.7558 MB / 0.5989 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.3759, allocations: 0.6924 MB / 0.5996 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004618/0.3764, allocations: 104.5 kB / 0.5997 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.3766, allocations: 51.31 kB / 0.5998 GB, free: 11.92 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3766, allocations: 0 / 0.5998 GB, free: 11.92 MB / 446.1 MB Notification: Performance of Templates: time 0.005136/0.3818, allocations: 3.47 MB / 0.6032 GB, free: 8.457 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)