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.00112/0.00112, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001144/0.001144, allocations: 195.2 kB / 16.14 MB, free: 6.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.363/1.363, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9476/0.9476, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.69 kB / 0.5047 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1775, allocations: 80.91 MB / 0.5837 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002667/0.1802, allocations: 1.501 MB / 0.5852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1814, allocations: 0.8111 MB / 0.586 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.1814, allocations: 4 kB / 0.586 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.1814, allocations: 0 / 0.586 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.281e-05/0.1815, allocations: 3.938 kB / 0.586 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.1819, allocations: 103.6 kB / 0.5861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.021e-05/0.1819, allocations: 31.98 kB / 0.5861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.237e-05/0.182, allocations: 3.938 kB / 0.5861 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.707e-05/0.1821, allocations: 15.98 kB / 0.5861 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.016e-05/0.1822, allocations: 27.89 kB / 0.5861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1822, allocations: 0 / 0.5861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004116/0.1826, allocations: 307.4 kB / 0.5864 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.1826, allocations: 3.984 kB / 0.5864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.1827, allocations: 19.91 kB / 0.5865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.183, allocations: 191.7 kB / 0.5866 GB, free: 1.992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.183, allocations: 0 / 0.5866 GB, free: 1.992 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.183, allocations: 4 kB / 0.5866 GB, free: 1.988 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.183, allocations: 0 / 0.5866 GB, free: 1.988 MB / 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.0005804/0.1836, allocations: 371.7 kB / 0.587 GB, free: 1.578 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1836, allocations: 12.03 kB / 0.587 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004635/0.1841, allocations: 64.84 kB / 0.5871 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1842, allocations: 168.3 kB / 0.5872 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.1842, allocations: 384 / 0.5872 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.1843, allocations: 384 / 0.5872 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.1846, allocations: 93.88 kB / 0.5873 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1846, allocations: 4 kB / 0.5873 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1846, allocations: 0 / 0.5873 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1846, allocations: 3.938 kB / 0.5873 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.185, allocations: 99.83 kB / 0.5874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.1856, allocations: 300.8 kB / 0.5877 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.1859, allocations: 94.48 kB / 0.5878 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.1862, allocations: 56.88 kB / 0.5879 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.1862, allocations: 3.938 kB / 0.5879 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1862, allocations: 30.56 kB / 0.5879 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1862, allocations: 0 / 0.5879 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007208/0.1869, allocations: 165.5 kB / 0.588 GB, free: 392 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.187, allocations: 55.53 kB / 0.5881 GB, free: 324 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.869e-05/0.1871, allocations: 97.86 kB / 0.5882 GB, free: 216 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1871, allocations: 29.7 kB / 0.5882 GB, free: 180 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.1871, allocations: 84.12 kB / 0.5883 GB, free: 92 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.1872, allocations: 3.906 kB / 0.5883 GB, free: 88 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.1872, allocations: 17.72 kB / 0.5883 GB, free: 64 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1873, allocations: 314.8 kB / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.1876, allocations: 47.94 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.1878, allocations: 47.89 kB / 0.5887 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.1881, allocations: 96.77 kB / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1881, allocations: 0 / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004241/0.1886, allocations: 121.5 kB / 0.5889 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1886, allocations: 10.03 kB / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1886, allocations: 3.984 kB / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.1886, allocations: 0 / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.1888, allocations: 15.98 kB / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1888, allocations: 3.984 kB / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1889, allocations: 20.02 kB / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1889, allocations: 0 / 0.589 GB, free: 15.38 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.343e-05/0.189, allocations: 121.7 kB / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.1891, allocations: 0 / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.1891, allocations: 7.359 kB / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1891, allocations: 0 / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1891, allocations: 12 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1891, allocations: 7.922 kB / 0.5891 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.1893, allocations: 173.6 kB / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1893, allocations: 0 / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.1894, allocations: 15.98 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1895, allocations: 0 / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1895, allocations: 3.984 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1895, allocations: 4 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1895, allocations: 0 / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.19, allocations: 223.4 kB / 0.5895 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.19, allocations: 81.02 kB / 0.5896 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.19, allocations: 3.938 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.1902, allocations: 15.98 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.1902, allocations: 7.922 kB / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.1903, allocations: 4.031 kB / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.737e-05/0.1903, allocations: 83.28 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1903, allocations: 0 / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002394/0.1905, allocations: 15.98 kB / 0.5897 GB, free: 14.52 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.0001587/0.1907, allocations: 103.2 kB / 0.5898 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004497/0.1912, allocations: 99.89 kB / 0.5899 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1912, allocations: 0 / 0.5899 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.1914, allocations: 48.02 kB / 0.59 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1917, allocations: 13.2 kB / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005474/0.1923, allocations: 167.2 kB / 0.5901 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.1925, allocations: 0.6809 MB / 0.5908 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.375e-05/0.1926, allocations: 11.98 kB / 0.5908 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.1926, allocations: 11.44 kB / 0.5908 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.1927, allocations: 0 / 0.5908 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.002748/0.1954, allocations: 0.7297 MB / 0.5915 GB, free: 12.61 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)