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.005619/0.005619, allocations: 97.19 kB / 15.73 MB, free: 6.055 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.001368/0.001368, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7682/0.7682, allocations: 132.2 MB / 422.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 64.75 kB / 0.5814 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1693, allocations: 80.2 MB / 0.6597 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001871/0.1712, allocations: 0.7823 MB / 0.6605 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.173, allocations: 1.481 MB / 0.6619 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.1731, allocations: 4 kB / 0.6619 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.1731, allocations: 3.938 kB / 0.6619 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.057e-05/0.1732, allocations: 3.938 kB / 0.6619 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005511/0.1737, allocations: 139.5 kB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.155e-05/0.1738, allocations: 47.95 kB / 0.6621 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.323e-05/0.1739, allocations: 7.938 kB / 0.6621 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.928e-05/0.174, allocations: 27.97 kB / 0.6622 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.1741, allocations: 35.83 kB / 0.6622 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.1741, allocations: 4 kB / 0.6622 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004431/0.1745, allocations: 319.4 kB / 0.6625 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.1746, allocations: 19.97 kB / 0.6625 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.1746, allocations: 19.88 kB / 0.6625 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.175, allocations: 215.3 kB / 0.6627 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.175, allocations: 4 kB / 0.6628 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.175, allocations: 0 / 0.6628 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.175, allocations: 0 / 0.6628 GB, free: 10.3 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.0006609/0.1757, allocations: 394.9 kB / 0.6631 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1757, allocations: 16.03 kB / 0.6631 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004303/0.1761, allocations: 76.8 kB / 0.6632 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.1763, allocations: 168.3 kB / 0.6634 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1763, allocations: 8.312 kB / 0.6634 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.1764, allocations: 12.36 kB / 0.6634 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/0.1767, allocations: 113.9 kB / 0.6635 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1767, allocations: 11.95 kB / 0.6635 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1768, allocations: 4 kB / 0.6635 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1768, allocations: 3.938 kB / 0.6635 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.1772, allocations: 99.89 kB / 0.6636 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005328/0.1778, allocations: 328.7 kB / 0.6639 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006059/0.1784, allocations: 162.4 kB / 0.6641 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.1786, allocations: 52.81 kB / 0.6641 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.1787, allocations: 0 / 0.6641 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1787, allocations: 42.56 kB / 0.6642 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.1787, allocations: 0 / 0.6642 GB, free: 8.672 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.01696/0.1957, allocations: 2.833 MB / 0.6669 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.1957, allocations: 55.34 kB / 0.667 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.277e-05/0.1958, allocations: 105.8 kB / 0.6671 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.1959, allocations: 25.7 kB / 0.6671 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.1959, allocations: 99.97 kB / 0.6672 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.614e-05/0.196, allocations: 43.64 kB / 0.6673 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.1962, allocations: 65.58 kB / 0.6673 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.1963, allocations: 318.8 kB / 0.6676 GB, free: 5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006522/0.1969, allocations: 187.8 kB / 0.6678 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/0.1976, allocations: 191.8 kB / 0.668 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.1988, allocations: 395.8 kB / 0.6684 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1989, allocations: 0 / 0.6684 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001492/0.2004, allocations: 481.3 kB / 0.6688 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2004, allocations: 4 kB / 0.6688 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2004, allocations: 0 / 0.6688 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.2004, allocations: 0 / 0.6688 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007815/0.2012, allocations: 115.7 kB / 0.6689 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.2012, allocations: 3.938 kB / 0.6689 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.2018, allocations: 43.92 kB / 0.669 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.2018, allocations: 23.94 kB / 0.669 GB, free: 3.578 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.0001637/0.202, allocations: 122.5 kB / 0.6691 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.144e-05/0.2021, allocations: 4 kB / 0.6691 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/0.2022, allocations: 7.969 kB / 0.6691 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2022, allocations: 0 / 0.6691 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.2022, allocations: 3.938 kB / 0.6691 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2022, allocations: 3.984 kB / 0.6691 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.2044, allocations: 1.054 MB / 0.6702 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2044, allocations: 0 / 0.6702 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007639/0.2051, allocations: 99.8 kB / 0.6703 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.2052, allocations: 7.938 kB / 0.6703 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.298e-05/0.2052, allocations: 31.92 kB / 0.6703 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2052, allocations: 96 / 0.6703 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2053, allocations: 4.125 kB / 0.6703 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.2075, allocations: 0.7918 MB / 0.6711 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.2076, allocations: 124.9 kB / 0.6712 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.2077, allocations: 4 kB / 0.6712 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006051/0.2083, allocations: 44 kB / 0.6713 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/0.2084, allocations: 31.92 kB / 0.6713 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/0.2085, allocations: 23.94 kB / 0.6713 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.2085, allocations: 79.27 kB / 0.6714 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2085, allocations: 0 / 0.6714 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003904/0.2089, allocations: 55.94 kB / 0.6714 GB, free: 0.9297 MB / 0.4981 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.0002302/0.2092, allocations: 103.2 kB / 0.6715 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.2106, allocations: 431.4 kB / 0.6719 GB, free: 408 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2106, allocations: 0 / 0.6719 GB, free: 408 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006956/0.2113, allocations: 227.7 kB / 0.6722 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.2117, allocations: 11.94 kB / 0.6722 GB, free: 168 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.2156, allocations: 0.7593 MB / 0.6729 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.2159, allocations: 0.6924 MB / 0.6736 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004914/0.2164, allocations: 88.67 kB / 0.6737 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.2166, allocations: 55.3 kB / 0.6737 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.2166, allocations: 4 kB / 0.6737 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of Templates: time 0.007164/0.2238, allocations: 3.472 MB / 0.6771 GB, free: 11.05 MB / 0.5137 GB 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)