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.005745/0.005745, allocations: 100.4 kB / 15.73 MB, free: 6.008 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.001266/0.001266, allocations: 198.8 kB / 16.68 MB, free: 5.926 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.773/0.773, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.59 kB / 0.5856 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1779, allocations: 80.93 MB / 0.6647 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002448/0.1803, allocations: 1.419 MB / 0.666 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1816, allocations: 0.7913 MB / 0.6668 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.1816, allocations: 4 kB / 0.6668 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.1816, allocations: 0 / 0.6668 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.1817, allocations: 11.92 kB / 0.6668 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.1822, allocations: 123.5 kB / 0.6669 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.933e-05/0.1822, allocations: 39.84 kB / 0.667 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.1823, allocations: 8 kB / 0.667 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.47e-05/0.1824, allocations: 19.98 kB / 0.667 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.585e-05/0.1825, allocations: 15.92 kB / 0.667 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.1825, allocations: 7.938 kB / 0.667 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.1829, allocations: 323.3 kB / 0.6673 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.1829, allocations: 3.984 kB / 0.6673 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.1829, allocations: 7.938 kB / 0.6673 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.1833, allocations: 203.6 kB / 0.6675 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1833, allocations: 4 kB / 0.6675 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1833, allocations: 0 / 0.6675 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1833, allocations: 0 / 0.6675 GB, free: 2.801 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.0005587/0.1838, allocations: 375.5 kB / 0.6679 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1839, allocations: 9.109 kB / 0.6679 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004358/0.1843, allocations: 68.84 kB / 0.668 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.1845, allocations: 164.3 kB / 0.6681 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.1845, allocations: 4.375 kB / 0.6681 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.1845, allocations: 384 / 0.6681 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.1848, allocations: 97.86 kB / 0.6682 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1848, allocations: 0 / 0.6682 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1848, allocations: 0 / 0.6682 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1849, allocations: 3.938 kB / 0.6682 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003919/0.1852, allocations: 95.89 kB / 0.6683 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.1858, allocations: 304.8 kB / 0.6686 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.1861, allocations: 98.44 kB / 0.6687 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.1863, allocations: 48.86 kB / 0.6688 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.1864, allocations: 3.984 kB / 0.6688 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1864, allocations: 42.56 kB / 0.6688 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1864, allocations: 0 / 0.6688 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0006535/0.1871, allocations: 157.6 kB / 0.669 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.1871, allocations: 55.39 kB / 0.669 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.417e-05/0.1872, allocations: 97.86 kB / 0.6691 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1872, allocations: 29.83 kB / 0.6691 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.1873, allocations: 92.08 kB / 0.6692 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.1873, allocations: 7.891 kB / 0.6692 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.1873, allocations: 13.72 kB / 0.6692 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1875, allocations: 314.8 kB / 0.6695 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.1877, allocations: 43.95 kB / 0.6696 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.1879, allocations: 47.94 kB / 0.6696 GB, free: 468 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.1882, allocations: 92.77 kB / 0.6697 GB, free: 372 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1882, allocations: 0 / 0.6697 GB, free: 372 kB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003927/0.1886, allocations: 121.6 kB / 0.6698 GB, free: 244 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1886, allocations: 8 kB / 0.6698 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1886, allocations: 0 / 0.6698 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1887, allocations: 0 / 0.6698 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.1888, allocations: 27.91 kB / 0.6699 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1888, allocations: 3.938 kB / 0.6699 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.1889, allocations: 19.97 kB / 0.6699 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.189, allocations: 4 kB / 0.6699 GB, free: 180 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 (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 7.47e-05/0.189, allocations: 109.8 kB / 0.67 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.1891, allocations: 4 kB / 0.67 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.1891, allocations: 11.11 kB / 0.67 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1891, allocations: 0 / 0.67 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1891, allocations: 0 / 0.67 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1891, allocations: 3.938 kB / 0.67 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.1893, allocations: 173.5 kB / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1893, allocations: 4 kB / 0.6702 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.1895, allocations: 23.97 kB / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1895, allocations: 0 / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1895, allocations: 0 / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1895, allocations: 3.984 kB / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1895, allocations: 256 / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.1899, allocations: 219.3 kB / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.19, allocations: 85.12 kB / 0.6705 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.19, allocations: 8 kB / 0.6705 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.1901, allocations: 11.98 kB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.1902, allocations: 7.984 kB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.1902, allocations: 0 / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.506e-05/0.1902, allocations: 83.28 kB / 0.6706 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1903, allocations: 0 / 0.6706 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002284/0.1905, allocations: 16 kB / 0.6706 GB, free: 15.33 MB / 0.5137 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.0001527/0.1906, allocations: 108.6 kB / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004259/0.1911, allocations: 95.91 kB / 0.6708 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1911, allocations: 0 / 0.6708 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.1913, allocations: 55.94 kB / 0.6709 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.1916, allocations: 7.031 kB / 0.6709 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005231/0.1921, allocations: 169.3 kB / 0.671 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.1924, allocations: 0.6768 MB / 0.6717 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.912e-05/0.1924, allocations: 8 kB / 0.6717 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.1925, allocations: 7.438 kB / 0.6717 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.1925, allocations: 0 / 0.6717 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of Templates: time 0.002793/0.1953, allocations: 0.819 MB / 0.6725 GB, free: 13.34 MB / 0.5137 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)