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.001552/0.001552, allocations: 105 kB / 16.41 MB, free: 6.465 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.001762/0.001762, allocations: 187 kB / 17.34 MB, free: 5.719 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.349/1.349, 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/package.mo): time 0.7712/0.7712, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 68.84 kB / 0.5821 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1379, allocations: 80.21 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00187/0.1398, allocations: 0.7804 MB / 0.6611 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1416, allocations: 1.481 MB / 0.6626 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.191e-05/0.1417, allocations: 0 / 0.6626 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.1417, allocations: 7.938 kB / 0.6626 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.844e-05/0.1418, allocations: 3.938 kB / 0.6626 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.1424, allocations: 147.4 kB / 0.6627 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.094e-05/0.1425, allocations: 43.97 kB / 0.6628 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.1426, allocations: 4 kB / 0.6628 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.049e-05/0.1427, allocations: 23.92 kB / 0.6628 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.1427, allocations: 39.81 kB / 0.6629 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1428, allocations: 4 kB / 0.6629 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/0.1432, allocations: 323.4 kB / 0.6632 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.1433, allocations: 11.98 kB / 0.6632 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.1433, allocations: 23.86 kB / 0.6632 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.1436, allocations: 215.4 kB / 0.6634 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1436, allocations: 0 / 0.6634 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.505e-06/0.1436, allocations: 4 kB / 0.6634 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.1437, allocations: 3.984 kB / 0.6634 GB, free: 7.102 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.0006458/0.1443, allocations: 395.4 kB / 0.6638 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1444, allocations: 16.03 kB / 0.6638 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004708/0.1448, allocations: 72.75 kB / 0.6639 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.145, allocations: 160.4 kB / 0.664 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.145, allocations: 8.375 kB / 0.664 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.145, allocations: 4.375 kB / 0.664 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.1454, allocations: 117.9 kB / 0.6642 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1454, allocations: 7.938 kB / 0.6642 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1455, allocations: 4 kB / 0.6642 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1455, allocations: 0 / 0.6642 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.146, allocations: 107.9 kB / 0.6643 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.1465, allocations: 332.6 kB / 0.6646 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006563/0.1472, allocations: 158.4 kB / 0.6647 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.1475, allocations: 52.8 kB / 0.6648 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.1475, allocations: 160 / 0.6648 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1475, allocations: 42.55 kB / 0.6648 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.1475, allocations: 4 kB / 0.6648 GB, free: 5.488 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.0187/0.1662, allocations: 2.826 MB / 0.6676 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.1663, allocations: 55.34 kB / 0.6676 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.373e-05/0.1664, allocations: 105.8 kB / 0.6677 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/0.1665, allocations: 29.7 kB / 0.6678 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.1665, allocations: 88.12 kB / 0.6679 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.282e-05/0.1666, allocations: 39.36 kB / 0.6679 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.1668, allocations: 69.67 kB / 0.668 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.1669, allocations: 322.8 kB / 0.6683 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006831/0.1676, allocations: 187.8 kB / 0.6684 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/0.1682, allocations: 191.8 kB / 0.6686 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.1696, allocations: 399.7 kB / 0.669 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1696, allocations: 0 / 0.669 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001602/0.1712, allocations: 477.3 kB / 0.6695 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1713, allocations: 4 kB / 0.6695 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1713, allocations: 3.938 kB / 0.6695 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1713, allocations: 4 kB / 0.6695 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008389/0.1721, allocations: 107.8 kB / 0.6696 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1722, allocations: 3.938 kB / 0.6696 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006107/0.1728, allocations: 43.94 kB / 0.6696 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/0.1728, allocations: 27.92 kB / 0.6697 GB, free: 408 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.0001781/0.173, allocations: 118.7 kB / 0.6698 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-05/0.1731, allocations: 7.906 kB / 0.6698 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.1732, allocations: 11.97 kB / 0.6698 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1732, allocations: 0 / 0.6698 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.1732, allocations: 3.938 kB / 0.6698 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1732, allocations: 0 / 0.6698 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.1755, allocations: 1.056 MB / 0.6708 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1755, allocations: 0 / 0.6708 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008299/0.1763, allocations: 99.8 kB / 0.6709 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1763, allocations: 7.938 kB / 0.6709 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.1764, allocations: 23.94 kB / 0.6709 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.1764, allocations: 3.984 kB / 0.6709 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1764, allocations: 3.938 kB / 0.671 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.1788, allocations: 0.7878 MB / 0.6717 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.179, allocations: 117 kB / 0.6718 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.974e-05/0.179, allocations: 3.984 kB / 0.6718 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006865/0.1797, allocations: 52 kB / 0.6719 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.1798, allocations: 27.92 kB / 0.6719 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/0.1799, allocations: 19.94 kB / 0.6719 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.169e-05/0.1799, allocations: 87.45 kB / 0.672 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1799, allocations: 0 / 0.672 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003854/0.1803, allocations: 52 kB / 0.6721 GB, free: 13.76 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.0001948/0.1805, allocations: 115.2 kB / 0.6722 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.182, allocations: 419.5 kB / 0.6726 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.182, allocations: 3.938 kB / 0.6726 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000733/0.1828, allocations: 226.5 kB / 0.6728 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.1831, allocations: 25.33 kB / 0.6728 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.1876, allocations: 0.7768 MB / 0.6736 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.1879, allocations: 0.6924 MB / 0.6743 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/0.1883, allocations: 75.23 kB / 0.6743 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of SimCode: time 1.052e-06/0.1883, allocations: 0 / 0.6743 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.006197/0.1945, allocations: 3.79 MB / 0.678 GB, free: 7.578 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)