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.006455/0.006455, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001235/0.001235, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8678/0.8678, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 65.81 kB / 0.5857 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1581, allocations: 80.93 MB / 0.6647 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00199/0.1602, allocations: 0.771 MB / 0.6654 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.1622, allocations: 1.485 MB / 0.6669 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.199e-05/0.1622, allocations: 3.938 kB / 0.6669 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.1623, allocations: 0 / 0.6669 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.785e-05/0.1623, allocations: 3.938 kB / 0.6669 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/0.163, allocations: 151.4 kB / 0.667 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.723e-05/0.1631, allocations: 55.59 kB / 0.6671 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.1631, allocations: 4 kB / 0.6671 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.512e-05/0.1632, allocations: 23.92 kB / 0.6671 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.077e-05/0.1633, allocations: 43.81 kB / 0.6672 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1633, allocations: 4 kB / 0.6672 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.1638, allocations: 323.4 kB / 0.6675 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.1638, allocations: 7.984 kB / 0.6675 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.1639, allocations: 27.86 kB / 0.6675 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.1642, allocations: 211.5 kB / 0.6677 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.1642, allocations: 0 / 0.6677 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.206e-06/0.1642, allocations: 3.984 kB / 0.6677 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.1642, allocations: 0 / 0.6677 GB, free: 2.621 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.0007072/0.1649, allocations: 399.4 kB / 0.6681 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.165, allocations: 13.11 kB / 0.6681 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004719/0.1655, allocations: 68.84 kB / 0.6682 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1656, allocations: 172.2 kB / 0.6683 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.1657, allocations: 8.375 kB / 0.6684 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.1657, allocations: 4.375 kB / 0.6684 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.1661, allocations: 109.9 kB / 0.6685 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1661, allocations: 4 kB / 0.6685 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.1662, allocations: 4 kB / 0.6685 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1662, allocations: 7.938 kB / 0.6685 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004965/0.1667, allocations: 99.89 kB / 0.6686 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006523/0.1673, allocations: 336.5 kB / 0.6689 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/0.168, allocations: 150.5 kB / 0.669 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.1683, allocations: 60.73 kB / 0.6691 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.1683, allocations: 4.156 kB / 0.6691 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.1683, allocations: 34.56 kB / 0.6691 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1683, allocations: 0 / 0.6691 GB, free: 1.016 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.01867/0.187, allocations: 2.826 MB / 0.6719 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1871, allocations: 63.28 kB / 0.672 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.913e-05/0.1872, allocations: 97.86 kB / 0.672 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.1873, allocations: 29.69 kB / 0.6721 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.1873, allocations: 96.05 kB / 0.6722 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.682e-05/0.1874, allocations: 35.45 kB / 0.6722 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.1876, allocations: 69.58 kB / 0.6723 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1877, allocations: 314.9 kB / 0.6726 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000722/0.1885, allocations: 191.7 kB / 0.6727 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006909/0.1892, allocations: 195.2 kB / 0.6729 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.1906, allocations: 400.5 kB / 0.6733 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1906, allocations: 0 / 0.6733 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0016/0.1922, allocations: 481.2 kB / 0.6738 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1922, allocations: 4 kB / 0.6738 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1923, allocations: 4 kB / 0.6738 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1923, allocations: 0 / 0.6738 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008487/0.1931, allocations: 103.8 kB / 0.6739 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1932, allocations: 7.875 kB / 0.6739 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006133/0.1938, allocations: 43.94 kB / 0.6739 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/0.1938, allocations: 27.92 kB / 0.674 GB, free: 11.92 MB / 0.5137 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.0001839/0.194, allocations: 119.2 kB / 0.6741 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.004e-05/0.1941, allocations: 7.906 kB / 0.6741 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.1942, allocations: 8.156 kB / 0.6741 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1942, allocations: 7.984 kB / 0.6741 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1942, allocations: 3.938 kB / 0.6741 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1942, allocations: 0 / 0.6741 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.1965, allocations: 1.051 MB / 0.6751 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1965, allocations: 0 / 0.6751 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008451/0.1974, allocations: 111.8 kB / 0.6752 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1974, allocations: 7.938 kB / 0.6752 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.368e-05/0.1975, allocations: 19.94 kB / 0.6753 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1975, allocations: 3.984 kB / 0.6753 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1975, allocations: 0 / 0.6753 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.2, allocations: 0.7996 MB / 0.676 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.2001, allocations: 117 kB / 0.6762 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/0.2002, allocations: 3.984 kB / 0.6762 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007027/0.2009, allocations: 52 kB / 0.6762 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.2011, allocations: 23.92 kB / 0.6762 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/0.2011, allocations: 23.94 kB / 0.6763 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.071e-05/0.2012, allocations: 79.28 kB / 0.6763 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2012, allocations: 0 / 0.6763 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004055/0.2016, allocations: 56 kB / 0.6764 GB, free: 9.281 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.0002101/0.2018, allocations: 111.2 kB / 0.6765 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001551/0.2034, allocations: 423.5 kB / 0.6769 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2034, allocations: 0 / 0.6769 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000764/0.2041, allocations: 223.7 kB / 0.6771 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.2045, allocations: 14.22 kB / 0.6771 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.209, allocations: 0.775 MB / 0.6779 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.2093, allocations: 0.6885 MB / 0.6785 GB, free: 7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005492/0.2098, allocations: 88.67 kB / 0.6786 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.2101, allocations: 55.3 kB / 0.6787 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.2101, allocations: 4 kB / 0.6787 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of Templates: time 0.006698/0.2168, allocations: 3.473 MB / 0.6821 GB, free: 3.387 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)