Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008676/0.0008677, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005612/0.005612, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.056/1.056, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003407, allocations: 17.44 kB / 0.5076 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1653, allocations: 82.3 MB / 0.588 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.001572/0.1669, allocations: 1.153 MB / 0.5891 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1682, allocations: 0.7916 MB / 0.5899 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.22e-05/0.1682, allocations: 3.938 kB / 0.5899 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.1682, allocations: 0 / 0.5899 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.877e-05/0.1683, allocations: 8 kB / 0.5899 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.1687, allocations: 95.69 kB / 0.59 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.788e-05/0.1688, allocations: 39.89 kB / 0.59 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.443e-05/0.1689, allocations: 7.984 kB / 0.59 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.682e-05/0.1689, allocations: 19.92 kB / 0.59 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.169, allocations: 19.92 kB / 0.5901 GB, free: 488 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.169, allocations: 0 / 0.5901 GB, free: 488 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004517/0.1695, allocations: 311.3 kB / 0.5904 GB, free: 176 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.1695, allocations: 4 kB / 0.5904 GB, free: 172 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.1695, allocations: 41.62 kB / 0.5904 GB, free: 124 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.1699, allocations: 195.6 kB / 0.5906 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1699, allocations: 0 / 0.5906 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1699, allocations: 0 / 0.5906 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.1699, allocations: 0 / 0.5906 GB, free: 15.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005184/0.1704, allocations: 379.7 kB / 0.5909 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1704, allocations: 8.031 kB / 0.591 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004832/0.1709, allocations: 80.84 kB / 0.591 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1711, allocations: 168.2 kB / 0.5912 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.1711, allocations: 8.375 kB / 0.5912 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.1711, allocations: 384 / 0.5912 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.1714, allocations: 101.9 kB / 0.5913 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1715, allocations: 0 / 0.5913 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1715, allocations: 0 / 0.5913 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1715, allocations: 0 / 0.5913 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.172, allocations: 111.9 kB / 0.5914 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/0.1725, allocations: 312.7 kB / 0.5917 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.1729, allocations: 114.5 kB / 0.5918 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.1732, allocations: 60.88 kB / 0.5919 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.1732, allocations: 3.984 kB / 0.5919 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1732, allocations: 34.56 kB / 0.5919 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1732, allocations: 0 / 0.5919 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007968/0.174, allocations: 201.6 kB / 0.5921 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.1741, allocations: 55.41 kB / 0.5921 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.919e-05/0.1742, allocations: 105.8 kB / 0.5923 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1742, allocations: 25.7 kB / 0.5923 GB, free: 14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.1743, allocations: 92.08 kB / 0.5924 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.1743, allocations: 3.906 kB / 0.5924 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.1743, allocations: 17.73 kB / 0.5924 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1744, allocations: 314.8 kB / 0.5927 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.1747, allocations: 55.95 kB / 0.5927 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.1749, allocations: 59.95 kB / 0.5928 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004454/0.1754, allocations: 112.8 kB / 0.5929 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1754, allocations: 0 / 0.5929 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005506/0.1759, allocations: 153.5 kB / 0.593 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.176, allocations: 9.875 kB / 0.5931 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.176, allocations: 0 / 0.5931 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.176, allocations: 0 / 0.5931 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.1762, allocations: 32 kB / 0.5931 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1762, allocations: 256 / 0.5931 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.1763, allocations: 31.88 kB / 0.5931 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1763, allocations: 4 kB / 0.5931 GB, free: 13.11 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 (2): * Single equations (assignments): 2 * 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 8.123e-05/0.1764, allocations: 109.8 kB / 0.5932 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.1765, allocations: 4 kB / 0.5932 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.1765, allocations: 7.125 kB / 0.5932 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1765, allocations: 0 / 0.5932 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1765, allocations: 0 / 0.5932 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1765, allocations: 0 / 0.5932 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.1767, allocations: 173.6 kB / 0.5934 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1767, allocations: 8 kB / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.1769, allocations: 23.97 kB / 0.5934 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.177, allocations: 0 / 0.5934 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.177, allocations: 4 kB / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.177, allocations: 0 / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.177, allocations: 0 / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005555/0.1775, allocations: 247.3 kB / 0.5937 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.1776, allocations: 77.11 kB / 0.5937 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.1776, allocations: 8.031 kB / 0.5938 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.1778, allocations: 23.97 kB / 0.5938 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.1778, allocations: 3.984 kB / 0.5938 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.1778, allocations: 3.984 kB / 0.5938 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.602e-05/0.1779, allocations: 87.22 kB / 0.5939 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1779, allocations: 0 / 0.5939 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002445/0.1781, allocations: 19.91 kB / 0.5939 GB, free: 12.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001577/0.1783, allocations: 111.2 kB / 0.594 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005073/0.1788, allocations: 115.9 kB / 0.5941 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1788, allocations: 7.875 kB / 0.5941 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.1791, allocations: 64.02 kB / 0.5942 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.1794, allocations: 11.92 kB / 0.5942 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005975/0.18, allocations: 172.7 kB / 0.5943 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1803, allocations: 0.677 MB / 0.595 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.133e-05/0.1804, allocations: 12 kB / 0.595 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.1804, allocations: 11.44 kB / 0.595 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1804, allocations: 0 / 0.595 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.003066/0.1835, allocations: 0.7318 MB / 0.5957 GB, free: 10.28 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)