Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005988/0.005988, allocations: 99.62 kB / 15.73 MB, free: 6.043 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.001375/0.001375, allocations: 191.7 kB / 16.67 MB, free: 5.957 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.387/1.387, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8739/0.8739, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.31 kB / 0.5813 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1692, allocations: 80.21 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002676/0.1719, allocations: 1.439 MB / 0.6611 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1732, allocations: 0.7913 MB / 0.6618 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/0.1733, allocations: 0 / 0.6618 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.557e-05/0.1733, allocations: 3.938 kB / 0.6619 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.83e-05/0.1734, allocations: 7.938 kB / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.174, allocations: 123.5 kB / 0.662 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.524e-05/0.1741, allocations: 43.78 kB / 0.662 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1742, allocations: 11.98 kB / 0.662 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.711e-05/0.1743, allocations: 11.98 kB / 0.662 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.358e-05/0.1744, allocations: 23.92 kB / 0.6621 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.1744, allocations: 4 kB / 0.6621 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005218/0.1749, allocations: 319.3 kB / 0.6624 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.175, allocations: 3.984 kB / 0.6624 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.175, allocations: 11.94 kB / 0.6624 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.1753, allocations: 207.5 kB / 0.6626 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1753, allocations: 0 / 0.6626 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.416e-06/0.1753, allocations: 4 kB / 0.6626 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.1754, allocations: 0 / 0.6626 GB, free: 7.242 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.0005858/0.1759, allocations: 375.5 kB / 0.6629 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.176, allocations: 8.031 kB / 0.663 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/0.1765, allocations: 68.84 kB / 0.663 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.1766, allocations: 164.3 kB / 0.6632 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.1767, allocations: 384 / 0.6632 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.1767, allocations: 4.375 kB / 0.6632 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.177, allocations: 93.92 kB / 0.6633 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.177, allocations: 0 / 0.6633 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.177, allocations: 0 / 0.6633 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1771, allocations: 3.938 kB / 0.6633 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.1775, allocations: 95.83 kB / 0.6634 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/0.1781, allocations: 304.8 kB / 0.6637 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.1785, allocations: 90.5 kB / 0.6637 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.1788, allocations: 48.88 kB / 0.6638 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1788, allocations: 0 / 0.6638 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.1788, allocations: 38.55 kB / 0.6638 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1788, allocations: 4 kB / 0.6638 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007577/0.1796, allocations: 161.5 kB / 0.664 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.1797, allocations: 51.41 kB / 0.664 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.796e-05/0.1798, allocations: 109.8 kB / 0.6641 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.1798, allocations: 25.83 kB / 0.6642 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.1799, allocations: 88.14 kB / 0.6642 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.1799, allocations: 7.906 kB / 0.6643 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.1799, allocations: 13.7 kB / 0.6643 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1801, allocations: 318.8 kB / 0.6646 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.1803, allocations: 43.95 kB / 0.6646 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.1805, allocations: 43.95 kB / 0.6647 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.1809, allocations: 92.77 kB / 0.6647 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1809, allocations: 7.922 kB / 0.6648 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004416/0.1814, allocations: 121.6 kB / 0.6649 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1814, allocations: 11.97 kB / 0.6649 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1814, allocations: 0 / 0.6649 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1814, allocations: 0 / 0.6649 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.1816, allocations: 19.97 kB / 0.6649 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-06/0.1816, allocations: 4 kB / 0.6649 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.1817, allocations: 15.97 kB / 0.6649 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1817, allocations: 4 kB / 0.6649 GB, free: 4.629 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.253e-05/0.1818, allocations: 113.8 kB / 0.665 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.1819, allocations: 3.906 kB / 0.665 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.1819, allocations: 11.12 kB / 0.665 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1819, allocations: 0 / 0.665 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1819, allocations: 3.984 kB / 0.665 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1819, allocations: 3.938 kB / 0.6651 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.1821, allocations: 169.6 kB / 0.6652 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1821, allocations: 0 / 0.6652 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1823, allocations: 23.97 kB / 0.6652 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1823, allocations: 3.938 kB / 0.6652 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1823, allocations: 4 kB / 0.6652 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.1823, allocations: 0 / 0.6652 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1823, allocations: 0 / 0.6652 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.1828, allocations: 219.4 kB / 0.6655 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.1829, allocations: 81.14 kB / 0.6655 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.1829, allocations: 3.984 kB / 0.6655 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1831, allocations: 15.98 kB / 0.6656 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.1831, allocations: 3.984 kB / 0.6656 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.1831, allocations: 4 kB / 0.6656 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.731e-05/0.1832, allocations: 87.53 kB / 0.6656 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1832, allocations: 0 / 0.6656 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002448/0.1834, allocations: 8 kB / 0.6656 GB, free: 3.785 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.0001629/0.1836, allocations: 115.2 kB / 0.6658 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004816/0.1841, allocations: 99.84 kB / 0.6659 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1841, allocations: 0 / 0.6659 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.1843, allocations: 47.94 kB / 0.6659 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.1846, allocations: 16.05 kB / 0.6659 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005776/0.1852, allocations: 161.3 kB / 0.6661 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.1855, allocations: 0.6768 MB / 0.6667 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.696e-05/0.1856, allocations: 8 kB / 0.6667 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.1856, allocations: 11.44 kB / 0.6667 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1856, allocations: 3.938 kB / 0.6668 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.002861/0.1885, allocations: 0.8249 MB / 0.6676 GB, free: 1.777 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)