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.005472/0.005472, allocations: 101.7 kB / 15.73 MB, free: 6.48 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.001451/0.001451, allocations: 191.4 kB / 16.67 MB, free: 6.391 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9288/0.9288, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.91 kB / 0.5857 GB, free: 3.301 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3998, allocations: 80.91 MB / 0.6647 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001924/0.4018, allocations: 0.7791 MB / 0.6655 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.4034, allocations: 1.478 MB / 0.6669 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.4035, allocations: 0 / 0.6669 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.4035, allocations: 5.156 kB / 0.6669 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.733e-05/0.4036, allocations: 3.938 kB / 0.6669 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.4041, allocations: 144.6 kB / 0.667 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.189e-05/0.4042, allocations: 59.39 kB / 0.6671 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.4042, allocations: 8.047 kB / 0.6671 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.581e-05/0.4043, allocations: 30.42 kB / 0.6671 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.624e-05/0.4043, allocations: 30.7 kB / 0.6672 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.4044, allocations: 3.656 kB / 0.6672 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.4048, allocations: 319.6 kB / 0.6675 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.4048, allocations: 21.38 kB / 0.6675 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.4048, allocations: 22.3 kB / 0.6675 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.4051, allocations: 204.4 kB / 0.6677 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4051, allocations: 0 / 0.6677 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4051, allocations: 3.938 kB / 0.6677 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.4052, allocations: 1.406 kB / 0.6677 GB, free: 5.297 MB / 0.4981 GB 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.0005286/0.4057, allocations: 401.7 kB / 0.6681 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.4057, allocations: 9.188 kB / 0.6681 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004116/0.4061, allocations: 70.12 kB / 0.6682 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.781e-05/0.4062, allocations: 179 kB / 0.6683 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.4063, allocations: 4.375 kB / 0.6683 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.4063, allocations: 16.27 kB / 0.6684 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.4066, allocations: 113.9 kB / 0.6685 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4066, allocations: 1.469 kB / 0.6685 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.4066, allocations: 0 / 0.6685 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4067, allocations: 2.062 kB / 0.6685 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.4071, allocations: 102.7 kB / 0.6686 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.4077, allocations: 333.1 kB / 0.6689 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005597/0.4083, allocations: 157.2 kB / 0.669 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.4085, allocations: 53.72 kB / 0.6691 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.4085, allocations: 5.594 kB / 0.6691 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.4085, allocations: 35.94 kB / 0.6691 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.4085, allocations: 0 / 0.6691 GB, free: 4.031 MB / 0.4981 GB 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.01715/0.4257, allocations: 2.831 MB / 0.6719 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.4257, allocations: 56.31 kB / 0.672 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.044e-05/0.4258, allocations: 106.4 kB / 0.6721 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.4258, allocations: 30.95 kB / 0.6721 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.955e-05/0.4259, allocations: 90.7 kB / 0.6722 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.4259, allocations: 43.47 kB / 0.6722 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.4261, allocations: 65.48 kB / 0.6723 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.237e-05/0.4261, allocations: 320 kB / 0.6726 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006029/0.4268, allocations: 193.4 kB / 0.6728 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005919/0.4274, allocations: 193.4 kB / 0.6729 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.4286, allocations: 384.5 kB / 0.6733 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4286, allocations: 5 kB / 0.6733 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0014/0.43, allocations: 482.5 kB / 0.6738 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.43, allocations: 5.812 kB / 0.6738 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.43, allocations: 0 / 0.6738 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.43, allocations: 1.25 kB / 0.6738 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007948/0.4308, allocations: 113.7 kB / 0.6739 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4309, allocations: 4.969 kB / 0.6739 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000565/0.4314, allocations: 46 kB / 0.6739 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.4315, allocations: 26.19 kB / 0.674 GB, free: 0.8867 MB / 0.4981 GB 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.0001135/0.4316, allocations: 118.6 kB / 0.6741 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.782e-05/0.4317, allocations: 6.594 kB / 0.6741 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.4317, allocations: 16.98 kB / 0.6741 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4318, allocations: 5.438 kB / 0.6741 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4318, allocations: 3.938 kB / 0.6741 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4318, allocations: 0 / 0.6741 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.4338, allocations: 1.041 MB / 0.6751 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4338, allocations: 0 / 0.6751 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008063/0.4346, allocations: 113.4 kB / 0.6752 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.4346, allocations: 5.125 kB / 0.6752 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.963e-05/0.4347, allocations: 24.38 kB / 0.6753 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4347, allocations: 2.234 kB / 0.6753 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4347, allocations: 0 / 0.6753 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.4372, allocations: 0.7868 MB / 0.676 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.4374, allocations: 122.9 kB / 0.6762 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.813e-05/0.4374, allocations: 5.25 kB / 0.6762 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/0.4381, allocations: 47 kB / 0.6762 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.4382, allocations: 30.77 kB / 0.6762 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.986e-05/0.4383, allocations: 26.19 kB / 0.6763 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.036e-05/0.4383, allocations: 82.8 kB / 0.6763 GB, free: 15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4383, allocations: 0 / 0.6763 GB, free: 15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000401/0.4387, allocations: 54.62 kB / 0.6764 GB, free: 15 MB / 0.5137 GB 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.0002445/0.439, allocations: 112 kB / 0.6765 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.4404, allocations: 427.9 kB / 0.6769 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.4404, allocations: 4 kB / 0.6769 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006914/0.4411, allocations: 222.3 kB / 0.6771 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.4415, allocations: 8.234 kB / 0.6771 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.4456, allocations: 0.7576 MB / 0.6779 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.4459, allocations: 0.6956 MB / 0.6785 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004852/0.4464, allocations: 95.22 kB / 0.6786 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.4466, allocations: 55.59 kB / 0.6787 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.4466, allocations: 0 / 0.6787 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of Templates: time 0.006469/0.4531, allocations: 3.478 MB / 0.6821 GB, free: 11.41 MB / 0.5137 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)