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.001474/0.001474, allocations: 99.19 kB / 16.4 MB, free: 6.504 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.001704/0.001704, allocations: 185.6 kB / 17.34 MB, free: 5.77 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7915/0.7915, allocations: 132.2 MB / 423.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 61.84 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1404, allocations: 80.22 MB / 0.6604 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00209/0.1426, allocations: 0.7775 MB / 0.6611 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.1447, allocations: 1.474 MB / 0.6626 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.1447, allocations: 0 / 0.6626 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.1448, allocations: 3.938 kB / 0.6626 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.1448, allocations: 7.938 kB / 0.6626 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.1454, allocations: 147.4 kB / 0.6627 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.403e-05/0.1455, allocations: 47.95 kB / 0.6628 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.1456, allocations: 4 kB / 0.6628 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.649e-05/0.1456, allocations: 27.91 kB / 0.6628 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.648e-05/0.1457, allocations: 35.78 kB / 0.6628 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1457, allocations: 4 kB / 0.6629 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000481/0.1462, allocations: 323.3 kB / 0.6632 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.1463, allocations: 11.98 kB / 0.6632 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.1463, allocations: 27.84 kB / 0.6632 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.1466, allocations: 215.4 kB / 0.6634 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1467, allocations: 0 / 0.6634 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1467, allocations: 0 / 0.6634 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1467, allocations: 0 / 0.6634 GB, free: 7.066 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.0006546/0.1473, allocations: 399.4 kB / 0.6638 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1474, allocations: 12.03 kB / 0.6638 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004734/0.1479, allocations: 72.75 kB / 0.6639 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.148, allocations: 164.4 kB / 0.664 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.148, allocations: 12.31 kB / 0.664 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.1481, allocations: 12.31 kB / 0.664 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.1485, allocations: 113.9 kB / 0.6642 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1485, allocations: 0 / 0.6642 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.1485, allocations: 4 kB / 0.6642 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1485, allocations: 0 / 0.6642 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.149, allocations: 103.9 kB / 0.6643 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.1496, allocations: 340.5 kB / 0.6646 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006063/0.1502, allocations: 150.4 kB / 0.6647 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.1504, allocations: 56.81 kB / 0.6648 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.1504, allocations: 0 / 0.6648 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.1505, allocations: 34.56 kB / 0.6648 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.1505, allocations: 0 / 0.6648 GB, free: 5.461 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.01843/0.1689, allocations: 2.846 MB / 0.6676 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.169, allocations: 59.33 kB / 0.6676 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.943e-05/0.1691, allocations: 97.86 kB / 0.6677 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-05/0.1691, allocations: 33.7 kB / 0.6678 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.1692, allocations: 84.12 kB / 0.6679 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.1693, allocations: 35.38 kB / 0.6679 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.1694, allocations: 69.58 kB / 0.668 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1696, allocations: 326.8 kB / 0.6683 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006449/0.1702, allocations: 187.8 kB / 0.6684 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.1709, allocations: 195 kB / 0.6686 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.1722, allocations: 388.5 kB / 0.669 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1722, allocations: 4 kB / 0.669 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001505/0.1737, allocations: 473.3 kB / 0.6695 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1737, allocations: 8 kB / 0.6695 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.1737, allocations: 3.984 kB / 0.6695 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1737, allocations: 288 / 0.6695 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008532/0.1746, allocations: 111.7 kB / 0.6696 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1746, allocations: 3.938 kB / 0.6696 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/0.1753, allocations: 47.94 kB / 0.6696 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.456e-05/0.1753, allocations: 23.94 kB / 0.6696 GB, free: 372 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 (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.0001661/0.1755, allocations: 118.7 kB / 0.6698 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.031e-05/0.1756, allocations: 7.891 kB / 0.6698 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.47e-05/0.1757, allocations: 23.95 kB / 0.6698 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1757, allocations: 0 / 0.6698 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1757, allocations: 7.938 kB / 0.6698 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1757, allocations: 0 / 0.6698 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.1779, allocations: 1.043 MB / 0.6708 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1779, allocations: 0 / 0.6708 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008201/0.1787, allocations: 111.7 kB / 0.6709 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.1788, allocations: 3.938 kB / 0.6709 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-05/0.1788, allocations: 19.94 kB / 0.6709 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1788, allocations: 4 kB / 0.6709 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1788, allocations: 0 / 0.6709 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.1811, allocations: 0.7917 MB / 0.6717 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.1812, allocations: 117 kB / 0.6718 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.1813, allocations: 4.062 kB / 0.6718 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006817/0.182, allocations: 47.94 kB / 0.6719 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-05/0.1821, allocations: 27.92 kB / 0.6719 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.1822, allocations: 27.92 kB / 0.6719 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4e-05/0.1822, allocations: 83.28 kB / 0.672 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1822, allocations: 3.938 kB / 0.672 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003832/0.1826, allocations: 52 kB / 0.6721 GB, free: 13.71 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.0002144/0.1828, allocations: 111.2 kB / 0.6722 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.1843, allocations: 423.5 kB / 0.6726 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1843, allocations: 0 / 0.6726 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006883/0.185, allocations: 223.7 kB / 0.6728 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.1853, allocations: 12.52 kB / 0.6728 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.1896, allocations: 0.7846 MB / 0.6736 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.1899, allocations: 0.6963 MB / 0.6742 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/0.1903, allocations: 75.23 kB / 0.6743 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of SimCode: time 6.32e-07/0.1903, allocations: 0 / 0.6743 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.006061/0.1964, allocations: 3.797 MB / 0.678 GB, free: 7.531 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)