Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007402/0.007401, allocations: 101.8 kB / 15.88 MB, free: 5.871 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.001737/0.001737, allocations: 192.2 kB / 16.79 MB, free: 5.816 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.417/1.417, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9/0.9, allocations: 135.1 MB / 425.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 68.27 kB / 0.5053 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.156, allocations: 80.92 MB / 0.5844 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002366/0.1584, allocations: 0.6738 MB / 0.585 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002584/0.161, allocations: 1.472 MB / 0.5865 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.161, allocations: 0 / 0.5865 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.1611, allocations: 3.938 kB / 0.5865 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.23e-05/0.1612, allocations: 7.984 kB / 0.5865 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.1616, allocations: 95.69 kB / 0.5866 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.695e-05/0.1617, allocations: 23.92 kB / 0.5866 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.1618, allocations: 4 kB / 0.5866 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.474e-05/0.1618, allocations: 15.92 kB / 0.5866 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.992e-05/0.1619, allocations: 19.92 kB / 0.5866 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1619, allocations: 0 / 0.5866 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006014/0.1626, allocations: 323.3 kB / 0.5869 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.1626, allocations: 7.938 kB / 0.5869 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.1626, allocations: 15.86 kB / 0.5869 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.1629, allocations: 128.1 kB / 0.5871 GB, free: 2.191 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1629, allocations: 0 / 0.5871 GB, free: 2.191 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1629, allocations: 0 / 0.5871 GB, free: 2.191 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1629, allocations: 0 / 0.5871 GB, free: 2.191 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006055/0.1635, allocations: 387.3 kB / 0.5874 GB, free: 1.766 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1636, allocations: 12.03 kB / 0.5875 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004716/0.1641, allocations: 52.86 kB / 0.5875 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.1643, allocations: 180.3 kB / 0.5877 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1643, allocations: 384 / 0.5877 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.1643, allocations: 4.312 kB / 0.5877 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.1647, allocations: 81.89 kB / 0.5878 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1647, allocations: 0 / 0.5878 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.1647, allocations: 8 kB / 0.5878 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.1647, allocations: 4 kB / 0.5878 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.1652, allocations: 71.91 kB / 0.5878 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002332/0.1655, allocations: 169.7 kB / 0.588 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007498/0.1662, allocations: 122.5 kB / 0.5881 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.1665, allocations: 48.94 kB / 0.5882 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.1665, allocations: 7.922 kB / 0.5882 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.1666, allocations: 34.5 kB / 0.5882 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.1666, allocations: 0 / 0.5882 GB, free: 0.8711 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.005467/0.172, allocations: 0.7913 MB / 0.589 GB, free: 80 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.1721, allocations: 59.41 kB / 0.589 GB, free: 8 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.1723, allocations: 117.8 kB / 0.5891 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1723, allocations: 25.7 kB / 0.5892 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.1723, allocations: 92.12 kB / 0.5893 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.1724, allocations: 27.56 kB / 0.5893 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/0.1725, allocations: 25.7 kB / 0.5893 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.1726, allocations: 318.8 kB / 0.5896 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.173, allocations: 99.89 kB / 0.5897 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.1734, allocations: 95.91 kB / 0.5898 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000774/0.1742, allocations: 188.7 kB / 0.59 GB, free: 15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1742, allocations: 0 / 0.59 GB, free: 15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00108/0.1753, allocations: 249.3 kB / 0.5902 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.1754, allocations: 10.33 kB / 0.5902 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1754, allocations: 384 / 0.5902 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1754, allocations: 0 / 0.5902 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.1758, allocations: 59.88 kB / 0.5903 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1758, allocations: 0 / 0.5903 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.1762, allocations: 43.89 kB / 0.5903 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.1762, allocations: 4 kB / 0.5903 GB, free: 14.64 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 (9): * Single equations (assignments): 9 * 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.0001256/0.1763, allocations: 117.8 kB / 0.5904 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.1764, allocations: 4.656 kB / 0.5904 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.448e-05/0.1764, allocations: 12.38 kB / 0.5905 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.1765, allocations: 7.922 kB / 0.5905 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1765, allocations: 0 / 0.5905 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1765, allocations: 0 / 0.5905 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.1788, allocations: 0.5936 MB / 0.591 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.1788, allocations: 7.938 kB / 0.5911 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/0.1792, allocations: 56 kB / 0.5911 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1792, allocations: 0 / 0.5911 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.1792, allocations: 8 kB / 0.5911 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.1793, allocations: 0 / 0.5911 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1793, allocations: 0 / 0.5911 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.1806, allocations: 344.8 kB / 0.5914 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.1807, allocations: 85.02 kB / 0.5915 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.1807, allocations: 7.984 kB / 0.5915 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.1811, allocations: 35.95 kB / 0.5916 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.1812, allocations: 11.92 kB / 0.5916 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.1812, allocations: 8 kB / 0.5916 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.279e-05/0.1813, allocations: 95.27 kB / 0.5917 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.1813, allocations: 0 / 0.5917 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004529/0.1818, allocations: 32 kB / 0.5917 GB, free: 13.11 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0003027/0.1821, allocations: 135.2 kB / 0.5918 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.1833, allocations: 207.7 kB / 0.592 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1833, allocations: 4 kB / 0.592 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005779/0.1839, allocations: 104 kB / 0.5921 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1843, allocations: 8 kB / 0.5921 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.1863, allocations: 438 kB / 0.5926 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.1866, allocations: 0.6887 MB / 0.5932 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.1867, allocations: 19.42 kB / 0.5933 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.1867, allocations: 3.938 kB / 0.5933 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.004187/0.1909, allocations: 1.431 MB / 0.5947 GB, free: 10.02 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)