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.001144/0.001144, allocations: 112.2 kB / 16.37 MB, free: 6.469 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.001111/0.001112, allocations: 190 kB / 17.31 MB, free: 5.828 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7905/0.7905, allocations: 132.2 MB / 423.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3597, allocations: 80.19 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002614/0.3624, allocations: 0.7846 MB / 0.5823 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.3645, allocations: 1.478 MB / 0.5837 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.3646, allocations: 1.219 kB / 0.5837 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.65e-05/0.3646, allocations: 3.938 kB / 0.5837 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.3647, allocations: 7.922 kB / 0.5837 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.3652, allocations: 140.6 kB / 0.5839 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.248e-05/0.3652, allocations: 47.7 kB / 0.5839 GB, free: 25.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.329e-05/0.3653, allocations: 7.703 kB / 0.5839 GB, free: 25.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.381e-05/0.3654, allocations: 25.36 kB / 0.5839 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.111e-05/0.3655, allocations: 33.03 kB / 0.584 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.3655, allocations: 3.844 kB / 0.584 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.3659, allocations: 322.5 kB / 0.5843 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.3659, allocations: 11.45 kB / 0.5843 GB, free: 25.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.366, allocations: 34.59 kB / 0.5843 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.3663, allocations: 204.5 kB / 0.5845 GB, free: 25.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3663, allocations: 0 / 0.5845 GB, free: 25.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3663, allocations: 1.969 kB / 0.5845 GB, free: 25.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3663, allocations: 1.125 kB / 0.5845 GB, free: 25.28 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.0005568/0.3669, allocations: 406 kB / 0.5849 GB, free: 24.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.367, allocations: 11.25 kB / 0.5849 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/0.3675, allocations: 66.88 kB / 0.585 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.3676, allocations: 170.2 kB / 0.5852 GB, free: 24.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/0.3677, allocations: 11.25 kB / 0.5852 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.3677, allocations: 7.188 kB / 0.5852 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.3681, allocations: 119.6 kB / 0.5853 GB, free: 24.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3681, allocations: 5.156 kB / 0.5853 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.3682, allocations: 5.328 kB / 0.5853 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.3682, allocations: 1.344 kB / 0.5853 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004716/0.3686, allocations: 102.9 kB / 0.5854 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000652/0.3693, allocations: 329.2 kB / 0.5857 GB, free: 24.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/0.3699, allocations: 159.5 kB / 0.5859 GB, free: 24.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.3701, allocations: 52.69 kB / 0.5859 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.3702, allocations: 2.688 kB / 0.5859 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.3702, allocations: 35.62 kB / 0.5859 GB, free: 24.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3702, allocations: 1.375 kB / 0.5859 GB, free: 24.04 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.01709/0.3873, allocations: 2.834 MB / 0.5887 GB, free: 22.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.3874, allocations: 61.81 kB / 0.5888 GB, free: 22.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.982e-05/0.3874, allocations: 102.9 kB / 0.5889 GB, free: 22.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.3875, allocations: 25.7 kB / 0.5889 GB, free: 22.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.3875, allocations: 90.42 kB / 0.589 GB, free: 22.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.886e-05/0.3876, allocations: 44.5 kB / 0.589 GB, free: 22.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.3878, allocations: 73.23 kB / 0.5891 GB, free: 22.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.892e-05/0.3878, allocations: 319.8 kB / 0.5894 GB, free: 21.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005852/0.3884, allocations: 188.7 kB / 0.5896 GB, free: 21.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005765/0.389, allocations: 190 kB / 0.5898 GB, free: 21.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.3901, allocations: 393.6 kB / 0.5901 GB, free: 21.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3901, allocations: 0 / 0.5901 GB, free: 21.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001301/0.3914, allocations: 484 kB / 0.5906 GB, free: 20.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3915, allocations: 12 kB / 0.5906 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3915, allocations: 0 / 0.5906 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3915, allocations: 0 / 0.5906 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007781/0.3923, allocations: 103.8 kB / 0.5907 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3923, allocations: 7.938 kB / 0.5907 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/0.3929, allocations: 47.94 kB / 0.5908 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.3929, allocations: 23.94 kB / 0.5908 GB, free: 20.5 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.000126/0.3931, allocations: 113.8 kB / 0.5909 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/0.3931, allocations: 4 kB / 0.5909 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.003e-05/0.3932, allocations: 11.97 kB / 0.5909 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3932, allocations: 7.984 kB / 0.5909 GB, free: 20.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3932, allocations: 7.875 kB / 0.5909 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3932, allocations: 0 / 0.5909 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.395, allocations: 1.043 MB / 0.5919 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.395, allocations: 0 / 0.5919 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007349/0.3958, allocations: 103.8 kB / 0.592 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3958, allocations: 3.938 kB / 0.592 GB, free: 19.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/0.3958, allocations: 35.86 kB / 0.5921 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3958, allocations: 0 / 0.5921 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3958, allocations: 4 kB / 0.5921 GB, free: 19.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.3977, allocations: 0.7879 MB / 0.5929 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.3979, allocations: 124.9 kB / 0.593 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.3979, allocations: 0 / 0.593 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005853/0.3985, allocations: 48 kB / 0.593 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.698e-05/0.3986, allocations: 28.11 kB / 0.593 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/0.3987, allocations: 23.94 kB / 0.5931 GB, free: 18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.826e-05/0.3987, allocations: 91.25 kB / 0.5932 GB, free: 17.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3987, allocations: 0 / 0.5932 GB, free: 17.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.3991, allocations: 52.09 kB / 0.5932 GB, free: 17.86 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.0001741/0.3992, allocations: 119.1 kB / 0.5933 GB, free: 17.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.4005, allocations: 425 kB / 0.5937 GB, free: 17.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4005, allocations: 3.938 kB / 0.5937 GB, free: 17.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005871/0.4011, allocations: 223.7 kB / 0.5939 GB, free: 17.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.4014, allocations: 8 kB / 0.5939 GB, free: 17.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.4051, allocations: 0.7597 MB / 0.5947 GB, free: 16.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.4052, allocations: 0.6885 MB / 0.5954 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004635/0.4057, allocations: 88.67 kB / 0.5954 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.4059, allocations: 55.3 kB / 0.5955 GB, free: 15.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4059, allocations: 0 / 0.5955 GB, free: 15.45 MB / 446.1 MB Notification: Performance of Templates: time 0.004971/0.4109, allocations: 3.472 MB / 0.5989 GB, free: 11.98 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)