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.001573/0.001573, allocations: 108.8 kB / 16.41 MB, free: 6.496 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.001594/0.001594, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8809/0.8809, allocations: 135.2 MB / 426.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 73.27 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1628, allocations: 80.93 MB / 0.6654 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002835/0.1656, allocations: 1.427 MB / 0.6668 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.167, allocations: 0.8068 MB / 0.6675 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.572e-05/0.167, allocations: 0 / 0.6675 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.1671, allocations: 3.938 kB / 0.6675 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/0.1671, allocations: 3.938 kB / 0.6676 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.1676, allocations: 131.5 kB / 0.6677 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.594e-05/0.1677, allocations: 35.86 kB / 0.6677 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.1678, allocations: 7.984 kB / 0.6677 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.05e-05/0.1679, allocations: 8 kB / 0.6677 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.1679, allocations: 23.91 kB / 0.6678 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.1679, allocations: 4 kB / 0.6678 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000495/0.1684, allocations: 319.3 kB / 0.6681 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.1685, allocations: 8 kB / 0.6681 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.1685, allocations: 11.92 kB / 0.6681 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.1688, allocations: 207.5 kB / 0.6683 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1688, allocations: 0 / 0.6683 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1688, allocations: 0 / 0.6683 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.1689, allocations: 0 / 0.6683 GB, free: 2.73 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.0006147/0.1695, allocations: 375 kB / 0.6686 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.1695, allocations: 13.09 kB / 0.6686 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004601/0.17, allocations: 64.86 kB / 0.6687 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.1701, allocations: 168.3 kB / 0.6689 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.1702, allocations: 4.375 kB / 0.6689 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.1702, allocations: 4.375 kB / 0.6689 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.1705, allocations: 85.94 kB / 0.669 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1705, allocations: 0 / 0.669 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1705, allocations: 3.984 kB / 0.669 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1705, allocations: 7.875 kB / 0.669 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.171, allocations: 91.91 kB / 0.6691 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.1715, allocations: 300.8 kB / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/0.1719, allocations: 90.5 kB / 0.6694 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.1722, allocations: 56.88 kB / 0.6695 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.1722, allocations: 0 / 0.6695 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1722, allocations: 34.5 kB / 0.6695 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.1722, allocations: 0 / 0.6695 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007538/0.1729, allocations: 165.6 kB / 0.6697 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.173, allocations: 55.41 kB / 0.6697 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.904e-05/0.1731, allocations: 101.8 kB / 0.6698 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1731, allocations: 29.7 kB / 0.6699 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.1732, allocations: 80.14 kB / 0.6699 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1732, allocations: 11.89 kB / 0.6699 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.1732, allocations: 13.72 kB / 0.67 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1734, allocations: 322.9 kB / 0.6703 GB, free: 492 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.1736, allocations: 39.95 kB / 0.6703 GB, free: 452 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.1738, allocations: 47.95 kB / 0.6703 GB, free: 404 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004679/0.1743, allocations: 96.7 kB / 0.6704 GB, free: 304 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.1743, allocations: 256 / 0.6704 GB, free: 304 kB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004673/0.1748, allocations: 129.5 kB / 0.6706 GB, free: 168 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1748, allocations: 4 kB / 0.6706 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1748, allocations: 4 kB / 0.6706 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1748, allocations: 0 / 0.6706 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.175, allocations: 24 kB / 0.6706 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.175, allocations: 4 kB / 0.6706 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.1751, allocations: 11.98 kB / 0.6706 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1751, allocations: 3.984 kB / 0.6706 GB, free: 116 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 0.0001169/0.1752, allocations: 117.8 kB / 0.6707 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.1752, allocations: 0 / 0.6707 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.1753, allocations: 11.12 kB / 0.6707 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1753, allocations: 3.938 kB / 0.6707 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1753, allocations: 0 / 0.6707 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1753, allocations: 3.938 kB / 0.6707 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.1755, allocations: 177.5 kB / 0.6709 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1755, allocations: 0 / 0.6709 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.1756, allocations: 19.97 kB / 0.6709 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1756, allocations: 0 / 0.6709 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1757, allocations: 4 kB / 0.6709 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1757, allocations: 4 kB / 0.6709 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1757, allocations: 0 / 0.6709 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/0.1762, allocations: 219.4 kB / 0.6711 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.1762, allocations: 81.06 kB / 0.6712 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.1762, allocations: 0 / 0.6712 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.1764, allocations: 19.97 kB / 0.6712 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.1764, allocations: 4.031 kB / 0.6712 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.1764, allocations: 4 kB / 0.6713 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.255e-05/0.1765, allocations: 87.27 kB / 0.6713 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1765, allocations: 3.938 kB / 0.6713 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000243/0.1767, allocations: 8 kB / 0.6713 GB, free: 15.26 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.0001885/0.1769, allocations: 111.2 kB / 0.6715 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004869/0.1774, allocations: 95.89 kB / 0.6715 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1774, allocations: 0 / 0.6715 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.1776, allocations: 48.02 kB / 0.6716 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.1779, allocations: 21.89 kB / 0.6716 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.1786, allocations: 183.1 kB / 0.6718 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.1789, allocations: 0.6767 MB / 0.6724 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.179, allocations: 15.42 kB / 0.6725 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.179, allocations: 4 kB / 0.6725 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of Templates: time 0.002725/0.1817, allocations: 0.8913 MB / 0.6733 GB, free: 13.16 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)