Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 113.9 kB / 16.41 MB, free: 6.496 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.002038/0.002038, allocations: 183 kB / 17.34 MB, free: 5.762 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8478/0.8478, allocations: 135.2 MB / 426.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 68.77 kB / 0.5864 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1588, allocations: 80.93 MB / 0.6654 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001856/0.1607, allocations: 0.5876 MB / 0.666 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.1627, allocations: 1.461 MB / 0.6674 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.1628, allocations: 0 / 0.6674 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.1628, allocations: 0 / 0.6674 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.521e-05/0.1628, allocations: 0 / 0.6674 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.1633, allocations: 143.4 kB / 0.6675 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.038e-05/0.1634, allocations: 23.98 kB / 0.6676 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.1634, allocations: 7.922 kB / 0.6676 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.674e-05/0.1635, allocations: 19.98 kB / 0.6676 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.1636, allocations: 23.95 kB / 0.6676 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1636, allocations: 4 kB / 0.6676 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.1641, allocations: 319.3 kB / 0.6679 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.1641, allocations: 3.938 kB / 0.6679 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.1641, allocations: 15.97 kB / 0.6679 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.1644, allocations: 191.5 kB / 0.6681 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1644, allocations: 4 kB / 0.6681 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1644, allocations: 0 / 0.6681 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.1644, allocations: 0 / 0.6681 GB, free: 2.902 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005851/0.165, allocations: 363.1 kB / 0.6685 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1651, allocations: 13.11 kB / 0.6685 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000472/0.1655, allocations: 68.8 kB / 0.6686 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.1657, allocations: 164.4 kB / 0.6687 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.1657, allocations: 4.312 kB / 0.6687 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.1657, allocations: 4.375 kB / 0.6687 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.166, allocations: 81.94 kB / 0.6688 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.166, allocations: 0 / 0.6688 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.166, allocations: 11.98 kB / 0.6688 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.166, allocations: 3.938 kB / 0.6688 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.1664, allocations: 63.88 kB / 0.6689 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.1666, allocations: 161.7 kB / 0.669 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006382/0.1672, allocations: 126.5 kB / 0.6691 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.1674, allocations: 40.98 kB / 0.6692 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004816/0.1679, allocations: 161 kB / 0.6693 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.1679, allocations: 34.5 kB / 0.6694 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1679, allocations: 0 / 0.6694 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001261/0.1692, allocations: 406.1 kB / 0.6698 GB, free: 1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.1692, allocations: 55.34 kB / 0.6698 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.467e-05/0.1693, allocations: 97.86 kB / 0.6699 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1693, allocations: 25.7 kB / 0.6699 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.1693, allocations: 84.27 kB / 0.67 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.1694, allocations: 23.84 kB / 0.67 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/0.1694, allocations: 17.72 kB / 0.6701 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1696, allocations: 314.8 kB / 0.6704 GB, free: 356 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.1697, allocations: 35.97 kB / 0.6704 GB, free: 320 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.1699, allocations: 35.97 kB / 0.6704 GB, free: 284 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.1702, allocations: 76.8 kB / 0.6705 GB, free: 204 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1702, allocations: 0 / 0.6705 GB, free: 204 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003776/0.1706, allocations: 117.6 kB / 0.6706 GB, free: 80 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1706, allocations: 7.938 kB / 0.6706 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1706, allocations: 0 / 0.6706 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1706, allocations: 0 / 0.6706 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.1708, allocations: 19.98 kB / 0.6706 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1708, allocations: 4 kB / 0.6706 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.631e-05/0.1709, allocations: 15.97 kB / 0.6707 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1709, allocations: 4 kB / 0.6707 GB, free: 28 kB / 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 (6): * Single equations (assignments): 6 * 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.0001124/0.171, allocations: 109.8 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.171, allocations: 7.938 kB / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004971/0.1715, allocations: 137.4 kB / 0.6709 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1715, allocations: 4 kB / 0.6709 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1715, allocations: 0 / 0.6709 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1715, allocations: 3.938 kB / 0.6709 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.1717, allocations: 173.6 kB / 0.6711 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1717, allocations: 0 / 0.6711 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.1719, allocations: 23.92 kB / 0.6711 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1719, allocations: 4 kB / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.1719, allocations: 3.984 kB / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1719, allocations: 4 kB / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1719, allocations: 0 / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.1725, allocations: 181 kB / 0.6713 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-05/0.1726, allocations: 89.06 kB / 0.6714 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.1726, allocations: 0 / 0.6714 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.1727, allocations: 19.98 kB / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.1727, allocations: 7.984 kB / 0.6714 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.1727, allocations: 8 kB / 0.6714 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.934e-05/0.1728, allocations: 75.28 kB / 0.6715 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1728, allocations: 0 / 0.6715 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002489/0.173, allocations: 31.86 kB / 0.6715 GB, free: 15.05 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002262/0.1733, allocations: 135.5 kB / 0.6716 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003965/0.1737, allocations: 79.92 kB / 0.6717 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1737, allocations: 4 kB / 0.6717 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.1738, allocations: 43.91 kB / 0.6718 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.174, allocations: 1.875 kB / 0.6718 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006884/0.1747, allocations: 219 kB / 0.672 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.175, allocations: 0.6768 MB / 0.6726 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.1751, allocations: 15.44 kB / 0.6726 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.1751, allocations: 4 kB / 0.6726 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of Templates: time 0.003038/0.1781, allocations: 1.138 MB / 0.6738 GB, free: 12.68 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)