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.0008179/0.0008183, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009433/0.0009434, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9863/0.9863, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003536, allocations: 8 kB / 0.507 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1757, allocations: 82.31 MB / 0.5874 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.001436/0.1772, allocations: 1.14 MB / 0.5885 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1782, allocations: 0.7276 MB / 0.5892 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.1782, allocations: 0 / 0.5892 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.1783, allocations: 4 kB / 0.5892 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.835e-05/0.1783, allocations: 7.938 kB / 0.5892 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.1787, allocations: 95.73 kB / 0.5893 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.564e-05/0.1787, allocations: 27.92 kB / 0.5893 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.712e-05/0.1788, allocations: 7.984 kB / 0.5893 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.833e-05/0.1789, allocations: 19.92 kB / 0.5894 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.455e-05/0.1789, allocations: 15.98 kB / 0.5894 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.1789, allocations: 0 / 0.5894 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004141/0.1794, allocations: 311.3 kB / 0.5897 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.1794, allocations: 3.984 kB / 0.5897 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.1794, allocations: 33.7 kB / 0.5897 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.1796, allocations: 127.9 kB / 0.5898 GB, free: 476 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1796, allocations: 0 / 0.5898 GB, free: 476 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1796, allocations: 0 / 0.5898 GB, free: 476 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.1796, allocations: 0 / 0.5898 GB, free: 476 kB / 494.1 MB 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.0004838/0.1801, allocations: 379.5 kB / 0.5902 GB, free: 48 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1802, allocations: 8.031 kB / 0.5902 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004418/0.1806, allocations: 83.84 kB / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.1808, allocations: 167 kB / 0.5904 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.1808, allocations: 11.98 kB / 0.5904 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.1808, allocations: 7.922 kB / 0.5904 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.1811, allocations: 97.62 kB / 0.5905 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1811, allocations: 3.938 kB / 0.5905 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1812, allocations: 0 / 0.5905 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1812, allocations: 0 / 0.5905 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003806/0.1816, allocations: 115.9 kB / 0.5907 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.1821, allocations: 304.7 kB / 0.5909 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.1825, allocations: 118.4 kB / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.1827, allocations: 68.88 kB / 0.5911 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.1827, allocations: 0 / 0.5911 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.1827, allocations: 30.56 kB / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1827, allocations: 0 / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0006991/0.1834, allocations: 205.6 kB / 0.5914 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.1835, allocations: 51.41 kB / 0.5914 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.975e-05/0.1836, allocations: 113.7 kB / 0.5915 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1836, allocations: 25.7 kB / 0.5915 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.1836, allocations: 80.14 kB / 0.5916 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.1837, allocations: 7.938 kB / 0.5916 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.1837, allocations: 4 kB / 0.5916 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1838, allocations: 314.8 kB / 0.5919 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.184, allocations: 55.95 kB / 0.592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.1842, allocations: 59.94 kB / 0.592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.1843, allocations: 56.02 kB / 0.5921 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1844, allocations: 0 / 0.5921 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004088/0.1848, allocations: 141.9 kB / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1848, allocations: 4 kB / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1848, allocations: 4.031 kB / 0.5922 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1848, allocations: 7.984 kB / 0.5922 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.185, allocations: 23.98 kB / 0.5923 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.185, allocations: 3.984 kB / 0.5923 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.1851, allocations: 31.92 kB / 0.5923 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1851, allocations: 7.938 kB / 0.5923 GB, free: 13.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.371e-05/0.1852, allocations: 105.8 kB / 0.5924 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.1852, allocations: 7.906 kB / 0.5924 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.1853, allocations: 11.11 kB / 0.5924 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1853, allocations: 3.938 kB / 0.5924 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1853, allocations: 4 kB / 0.5924 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1853, allocations: 0 / 0.5924 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.1855, allocations: 169.6 kB / 0.5926 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1855, allocations: 3.938 kB / 0.5926 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.1856, allocations: 27.97 kB / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1856, allocations: 0 / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1856, allocations: 3.984 kB / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1856, allocations: 4 kB / 0.5926 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1856, allocations: 4 kB / 0.5926 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.1861, allocations: 239.4 kB / 0.5929 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.1862, allocations: 81.09 kB / 0.5929 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.1862, allocations: 0 / 0.5929 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.1863, allocations: 23.92 kB / 0.593 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.1864, allocations: 7.984 kB / 0.593 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1864, allocations: 4.031 kB / 0.593 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.446e-05/0.1864, allocations: 83.28 kB / 0.5931 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1864, allocations: 0 / 0.5931 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002344/0.1867, allocations: 16 kB / 0.5931 GB, free: 12.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001452/0.1868, allocations: 103.2 kB / 0.5932 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004212/0.1872, allocations: 119.9 kB / 0.5933 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1873, allocations: 0 / 0.5933 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.1875, allocations: 64 kB / 0.5933 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.1877, allocations: 6.453 kB / 0.5933 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.1882, allocations: 194.2 kB / 0.5935 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.1885, allocations: 0.677 MB / 0.5942 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.734e-05/0.1886, allocations: 8 kB / 0.5942 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.1886, allocations: 7.438 kB / 0.5942 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1886, allocations: 0 / 0.5942 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.002761/0.1914, allocations: 0.7152 MB / 0.5949 GB, free: 10.9 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)